CCNP Switch - Lab - VTP
The headquarter offices for a book retailer are enhancing their wiring closets with Layer3 switches. The new distribution-layer switch has been installed and a new access-layer switch cabled to it. Your task is to configure VTP to share VLAN information from the distribution-layer switch to the access-layer devices. Then, it is necessary to 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 necessary for you to make the specific VLAN port assignments on the access-layer switches. Also, because VLAN database mode is being deprecated by Cisco, all VLAN and VTP configurations are to be completed in the global configuration mode. Please reference the following table for the VTP and VLAN information to be configured:
Tareas a realizar:
VTP Domain name | cisco | |
VLAN Ids | 20 | 21 |
IP Addresses | 172.16.71.1/24 | 172.16.132.1/24 |
Respuesta y explicación:
1) Configure the VTP information with the distribution layer switch as the VTP server:
DLSwitch#configure terminal DLSwitch(config)#vtp mode server DLSwitch(config)#vtp domain cisco
NOTA: usa cisco, no CISCO ya que distingue entre mayúsculas y minúsculas.
* El paso 2 se realiza al final
3) Configure VLANs on the distribution layer switch
To create VLANs on a switch, use the vlan vlanID# command:
DLSwitch(config)#vlan 20 DLSwitch(config)#vlan 21
Configure Ip addresses for Vlans:
DLSwitch(config)#interface vlan 20 DLSwitch(if-config)#ip address 172.16.71.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#interface vlan 21 DLSwitch(if-config)#ip address 172.16.132.1 255.255.255.0 DLSwitch(if-config)#no shutdown DLSwitch(if-config)#exit
4) Configure inter-VLAN routing on the distribution layer switch
DLSwitch(config)#ip routing DLSwitch(config)#exit DLSwitch#copy running-config startup-config
2) Configure the VTP information with the access layer switch as a VTP client
ALSwitch#configure terminal ALSwitch(config)#vtp mode client ALSwitch(config)#vtp domain cisco ALSwitch(config)#exit ALSwitch#copy running-config startup-config
IMPORTANTE: El comando “copy running-config startup-config” NO funciona ni hace nada pero no está demás ejecutarlo por si acaso.