Sie sind auf Seite 1von 6

Configuracion switch1

Switch>
Switch>ena
Switch#config term
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#config term
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#inter
Switch(config)#interface ?
Ethernet IEEE 802.3
FastEthernet FastEthernet IEEE 802.3
GigabitEthernet GigabitEthernet IEEE 802.3z
Port-channel Ethernet Channel of interfaces
Vlan Catalyst Vlans
range interface range command
Switch(config)#range?
% Unrecognized command
Switch(config)#range
^
% Invalid input detected at '^' marker.
Switch(config)#vlan 30
Switch(config-vlan)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#interface g0/1
^
% Invalid input detected at '^' marker.
Switch#interface gi0/1
^
% Invalid input detected at '^' marker.
Switch#interface g/0/1
^
% Invalid input detected at '^' marker.
Switch#interface g
Switch#interface g0/1
^
% Invalid input detected at '^' marker.
Switch#interface fa0/1
^
% Invalid input detected at '^' marker.
Switch#interface f0/1
^
% Invalid input detected at '^' marker.
Switch#interface fa0/1
^
% Invalid input detected at '^' marker.
Switch#in
Switch#inter
Switch#interface fa0/1
^
% Invalid input detected at '^' marker.
Switch#config term
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fa0/1
Switch(config-if)#sw
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to
down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to


up

Switch(config-if)#swit
Switch(config-if)#switchport trunk native vlan 10
Switch(config-if)#sw
Switch(config-if)#switchport por
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).

Switch(config-if)#switchport port trunk allowe


Switch(config-if)#switchport port trunk allowed vlan 10
^
% Invalid input detected at '^' marker.
Switch(config-if)#switchport trunk allowed vlan 10
Switch(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).
end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#config term
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface gi0/1
Switch(config-if)#swi
Switch(config-if)#switchport
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).

% Incomplete command.
Switch(config-if)#
Switch(config-if)#swit
Switch(config-if)#switchport mode trunk
Switch(config-if)#sw
Switch(config-if)#switchport port trunk native valan 30
^
% Invalid input detected at '^' marker.
Switch(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).
switchport port trunk native valan 30
^
% Invalid input detected at '^' marker.
Switch(config-if)#switchport trunk native vlan 30
Switch(config-if)#swi
Switch(config-if)#switchport port trunk allowed vlan 30
^
% Invalid input detected at '^' marker.
Switch(config-if)#switchport port trunk allowed vlan 30
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).

^
% Invalid input detected at '^' marker.
Switch(config-if)#
Switch(config-if)#switchport trunk allowed vlan 30
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on


FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).
Verification interfaz troncal

Switch#show interfaces g0/1


Switch#show interfaces g0/1 switchport
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).

Name: Gig0/1
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 30 (VLAN0030)
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL
Protected: false
--More--
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).

Vlan admnistrativa

witch(config)#interface vlan 99
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up

Switch(config-if)#ip address 192.168.2.1 255.255.255.0


Switch(config-if)#no shut
Switch(config-if)#no shutdown
Switch(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on
FastEthernet0/1 (10), with Switch FastEthernet0/1 (1).

Preguntas 2

Se configuro el enlace troncal dinámico en un switch y automáticamente en el otro switch


queda configurado en esto modo debido a las características de los sw cisco.

2
1) la razón de crear vlans es segmentar redes.

3) Porque garantiza tener el tráfico por separado lo que brinda calidad de servicio (QOS)

Das könnte Ihnen auch gefallen