View
27
Download
0
Category
Preview:
Citation preview
5/26/2018 CAPITULO 3-4
1/67
CAPITULO 3
Actividad PT 3.2.3: Investigacin de los enlaces troncales de la VLAN
Qu interfaces estn configuradas actualmente en el enlace troncal?
interface FastEthernet0/1
switchport trunk native vlan 99
switchport mode trunk
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport mode trunk
5/26/2018 CAPITULO 3-4
2/67
Actividad PT 3.3.4: Configuracin de las VLAN y de los enlaces troncales
S1#show vlan
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/21002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
5/26/2018 CAPITULO 3-4
3/67
1 enet 100001 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
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
5/26/2018 CAPITULO 3-4
4/67
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/StaffS2(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/16Fa0/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
5/26/2018 CAPITULO 3-4
5/67
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
S2(config)#interface fa0/6
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 30
S2(config-if)#interface fa0/11
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 10
S2(config-if)#interface fa0/18
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 20
S2(config-if)#end
S2#
%SYS-5-CONFIG_I: Configured from console by console
S2#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
5/26/2018 CAPITULO 3-4
6/67
1 default active Fa0/1, 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/210 Faculty/Staff active Fa0/11
20 Students active Fa0/18
30 Guest(Default) active Fa0/6
99 Management&Native active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
S3(config)#inter fa0/6
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 30
S3(config-if)#inter fa0/11
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 10
S3(config-if)#inter fa0/18
S3(config-if)#switchport mode accessS3(config-if)#switchport access vlan 20
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/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
5/26/2018 CAPITULO 3-4
7/67
30 Guest(Default) active Fa0/6
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
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#inter fa0/3
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#end
S2#show interface fa0/1 switchport
Name: Fa0/1
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Voice VLAN: noneAdministrative 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
S3#show inter fa0/3 switchport
Name: Fa0/3
Switchport: Enabled
Administrative Mode: dynamic auto
5/26/2018 CAPITULO 3-4
8/67
Operational Mode: trunk
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)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
5/26/2018 CAPITULO 3-4
9/67
Actividad PT 3.5.1: Configuracin bsica de la VLAN
S1(config)#vlan 99
S1(config-vlan)#name Management&Native
S1(config-vlan)#exit
S1(config)#vlan 10S1(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)#end
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
5/26/2018 CAPITULO 3-4
10/67
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/210 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)#vlan 99
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)#exit
S2(config)#vlan 30
S2(config-vlan)#name Guest(Default)
S2(config-vlan)#exitS2(config)#exit
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
5/26/2018 CAPITULO 3-4
11/67
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 99
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)#vlan 30
S3(config-vlan)#name Guest(Default)
S3(config-vlan)#exit
S3(config)#exit
S3#
%SYS-5-CONFIG_I: Configured from console by console
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
5/26/2018 CAPITULO 3-4
12/67
S2(config)#inter fa0/6
S2(config-if)#switchport access vlan 30
S2(config-if)#inter fa0/11
S2(config-if)#switchport access vlan 10S2(config-if)#inter fa0/18
S2(config-if)#switchport access vlan 20
S2(config-if)#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/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
99 Management&Native active
1002 fddi-default active1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
S3(config)#inter fa0/6
S3(config-if)#switchport access vlan 30
S3(config-if)#inter fa0/11
S3(config-if)#switchport access vlan 10
S3(config-if)#inter fa0/18
S3(config-if)#switchport access vlan 20
S3(config-if)#end
S3#
%SYS-5-CONFIG_I: Configured from console by console
5/26/2018 CAPITULO 3-4
13/67
S3#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------1 default active Fa0/1, 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
99 Management&Native active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
S1(config)#inter vlan 99
S1(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
S1(config-if)#ip add 172.17.99.11 255.255.255.0
S1(config-if)#no shutS1(config-if)#no shutdown
S2(config)#inter vlan 99
S2(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
S2(config-if)#ip add 172.17.99.12 255.255.255.0
S2(config-if)#no shutdown
S3(config)#inter vlan 99
S3(config-if)#
%LINK-5-CHANGED: Interface Vlan99, changed state to up
ip add
% Incomplete command.
S3(config-if)#ip add 172.17.99.13 255.255.255.0
S3(config-if)#no shutdown
5/26/2018 CAPITULO 3-4
14/67
S1(config)#inter fa0/1
S1(config-if)#switchport mode trunk
S1(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
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#inter fa0/2
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#end
S1#
%SYS-5-CONFIG_I: Configured from console by console
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).
5/26/2018 CAPITULO 3-4
15/67
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 prunedFa0/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.
5/26/2018 CAPITULO 3-4
16/67
%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
5/26/2018 CAPITULO 3-4
17/67
5/26/2018 CAPITULO 3-4
18/67
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 4S1(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
5/26/2018 CAPITULO 3-4
19/67
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
5/26/2018 CAPITULO 3-4
20/67
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 vlanFa0/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
5/26/2018 CAPITULO 3-4
21/67
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 10S2(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(config)#inter fa0/6
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 30
S2(config)#inter fa0/11
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 10
S2(config-if)#inter fa0/18
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 20
S2(config-if)#exit
S2#
5/26/2018 CAPITULO 3-4
22/67
%SYS-5-CONFIG_I: Configured from console by console
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/1120 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
5/26/2018 CAPITULO 3-4
23/67
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 classS3(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)#exitS3(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).
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 30
5/26/2018 CAPITULO 3-4
24/67
S3(config-if)#exit
S3(config)#inter fa0/11
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 10
S3(config-if)#exit
S3(config)#switchport mode access%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S1 FastEthernet0/2 (56).
S3(config)#inter fa0/18
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 20
S3(config-if)#exit
S3(config)#
S3(config)#inter vlan 56
S3(config-if)#ip add 192.168.56.13 255.255.255.0
S3(config-if)#no shutdown
%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)#endS3#
%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
5/26/2018 CAPITULO 3-4
25/67
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 vlanFa0/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
5/26/2018 CAPITULO 3-4
26/67
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)
5/26/2018 CAPITULO 3-4
27/67
S1(config-vlan)#exit
S1(config)#interface vlan 56
S1(config-if)#ip add 192.168.56.11 255.255.255.0
S1(config-if)#no shutdownS1(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (1),
with S2 FastEthernet0/1 (56).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S3 FastEthernet0/2 (56).
S1(config-if)#
S1(config-if)#exit
S1(config-if)#inter fa0/1
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk native vlan 56
S1(config-if)#exit
S1(config)#inter fa0/2
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1),
with S3 FastEthernet0/2 (56).
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk native vlan 56S1(config-if)#end
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
5/26/2018 CAPITULO 3-4
28/67
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
5/26/2018 CAPITULO 3-4
29/67
%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/5Fa0/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
5/26/2018 CAPITULO 3-4
30/67
S3(config)#inter fa0/6
S3(config-if)#switchport mode acces
S3(config-if)#switchport access vlan 30
S3(config-if)#exit
S3(config)#inter fa0/11S3(config-if)#switchport mode acces
S3(config-if)#switchport access vlan 10
S3(config-if)#exit
S3(config)#inter fa0/18
S3(config-if)#switchport mode acces
S3(config-if)#switchport access vlan 20
S3(config-if)#exit
S3(config)#
S3(config)#end
S3(config)#vlan 56
S3(config-vlan)#name Management&Native
S3(config-vlan)#exit
S3(config)#inter vlan 56
S3(config-if)#ip add 192.168.56.13 255.255.255.0
S3(config-if)#no shutdown
S1#ping 192.168.56.13
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
5/26/2018 CAPITULO 3-4
31/67
PING PC1 A PC4
PING PC2 A PC5
5/26/2018 CAPITULO 3-4
32/67
PING PC3 A PC6
PING PC4 A PC1
5/26/2018 CAPITULO 3-4
33/67
PING PC5 A PC2
PING PC6 A PC3
5/26/2018 CAPITULO 3-4
34/67
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
!
5/26/2018 CAPITULO 3-4
35/67
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
!
5/26/2018 CAPITULO 3-4
36/67
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 ciscologin
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
5/26/2018 CAPITULO 3-4
37/67
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 active1005 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
5/26/2018 CAPITULO 3-4
38/67
!
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
!
5/26/2018 CAPITULO 3-4
39/67
banner motd ^C
AUTHORIZED ACCESS ONLY
^C
!
line con 0
password ciscologin
!
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/16Fa0/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
5/26/2018 CAPITULO 3-4
40/67
!
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
!
5/26/2018 CAPITULO 3-4
41/67
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
5/26/2018 CAPITULO 3-4
42/67
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/8Fa0/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 : 2Configuration 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.
5/26/2018 CAPITULO 3-4
43/67
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
5/26/2018 CAPITULO 3-4
44/67
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:00S3#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
5/26/2018 CAPITULO 3-4
45/67
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
S1(config)#inter fa0/1S1(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
S2(config)#inter fa0/1
S2(config-if)#switchport mode trunk
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#exit
S3(config)#inter fa0/3
S3(config-if)#switchport mode trunk
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#exi%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/3 on
VLAN0099. Port consistency restored.
%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/3 on VLAN0001. Port
consistency restored
S3(config-if)#exit
S2(config)#inter fa0/11
S2(config-if)#switchport mode acces
S2(config-if)#switchport access vlan 10
S2(config-if)#exit
S2(config)#inter fa0/18
S2(config-if)#switchport mode acces
5/26/2018 CAPITULO 3-4
46/67
S2(config-if)#switchport access vlan 20
S2(config-if)#exit
S2(config)#inter fa0/6
S2(config-if)#switchport mode acces
S2(config-if)#switchport access vlan 30
S2(config-if)#exit
S3(config)#inter fa 0/11
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 10
S3(config-if)#exit
S3(config)#inter fa 0/18
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 20
S3(config-if)#inter fa 0/6
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 30
S3(config-if)#exit
5/26/2018 CAPITULO 3-4
47/67
Actividad PT 4.4.1: Configuracin bsica del VTP
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 statusVTP 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
5/26/2018 CAPITULO 3-4
48/67
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
5/26/2018 CAPITULO 3-4
49/67
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)#exitS1(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
S1(config-if)#ip add 172.17.99.11 255.255.255.0
S1(config-if)#no shutdown
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 ciscoS2(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
5/26/2018 CAPITULO 3-4
50/67
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 30S2(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)#switchport mode trunk
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#no shutdown
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
5/26/2018 CAPITULO 3-4
51/67
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 stickyS2(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
S2(config-if)#ip add 172.17.99.12 255.255.255.0
S2(config-if)#no shutdown
S2(config-if)#exit
S2(config)#exit
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
5/26/2018 CAPITULO 3-4
52/67
S3(config-line)#login
S3(config-line)#end
S3#
%SYS-5-CONFIG_I: Configured from console by console
S3#config tEnter 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)#switchport mode access
S3(config-if)#switchport access vlan 30
% Access VLAN does not exist. Creating vlan 30
S3(config-if)#inter fa0/6
S3(config-if)#switchport mode access
S3(config-if)#no shutdown
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.
5/26/2018 CAPITULO 3-4
53/67
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)#inter fa0/2S3(config-if)#switchport mode trunk
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#no shutdown
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)#endS3#
%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
5/26/2018 CAPITULO 3-4
54/67
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
S3(config-if)#ip add 172.17.99.13 255.255.255.0
S3(config-if)#no shutdown
S3(config-if)#
S3(config-if)#inter fa0/6
S3(config-if)#switchport access vlan 30
S3(config-if)#inter fa0/11
S3(config-if)#switchport access vlan 10
S3(config-if)#inter fa0/18
S3(config-if)#switchport access vlan 20
S3(config-if)#end
5/26/2018 CAPITULO 3-4
55/67
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 active20 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 prunedFa0/1 1,10,20,30,99
S1(config)#inter fa0/2
S1(config-if)#switchport mode trunk
5/26/2018 CAPITULO 3-4
56/67
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#no shutdown
S1(config-if)#exit
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 1,10,20,30,99
show vtp status
VTP Version : 2Configuration Revision : 8
Maximum VLANs supported locally : 255
Number of existing VLANs : 9
VTP Operating Mode : Server
VTP Domain Name : Lab4_3
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xD3 0x94 0xF8 0x2B 0xAA 0x7E 0xB9 0x50
Configuration last modified by 0.0.0.0 at 3-1-93 00:01:36
Local updater ID is 176.17.99.11 on interface Vl99 (lowest numbered VLAN interface found)
S1#show vtp pass
VTP Password: Cisco
5/26/2018 CAPITULO 3-4
57/67
S1(config)#vtp pass cisco
Setting device VLAN database password to cisco
S1#show vtp passVTP Password: cisco
S1(config-if)#inter vlan 99
S1(config-if)#ip add 172.17.99.11 255.255.255.0
S1(config-if)#no shutdown
S1(config-if)#exit
S2#show vlan brief
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/1020 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
5/26/2018 CAPITULO 3-4
58/67
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 8
VTP Operating Mode : Client
VTP Domain Name : Lab4VTP 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.
S2(config-if)#inter fa0/18
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 20
S2(config-if)#no shutdownS2(config-if)#inter fa0/11
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 10
S2(config-if)#no shutdown
S2(config-if)#inter fa0/6
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 30
S2(config-if)#no shutdown
S2(config-if)#inter fa0/1
S2(config-if)#switchport mode trunk
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#no shutdown
S2#show inter trunk
5/26/2018 CAPITULO 3-4
59/67
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
Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 1,10,20,30
S2(config)#vtp mode client
Device mode already VTP CLIENT.
S2(config)#vtp domain Lab3_4
Changing VTP domain name from Lab4 to Lab3_4
S2(config)#vtp pass cisco
Setting device VLAN database password to cisco
S2(config)#end
S2#show vtp pass
VTP Password: cisco
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_3
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x3D 0xB9 0x8F 0xB5 0x39 0xF4 0x6C 0x76
Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00
5/26/2018 CAPITULO 3-4
60/67
S3#show vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 8
VTP Operating Mode : ClientVTP 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
S3#show vtp pass
The VTP password is not configured.
S3(config-if)#inter vlan 99
S3(config-if)#ip add 172.17.99.13 255.255.255.0
S3(config-if)#no shutdown
S3(config-if)#end
S3(config)#vtp domain Lab4_3Changing 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
5/26/2018 CAPITULO 3-4
61/67
Configuration last modified by 0.0.0.0 at 3-1-93 00:01:36
S3#show vtp pass
VTP Password: cisco
5/26/2018 CAPITULO 3-4
62/67
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)#endS1(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
5/26/2018 CAPITULO 3-4
63/67
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk native vlan 99
S1(config-if)#no shutdown
S1(config-if)#inter fa0/3
S1(config-if)#switchport mode trunkS1(config-if)#switchport trunk native vlan 99
S1(config-if)#no shutdown
S1(config-if)#vlan 99
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)#inter vlan 99
S1(config-if)#ip add 172.17.99.31 255.255.255.0
S1(config-if)#no shutdown
Switch#config tEnter 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)#inter fa 0/18
S2(config-if)#switchport mode access
S2(config-if)#switchport access vlan 20
% Access VLAN does not exist. Creating vlan 20
S2(config-if)#no shutdown
S2(config-if)#inter fa 0/11
S2(config-if)#switchport mode access
5/26/2018 CAPITULO 3-4
64/67
S2(config-if)#switchport access vlan 10
% Access VLAN does not exist. Creating 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 30S2(config-if)#no shutdown
S2(config-if)#vtp mode client
Setting device to VTP CLIENT mode.
S2(config)#vtp domain CCNA
Domain name already set to CCNA.
S2(config)#vtp pass cisco
Setting device VLAN database password to cisco
S2(config)#inter fa0/1
S2(config-if)#switchport mode trunk
S2(config-if)#switchport trunk native vlan 99
S2(config-if)#no shutdown
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-securityS2(config-if)#switchport port-security maximum 1
S2(config-if)#switchport port-security mac-address sticky
S2(config)#inter vlan 99
S2(config-if)#ip add 172.17.99.32 255.255.255.0
S2(config-if)#no shutdown
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
5/26/2018 CAPITULO 3-4
65/67
S3(config-line)#inter fa 0/18
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 20
% Access VLAN does not exist. Creating vlan 20
S3(config-if)#no shutdown
S3(config-if)#inter fa 0/11S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
S3(config-if)#no shutdown
S3(config-if)#inter fa 0/6
S3(config-if)#switchport mode access
S3(config-if)#switchport access vlan 30
% Access VLAN does not exist. Creating vlan 30
S3(config-if)#no shutdown
S3(config-if)#vtp mode client
Setting device to VTP CLIENT mode.
S3(config)#vtp domain CCNA
Domain name already set to CCNA.
S3(config)#vtp pass cisco
Setting device VLAN database password to cisco
S3(config)#inter fa0/3
S3(config-if)#switchport mode trunk
S3(config-if)#switchport trunk native vlan 99
S3(config-if)#no shutdown
S3(config-if)#inter fa 0/6
S3(config-if)#switchport port-securityS3(config-if)#switchport port-security maximum 1
S3(config-if)#switchport port-security mac-address sticky
S3(config-if)#inter fa 0/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 fa 0/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)#inter vlan 99
S3(config-if)#ip add 172.17.99.33 255.255.255.0
S3(config-if)#no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to up
5/26/2018 CAPITULO 3-4
66/67
PING PC1 A PC4
PING PC2 A PC5
5/26/2018 CAPITULO 3-4
67/67
PING PC3 A PC46
Recommended