- The document configures VLANs 10, 20, 30, and 99 on switches S1, S2, and S3 and assigns ports on each switch to the appropriate VLANs.
- Trunk ports are configured on S1 with FastEthernet 0/1 and 0/3 configured as trunk ports with VLAN 99 as the native VLAN.
- The document configures VLANs 10, 20, 30, and 99 on switches S1, S2, and S3 and assigns ports on each switch to the appropriate VLANs.
- Trunk ports are configured on S1 with FastEthernet 0/1 and 0/3 configured as trunk ports with VLAN 99 as the native VLAN.
- The document configures VLANs 10, 20, 30, and 99 on switches S1, S2, and S3 and assigns ports on each switch to the appropriate VLANs.
- Trunk ports are configured on S1 with FastEthernet 0/1 and 0/3 configured as trunk ports with VLAN 99 as the native VLAN.
- The document configures VLANs 10, 20, 30, and 99 on switches S1, S2, and S3 and assigns ports on each switch to the appropriate VLANs.
- Trunk ports are configured on S1 with FastEthernet 0/1 and 0/3 configured as trunk ports with VLAN 99 as the native VLAN.
Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ S1#config t Enter configuration commands, one per line. End with CNTL/Z. S1(config)#vlan 10 S1(config-vlan)#name Faculty/Staff S1(config-vlan)#vlan 20 S1(config-vlan)#name Students S1(config-vlan)#vlan 30 S1(config-vlan)#name Guest(Default) S1(config-vlan)#vlan 99 S1(config-vlan)# %LINK-5-CHANGED: Interface Vlan99, changed state to up
S1(config-vlan)#name Management&Native S1(config-vlan)#end %SYS-5-CONFIG_I: Configured from console by console
S1#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest(Default) active 99 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S2#config term Enter configuration commands, one per line. End with CNTL/Z. S2(config)#vlan 10 S2(config-vlan)#name Faculty/Staff S2(config-vlan)#vlan 20 S2(config-vlan)#name Students S2(config-vlan)#vlan 30 S2(config-vlan)#name Guest(Default) S2(config-vlan)#vlan 99 S2(config-vlan)# %LINK-5-CHANGED: Interface Vlan99, changed state to up
S2(config-vlan)#name Management&Native S2(config-vlan)#end S2# %SYS-5-CONFIG_I: Configured from console by console
S2#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest(Default) active 99 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S3(config)#vlan 10 S3(config-vlan)#name Faculty/Staff S3(config-vlan)#vlan 20 S3(config-vlan)#name Students S3(config-vlan)#vlan 30 S3(config-vlan)#name Guest(Default) S3(config-vlan)#vlan 99 S3(config-vlan)# %LINK-5-CHANGED: Interface Vlan99, changed state to up S3(config-vlan)#name Management&Native S3(config-vlan)#end
S3#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest(Default) active 99 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S1#show interface trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 99 Fa0/2 on 802.1q trunking 99
Port Vlans allowed on trunk Fa0/1 1-1005 Fa0/2 1-1005
Port Vlans allowed and active in management domain Fa0/1 1,10,20,30,99 Fa0/2 1,10,20,30,99
Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1,10,20,30,99 Fa0/2 none S1# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (99), with S2 FastEthernet0/1 (1).
S2(config)#inter fa0/1 S2(config-if)#switchport mode trunk S2(config-if)#switchport trunk native vlan 99 S2(config-if)#%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/1 on VLAN0099. Port consistency restored.
%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/1 on VLAN0001. Port consistency restored.
S2(config-if)#end S2# %SYS-5-CONFIG_I: Configured from console by console
S2#show interface trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 99
Port Vlans allowed on trunk Fa0/1 1-1005
Port Vlans allowed and active in management domain Fa0/1 1,10,20,30,99
Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1,10,20,30,99
S3(config)#inter fa 0/2 S3(config-if)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S1 FastEthernet0/2 (99). S3(config-if)#switchport mode trunk S3(config-if)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S1 FastEthernet0/2 (99). S3(config-if)#switchport mode trunk S3(config-if)#switchport trunk native vlan 99 S3(config-if)#en%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/2 on VLAN0099. Port consistency restored.
%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/2 on VLAN0001. Port consistency restored.
d S3# %SYS-5-CONFIG_I: Configured from console by console
S3#show interface trunk Port Mode Encapsulation Status Native vlan Fa0/2 on 802.1q trunking 99
Port Vlans allowed on trunk Fa0/2 1-1005
Port Vlans allowed and active in management domain Fa0/2 1,10,20,30,99
Port Vlans in spanning tree forwarding state and not pruned Fa0/2 10,20,30
S1#ping 172.17.99.12
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.17.99.12, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
S1#ping 172.17.99.13
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.17.99.13, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
Actividad PT 3.5.2: Desafo de configuracin de VLAN
Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname S1 S1(config)# S1(config)#enable secret class S1(config)#line console 0 S1(config-line)#pass cisco S1(config-line)#login S1(config-line)#line vty 0 4 S1(config-line)#pass cisco S1(config-line)#exit S1(config)#no ip dom S1(config)#no ip domain lookup S1(config)#vlan 56 S1(config-vlan)#name Management&Native S1(config-vlan)#exit S1(config)#vlan 10 S1(config-vlan)#name Faculty/Staff S1(config-vlan)#exit S1(config)#vlan 20 S1(config-vlan)#name Students S1(config-vlan)#exit S1(config)#vlan 30 S1(config-vlan)#name Guest(Default) S1(config-vlan)#exit S1(config-if)#inter vlan 56 S1(config-if)#ip add 192.168.56.11 255.255.255.0 S1(config-if)#no shutdown S1(config-if)# S1(config-if)#inter fa0/1 S1(config-if)#switchport mode trunk %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
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan56, changed state to up
S1(config-if)#switchport trunk native vlan 56 S1(config-if)# S1(config-if)#inter fa0/2 S1(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up S1(config-if)#switchport trunk native vlan 56 S1(config-if)#end S1# %SYS-5-CONFIG_I: Configured from console by console
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (56), with Switch FastEthernet0/1 (1).
S1#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig1/1, Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest(Default) active 56 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S1# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (99), with Switch FastEthernet0/2 (1).
S1#show inter trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 56 Fa0/2 on 802.1q trunking 56
Port Vlans allowed on trunk Fa0/1 1-1005 Fa0/2 1-1005
Port Vlans allowed and active in management domain Fa0/1 1,10,20,30,56 Fa0/2 1,10,20,30,56
Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1,10,20,30,56 Fa0/2 1,10,20,30,56 S1# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (56), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (56), with Switch FastEthernet0/2 (1). S1#config t %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (56), with Switch FastEthernet0/1 (1).
S2(config)#enable secret class S2(config)#line console 0 S2(config-line)#pass cisco S2(config-line)#login S2(config-line)#exit S2(config)#line vty 0 4 %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S1 FastEthernet0/1 (56).
S2(config-line)#pass cisco S2(config-line)#login S2(config-line)#exit S2(config)#no ip domain lookup S2(config)#vlan 56 %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S1 FastEthernet0/1 S2(config-vlan)#name Management&Native S2(config-vlan)#exit S2(config)#vlan 10 S2(config-vlan)#name Faculty/Staff S2(config-vlan)#exit S2(config)#vlan 20 S2(config-vlan)#name Students S2(config-vlan)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S1 FastEthernet0/1 (56).
S2(config-vlan)#exit S2(config)#vlan 30 S2(config-vlan)#name Guest(default) S2(config-vlan)#exit S2(config)# S2(config)#inter vlan 56 S2(config-if)# %LINK-5-CHANGED: Interface Vlan56, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan56, changed state to up
S2(config-if)#ip add 192.168.56.12 255.255.255.0 %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S1 FastEthernet0/1 (56). shutdown
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S1 FastEthernet0/1 (56).
S2# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S1 FastEthernet0/1 (56).
S2#config term Enter configuration commands, one per line. End with CNTL/Z. S2(config)#inter fa0/1 S2(config-if)#switchport mode trunk S2(config-if)#switchport trunk native vlan 56 S2(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
S2#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/12, Fa0/13, Fa0/14, Fa0/15 Fa0/16, Fa0/17, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 10 Faculty/Staff active Fa0/11 20 Students active Fa0/18 30 Guest(Default) active Fa0/6 56 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S2#show inter trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 56
Port Vlans allowed on trunk Fa0/1 1-1005
Port Vlans allowed and active in management domain Fa0/1 1,10,20,30,56
Port Vlans in spanning tree forwarding state and not pruned Fa0/1 10,20,30,56 Switch(config)#hostname S3 S3(config)# S3(config)#enable secret class S3(config)#line console 0 %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S1 FastEthernet0/2 (56).
S3(config-line)#pass cisco S3(config-line)#login S3(config-line)#exit S3(config)#line vty 0 4 S3(config-line)#pass cisco S3(config-line)#login S3(config-line)#exit S3(config)#no ip domain lookup S3(config)# S3(config)#vlan 56 %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S1 FastEthernet0 S3(config-vlan)#name Management&Native S3(config-vlan)#exit S3(config)#vlan 10 S3(config-vlan)#name Faculty/Staff S3(config-vlan)#exit S3(config)#vlan 20 S3(config-vlan)#name Students S3(config-vlan)#exit S3(config)# %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S1 FastEthernet0/2 (56).
S3(config)#vlan 30 S3(config-vlan)#name Guest(Default) S3(config-vlan)#exit S3(config)# S3(config)#inter fa0/6 %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S1 FastEthernet0/2 (56).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S1 FastEthernet0/2 (56).
S3(config-if)# S3(config-if)#inter fa0/2 S3(config-if)#sw S3(config-if)#switchport mode trunk S3(config-if)#switchport trunk native vlan 56 S3(config-if)#end S3# %SYS-5-CONFIG_I: Configured from console by console
S3#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/3, Fa0/4, Fa0/5 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/12, Fa0/13, Fa0/14, Fa0/15 Fa0/16, Fa0/17, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 10 Faculty/Staff active Fa0/11 20 Students active Fa0/18 30 Guest(Default) active Fa0/6 56 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S3#show interface trunk Port Mode Encapsulation Status Native vlan Fa0/2 on 802.1q trunking 56
Port Vlans allowed on trunk Fa0/2 1-1005
Port Vlans allowed and active in management domain Fa0/2 1,10,20,30,56
Port Vlans in spanning tree forwarding state and not pruned Fa0/2 10,20,30,56
Actividad PT 3.5.3: Resolucin de problemas de configuraciones de VLAN
S1#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig1/1, Gig1/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S1(config)#vlan 56 %LINK-5-CHANGED: Interface Vlan56, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan56, changed state to up
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S3 FastEthernet0/2 (56).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S2 FastEthernet0/1 (56 S1(config-vlan)#name Management&Native S1(config-vlan)#exit S1(config)#vlan 10 S1(config-vlan)#name Faculty/Staff %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with S3 FastEthernet0/2 (56).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1), with S2 FastEthernet0/1 (56). S1(config-vlan)#exit S1(config)#vlan 20 S1(config-vlan)#name Students S1(config-vlan)#exit S1(config)#vlan 30 S1(config-vlan)#name Guest(Default) S1(config-vlan)#exit
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17, Fa0/18 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig1/1, Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest(Default) active 56 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S1#show inter trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 56 Fa0/2 on 802.1q trunking 56
Port Vlans allowed on trunk Fa0/1 1-1005 Fa0/2 1-1005
Port Vlans allowed and active in management domain Fa0/1 1,10,20,30,56 Fa0/2 1,10,20,30,56
Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1,10,20,30,56 Fa0/2 1,10,20,30,56
S2#show inter trunk
S2# S2# S2#config t Enter configuration commands, one per line. End with CNTL/Z. S2(config)# S2(config)# S2(config)# S2(config)#inter fa0/1 S2(config-if)#switchport mode trunk
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
S2(config-if)#switchport trunk native vlan 56 S2(config-if)#exit S2(config)#end S2# %SYS-5-CONFIG_I: Configured from console by console
S2#show inter trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 56
Port Vlans allowed on trunk Fa0/1 1-1005
Port Vlans allowed and active in management domain Fa0/1 1,10,20,30,56
Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1,10,20,30,56
S3#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest(Default) active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.56.13, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
S1#ping 192.168.56.12
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.56.12, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
PING PC1 A PC4
PING PC2 A PC5
PING PC3 A PC6
PING PC4 A PC1
PING PC5 A PC2
PING PC6 A PC3
CAPITULO 4
Actividad PT 4.3.3: Configurar VTP
S1#show run Building configuration...
Current configuration : 1276 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname S1 ! enable secret 5 $1$n6kA$3hhB8rRv3Z/3EME7s7som1 enable password cisco ! ! ! no ip domain-lookup ! spanning-tree mode pvst ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface GigabitEthernet1/1 ! interface GigabitEthernet1/2 ! interface Vlan1 no ip address shutdown ! interface Vlan99 ip address 172.17.99.31 255.255.255.0 ! banner motd ^C AUTHORIZED ACCESS ONLY ^C ! line con 0 password cisco login ! line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! end
S1#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S2#show run Building configuration...
Current configuration : 1276 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname S2 ! enable secret 5 $1$cJdD$ruUj9RgymakTbAZWzh0in/ enable password cisco ! ! ! no ip domain-lookup ! spanning-tree mode pvst ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface GigabitEthernet1/1 ! interface GigabitEthernet1/2 ! interface Vlan1 no ip address shutdown ! interface Vlan99 ip address 172.17.99.32 255.255.255.0 ! banner motd ^C AUTHORIZED ACCESS ONLY ^C ! line con 0 password cisco login ! line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! end
S2#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S3#show run Building configuration...
Current configuration : 1276 bytes ! version 12.2 no service timestamps log datetime msec no service timestamps debug datetime msec no service password-encryption ! hostname S3 ! enable secret 5 $1$9Han$RnE35tl9zUAsWuBjYhczi1 enable password cisco ! ! ! no ip domain-lookup ! spanning-tree mode pvst ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface GigabitEthernet1/1 ! interface GigabitEthernet1/2 ! interface Vlan1 no ip address shutdown ! interface Vlan99 ip address 172.17.99.33 255.255.255.0 ! banner motd ^C AUTHORIZED ACCESS ONLY ^C ! line con 0 password cisco login ! line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! End S3#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S1(config)#vtp mode server Device mode already VTP SERVER. S1(config)#vtp domain CCNA Changing VTP domain name from NULL to CCNA S1(config)#vtp pass cisco Setting device VLAN database password to cisco S1(config)# S1(config)#end
S1#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 5 VTP Operating Mode : Server VTP Domain Name : CCNA VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x8C 0x29 0x40 0xDD 0x7F 0x7A 0x63 0x17 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 Local updater ID is 0.0.0.0 (no valid interface found)
S2(config)#vtp mode client Setting device to VTP CLIENT mode. S2(config)# S2(config)#vtp domain CCNA Changing VTP domain name from NULL to CCNA S2(config)#vtp pass cisco Setting device VLAN database password to cisco S2(config)# S2(config)#exit S2# %SYS-5-CONFIG_I: Configured from console by console
S2#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 5 VTP Operating Mode : Client VTP Domain Name : CCNA VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x8C 0x29 0x40 0xDD 0x7F 0x7A 0x63 0x17 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 S2#show vtp pass VTP Password: cisco
S3(config)#vtp mode client Setting device to VTP CLIENT mode. S3(config)#vtp domain CCNA Changing VTP domain name from NULL to CCNA S3(config)#vtp pass cisco Setting device VLAN database password to cisco S3(config)# S3(config)#exit S3# %SYS-5-CONFIG_I: Configured from console by console
S3#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 5 VTP Operating Mode : Client VTP Domain Name : CCNA VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x8C 0x29 0x40 0xDD 0x7F 0x7A 0x63 0x17 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 S3#show vtp pass VTP Password: cisco
S1(config)#vlan 10 S1(config-vlan)#name Faculty/Staff S1(config-vlan)#exit S1(config)#vlan 20 S1(config-vlan)#name Students S1(config-vlan)#exit S1(config)#vlan 30 S1(config-vlan)#name Guest(Default) S1(config-vlan)#exit S1(config)#vlan 99 S1(config-vlan)# %LINK-5-CHANGED: Interface Vlan99, changed state to up
S1(config-vlan)#name Management&Native S1(config-vlan)#exit S1(config)#exit S1# %SYS-5-CONFIG_I: Configured from console by console
S1#show vlan brief
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Fa0/24 Gig1/1, Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest(Default) active 99 Management&Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S1(config)#inter fa0/1 S1(config-if)#switchport mode trunk %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
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
S1(config-if)#switchport trunk native vlan 99 S1(config-if)#exit S1(config)#inter fa0/3 S1(config-if)#switchport mode trunk %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up S1(config-if)#switchport trunk native vlan 99 S1(config-if)#exit
Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname S1 S1(config)#enable secret clas S1(config)#enable secret class S1(config)#no ip domain-lookup S1(config)#line console 0 S1(config-line)#pass cisco S1(config-line)#login S1(config-line)#line vty 0 15 S1(config-line)#pass cisco S1(config-line)#login S1(config-line)#end S1# %SYS-5-CONFIG_I: Configured from console by console
S1#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 5 VTP Operating Mode : Server VTP Domain Name : VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x7D 0x5A 0xA6 0x0E 0x9A 0x72 0xA0 0x3A Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 Local updater ID is 0.0.0.0 (no valid interface found) S1# S1#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. S1(config)#vtp mode server Device mode already VTP SERVER. S1(config)#vtp domain lab4 Changing VTP domain name from NULL to lab4 S1(config)#vtp pass cisco Setting device VLAN database password to cisco S1(config)#end S1# %SYS-5-CONFIG_I: Configured from console by console
S1#config t Enter configuration commands, one per line. End with CNTL/Z. S1(config)# S1(config)#inter fa0/1 S1(config-if)#switchport mode trunk S1(config-if)#switchport trunk native vlan 99 S1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to down S1(config-if)#inter fa0/2 S1(config-if)#switchport mode trunk S1(config-if)#switchport trunk native vlan 99 S1(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to down S1(config-if)#end S1# %SYS-5-CONFIG_I: Configured from console by console
S1#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. S1(config)#vlan 99 S1(config-vlan)#name management S1(config-vlan)#exit S1(config)#vlan 10 S1(config-vlan)#name faculty/staff S1(config-vlan)#exit S1(config)#vlan 20 S1(config-vlan)#name students S1(config-vlan)#exit S1(config)#vlan 30 S1(config-vlan)#name guest S1(config-vlan)#exit S1(config)# S1(config)# S1(config)#inter vlan 99 S1(config-if)# %LINK-5-CHANGED: Interface Vlan99, changed state to up
Switch>en Switch#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname S2 S2(config)#enable secret class S2(config)#no ip domain-lookup S2(config)#line console 0 S2(config-line)#pass cisco S2(config-line)#login S2(config-line)#line vty 0 15 S2(config-line)#pass cisco S2(config-line)#login S2(config-line)#end S2# %SYS-5-CONFIG_I: Configured from console by console
S2# S2#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. S2(config-if)#inter fa 0/18 S2(config-if)#switchport mode access S2(config-if)#switchport access vlan 20 S2(config-if)#no shutdown S2(config-if)#inter fa 0/11 S2(config-if)#switchport mode access S2(config-if)#switchport access vlan 10 S2(config-if)#no shutdown S2(config-if)#inter fa 0/6 S2(config-if)#switchport mode access S2(config-if)#switchport access vlan 30 S2(config-if)#no shutdown
S2(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/18, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to up
S2(config-if)# S2(config-if)#exit S2(config)#vtp mode client Setting device to VTP CLIENT mode. S2(config)#vtp domain Lab4 Changing VTP domain name from NULL to Lab4 S2(config)#vtp pass cisco Setting device VLAN database password to cisco S2(config)#end S2# %SYS-5-CONFIG_I: Configured from console by console
S2#config Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z. S2(config)#inter fa0/1 S2(config-if)#switchpot mode trunk ^ % Invalid input detected at '^' marker.
S2(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
S2(config-if)#inter fa 0/6 S2(config-if)#switchport port-security S2(config-if)#switchport port-security maximum 1 S2(config-if)#switchport port-security mac-address sticky S2(config-if)#inter fa 0/11 S2(config-if)#switchport port-security S2(config-if)#switchport port-security maximum 1 S2(config-if)#switchport port-security mac-address sticky S2(config-if)#inter fa 0/18 S2(config-if)#switchport port-security S2(config-if)#switchport port-security maximum 1 S2(config-if)#switchport port-security mac-address sticky S2(config-if)#end S2# %SYS-5-CONFIG_I: Configured from console by console
S2# S2#config t Enter configuration commands, one per line. End with CNTL/Z. S2(config)#vlan 88 VTP VLAN configuration not allowed when device is in CLIENT mode. S2(config)# S2(config)# S2(config)#inter vlan 99 S2(config-if)# %LINK-5-CHANGED: Interface Vlan99, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
Switch> Switch>en Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname S3 S3(config)#enable secret class S3(config)#no ip domain-lookup S3(config)#line console 0 S3(config-line)#pass cisco S3(config-line)#login S3(config-line)#line vty 0 15 S3(config-line)#pass cisco S3(config-line)#login S3(config-line)#end S3# %SYS-5-CONFIG_I: Configured from console by console
S3#config t Enter configuration commands, one per line. End with CNTL/Z. S3(config)# S3(config)#inter fa0/6 S3(config-if)#switchpot mode access ^ % Invalid input detected at '^' marker.
S3(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up S3(config-if)#inter fa0/11 S3(config-if)#switchport mode access S3(config-if)#no shutdown
S3(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/11, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up S3(config-if)#inter fa0/18 S3(config-if)#switchport mode access S3(config-if)#no shutdown
S3(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/18, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to up
S3(config-if)#exit S3(config)#vtp mode transparent Setting device to VTP TRANSPARENT mode. S3(config)#vtp domain Lab4 Changing VTP domain name from NULL to Lab4 S3(config)#vtp pass cisco Setting device VLAN database password to cisco
S3#config t Enter configuration commands, one per line. End with CNTL/Z. S3(config)# S3(config)#inter fa0/6 S3(config-if)#switchport port-security S3(config-if)#switchport port-security maximum 1 S3(config-if)#switchport port-security mac-address sticky S3(config-if)#inter fa0/11 S3(config-if)#switchport port-security S3(config-if)#switchport port-security maximum 1 S3(config-if)#switchport port-security mac-address sticky S3(config-if)#inter fa0/18 S3(config-if)#switchport port-security S3(config-if)#switchport port-security maximum 1 S3(config-if)#switchport port-security mac-address sticky S3(config-if)#end S3# %SYS-5-CONFIG_I: Configured from console by console
S3# S3# S3#config t Enter configuration commands, one per line. End with CNTL/Z. S3(config)#vlan 99 S3(config-vlan)#name management S3(config-vlan)#exit S3(config)#vlan 10 S3(config-vlan)#name faculty/staff S3(config-vlan)#exit S3(config)#vlan 20 S3(config-vlan)#name students S3(config-vlan)#exit S3(config)#vlan 30 S3(config-vlan)#name guest S3(config-vlan)#exit S3(config)# S3(config)#inter vlan 99 S3(config-if)# %LINK-5-CHANGED: Interface Vlan99, changed state to up
Actividad PT 4.4.3: Resolucin de problemas de configuracin del VTP
S1#show vlan brie
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gig1/1 Gig1/2 10 Faculty/Staff active 20 Students active 30 Guest active 99 management active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
S1#show interface trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 99
Port Vlans allowed on trunk Fa0/1 1-1005
Port Vlans allowed and active in management domain Fa0/1 1,10,20,30,99
Port Vlans in spanning tree forwarding state and not pruned Fa0/1 1,10,20,30,99
VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Gig1/1, Gig1/2 10 VLAN0010 active Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10 20 VLAN0020 active Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa0/16, Fa0/17 30 VLAN0030 active Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active S2#00:16:00 %DTP-5-DOMAINMISMATCH: Unable to perform trunk negotiation on port Fa0/1 because of VTP domain mismatch.
S2#show inter trunk
S2#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 8 VTP Operating Mode : Client VTP Domain Name : Lab4 VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x81 0xFC 0x36 0x2C 0x36 0xB4 0x23 0x13 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 S2#00:17:30 %DTP-5-DOMAINMISMATCH: Unable to perform trunk negotiation on port Fa0/1 because of VTP domain mismatch.
S2#show vtp pass The VTP password is not configured.
S3(config)#vtp domain Lab4_3 Changing VTP domain name from Lab to Lab4_3 S3(config)#vtp pass cisco Setting device VLAN database password to cisco
S3#show vtp status VTP Version : 2 Configuration Revision : 8 Maximum VLANs supported locally : 255 Number of existing VLANs : 9 VTP Operating Mode : Client VTP Domain Name : Lab4_3 VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x81 0x95 0xD8 0xA7 0x78 0x4F 0x04 0xB8 Configuration last modified by 0.0.0.0 at 3-1-93 00:01:36
S3#show vtp pass VTP Password: cisco
Actividad PT 4.5.1: Desafo de habilidades de integracin de Packet Tracer
Switch#config t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#hostname S1 S1(config)#enable secret clas S1(config)#enable secret class S1(config)#no ip domain-lookup S1(config)#line console 0 S1(config-line)#pass cisco S1(config-line)#login S1(config-line)#line vty 0 15 S1(config-line)#pass cisco S1(config-line)#login S1(config-line)#end S1(config)#vtp mode server Setting device to VTP SERVER mode. S1(config)#vtp domain CCNA Changing VTP domain name from NULL to CCNA S1(config)#vtp pass cisco Setting device VLAN database password to cisco S1(config)#inter fa0/1 S1(config-if)#switchport mode trunk