VLAN Trunking Protocol (VTP) Switch Lab
A company has added two new layer3 switches, one will act as distribution-layer switch while other will play the role of access-layer switch as shown in figure. You task is configure VTP (vlan trunking protocol) to distributing the VLAN information distribution-layer switch to the access-layer switch. Also configure interVLAN routing on the distribution layer switch to route traffic between the different VLANs that are configured on the access-layer switches; however, it is not compulsory for you to make the specific VLAN port assignments on the access-layer switches.
Please reference the following table for the VTP and VLAN information to be configured:
Tasks and requirements:
VTP Domain name
|
Cisco
| |
VLAN Ids
|
40
|
41
|
IP Addresses
|
172.16.71.40/24
|
172.16.132.41/24
|
These are your specific tasks:
1. Configure the above VTP information with the distribution layer switch (Dswitch) as the VTP server
2. Configure the VTP information with the access layer switch (Aswitch) as a VTP client
3. Configure VLANs on the Dswitch
4. Configure inter-VLAN routing on the Dswitch
5. Specific VLAN port assignments will be made as users are added to the access layer switches in the future.
Note: All VLANs and VTP configurations are to completed in the global configuration of Switch.
2. Configure the VTP information with the access layer switch (Aswitch) as a VTP client
3. Configure VLANs on the Dswitch
4. Configure inter-VLAN routing on the Dswitch
5. Specific VLAN port assignments will be made as users are added to the access layer switches in the future.
Note: All VLANs and VTP configurations are to completed in the global configuration of Switch.
---------------------------------------------------------------------------------------
Solution and Explanation:
1) Configure the VTP information Dswitch:
Open the console of distribution layer switch (Dswitch) and configure it with following configuration for above task:
DSwitch>enable
DSwitch#configure terminal
Dswitch(config)#vtp mode server
Dswitch(config)#vtp domain Cisco
Dswitch(config)#vtp mode server
Dswitch(config)#vtp domain Cisco
2) Configure the VTP information with the access layer switch as a VTP client
Access the console of Access layer switch Aswitch for performing the following configurations:
ASwitch>enable
Aswitch#configure terminal
Aswitch(config)#vtp mode client
Aswitch(config)#vtp domain Cisco
3) Configure VLANs on the distribution layer switch
Aswitch(config)#vtp mode client
Aswitch(config)#vtp domain Cisco
3) Configure VLANs on the distribution layer switch
According to lab requirement create VLANs on a Dswitch by using the “vlan vlanID#” command in global configuration mode instead of “database vlan” command:
Dswitch(config)#vlan 40
Dswitch(config)#vlan 41
Dswitch(config)#vlan 40
Dswitch(config)#vlan 41
Assign the IP addresses for Vlans:
Dswitch(config)#interface vlan 40
Dswitch(if-config)#ip address 172.16.71.40 255.255.255.0
Dswitch(if-config)#no shutdown
Dswitch(if-config)#interface vlan 41
Dswitch(if-config)#ip address 172.16.132.41 255.255.255.0
Dswitch(if-config)#no shutdown
Dswitch(if-config)#exit
Dswitch(if-config)#ip address 172.16.71.40 255.255.255.0
Dswitch(if-config)#no shutdown
Dswitch(if-config)#interface vlan 41
Dswitch(if-config)#ip address 172.16.132.41 255.255.255.0
Dswitch(if-config)#no shutdown
Dswitch(if-config)#exit
4) Configure inter-VLAN routing on the Dswitch
Dswitch(config)#ip routing
Dswitch(config)#exit
Dswitch#Write (save configurations)
Dswitch(config)#ip routing
Dswitch(config)#exit
Dswitch#Write (save configurations)
5) Configure the VTP information with the access layer switch as a VTP client
Aswitch#configure terminal
Aswitch(config)#vtp mode client
Aswitch(config)#vtp domain cisco
Aswitch(config)#exit
Aswitch(config)#vtp mode client
Aswitch(config)#vtp domain cisco
Aswitch(config)#exit
Aswitch#copy run start
Don't we need to enable trunking between the interfaces for the VLANs to propagate from the VTP server to the client?
ReplyDeleteI think we need the following on the interfaces f1/0 connecting the 2 switches
ReplyDeleteswitchport trunk encapsulation dot1q
switchport mode trunk