Lab Objective:
The objective of this lab exercise is for you to learn and understand how to configure VTP Transparent mode on Cisco Catalyst Switches. By default, all Cisco switches are VTP server devices.
Lab Purpose:
VTP Transparent mode configuration is a fundamental skill. VLANs configured on a switch in VTP Transparent mode are not automatically propagated to other switches within the same VTP domain as would be done by a VTP server. Switches configured in VTP Transparent mode use a trunk to forward traffic for configured VLANs to other switches. As a Cisco engineer, as well as in the Cisco CCNA exam, you will be expected to know how to configure VTP Transparent mode.
Certification Level:
This lab is suitable for both CCENT and CCNA certification exam preparation.
Lab Difficulty:
This lab has a difficulty rating of 5/10.
Readiness Assessment:
When you are ready for your certification exam, you should complete this lab in no more than 15 minutes.
Lab Topology:
Please use the following topology to complete this lab exercise:
Task 1:
In preparation for VLAN configuration, configure a hostname on switches 1 and 2 and routers 1 and 3 as illustrated in the topology.
Task 2:
Configure and verify Sw1 and Sw2 in VTP Transparent mode. Both switches should be in the VTP domain named CISCO. Remember that switches must be in the same VTP domain to share VLAN information via a trunk.
Task 3:
Configure and verify FastEthernet0/1 between Sw1 and Sw2 as an 802.1q trunk.
Task 4:
Configure and verify VLANs 2010 and 2030 on Sw1 with the names provided above. Assign FastEthernet0/2 on Sw1 to VLAN2010 as an access port. Configure and verify VLANs 2010 and 2040 on Sw2 with the names provided above. Assign FastEthernet0/2 on Sw2 to VLAN2010 as an access port.
Task 5:
Configure R1 and R3 FastEthernet interfaces with the IP addresses 10.0.0.1/28 and 10.0.0.3/28, respectively. Test VLAN connectivity by pinging between R1 and R3.
Configuration and Verification
Task 1:
Switch#config t Enter configuration commands, one per line. End with CTRL/Z. Switch(config)#hostname Sw1 Sw1(config)# Switch#config t Enter configuration commands, one per line. End with CTRL/Z. Switch(config)#hostname Sw2 Sw1(config)# Router#config t Enter configuration commands, one per line. End with CTRL/Z. Router(config)#hostname R1 R1(config)# Router#config t Enter configuration commands, one per line. End with CTRL/Z. Router(config)#hostname R3 R3(config)#
Task 2:
Sw1#config t Enter configuration commands, one per line. End with CTRL/Z. Sw1(config)#vtp mode transparent Setting device to VTP TRANSPARENT mode. Sw1(config)#end Sw1#show vtp status VTP Version : 2 Configuration Revision : 2 Maximum VLANs supported locally : 250 Number of existing VLANs : 5 VTP Operating Mode : Transparent VTP Domain Name : CISCO VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x9D 0x1A 0x9D 0x16 0x9E 0xD1 0x38 0x59 Configuration last modified by 10.1.1.3 at 3-1-93 01:42:39 Sw2#config t Enter configuration commands, one per line. End with CTRL/Z. Sw2(config)#vtp mode transparent Setting device to VTP TRANSPARENT mode. Sw2(config)#end Sw2#show vtp status VTP Version : 2 Configuration Revision : 2 Maximum VLANs supported locally : 250 Number of existing VLANs : 5 VTP Operating Mode : Transparent VTP Domain Name : CISCO VTP Pruning Mode : Enabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0x9D 0x1A 0x9D 0x16 0x9E 0xD1 0x38 0x59 Configuration last modified by 10.1.1.3 at 3-1-93 01:42:45
Task 3:
NOTE: Some Cisco switches default to 802.1q trunking so no explicit configuration is required. This ISN’T the case for the 2960 Switch, which is used in the exam.
Sw1#config t Enter configuration commands, one per line. End with CTRL/Z. Sw1(config)#interface fastethernet0/1 Sw1(config-if)#switchport mode trunk Sw2#config t Enter configuration commands, one per line. End with CTRL/Z. Sw2(config)#interface fastethernet0/1 Sw2(config-if)#switchport mode trunk
Task 4:
Sw1#config t Enter configuration commands, one per line. End with CTRL/Z. Sw1(config)#vlan2010 Sw1(config-vlan)#name SALES Sw1(config-vlan)#exit Sw1(config)#vlan2030 Sw1(config-vlan)#name MANAGEMENT Sw1(config-vlan)#exit Sw1(config)#interface fastethernet0/2 Sw1(config-if)#switchport mode access Sw1(config-if)#switchport access vlan 2010 Sw1(config-if)#end Sw1# Sw1#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 Gi0/1, Gi0/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active 2010 SALES active Fa0/2 2030 MANAGEMENT active Sw2#config t Enter configuration commands, one per line. End with CTRL/Z. Sw2(config)#vlan2010 Sw2(config-vlan)#name SALES Sw2(config-vlan)#exit Sw2(config)#vlan2040 Sw2(config-vlan)#name DIRECTORS Sw2(config-vlan)#exit Sw2(config)#interface fastethernet0/2 Sw2(config-if)#switchport mode access Sw2(config-if)#switchport access vlan2010 Sw2(config-if)#end Sw2# Sw2#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 Gi0/1, Gi0/2 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active 2010 SALES active Fa0/2 2040 DIRECTORS active
NOTE: Default switches configured for VTP Transparent mode do not exchange VLAN information. You can see in the output above that VLAN2030 on Sw1 is not propagated to Sw2, and VLAN2040 on Sw2 is not propagated to Sw1. In Transparent mode, all VLANs must be manually configured on all switches.
Task 5:
R1#config t Enter configuration commands, one per line. End with CTRL/Z. R1(config)#interface fastethernet0/0 R1(config-if)#ip address 10.0.0.1 255.255.255.240 R1(config-if)#no shutdown R1(config-if)#end R3#config t Enter configuration commands, one per line. End with CTRL/Z. R3(config)#interface fastethernet0/0 R3(config-if)#ip address 10.0.0.3 255.255.255.240 R3(config-if)#no shutdown R3(config-if)#end R1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.0.0.1 YES manual up up R1#ping 10.0.0.3
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.3, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms
NOTE: The first ping packet times out due to ARP resolution. Subsequent packets will be successful.
R3#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.0.0.3 YES manual up up
R3#ping 10.0.0.1 Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/4 ms