VLAN Trunk Protocol (VTP)
VLAN Trunk Protocol (VTP) reduces administration in a switched network. When you configure a new VLAN on one VTP server, the VLAN is distributed through all switches in the domain. This reduces the need to configure the same VLAN everywhere. VTP is a Cisco-proprietary protocol that is available on most of the Cisco Catalyst series products.To configure VTP on Switch Syntax:
Syntax:
Switch(config)#vtp domain <name>
Switch(config)#vtp mode <serer / client / transparent
Switch(config)#vtp password <password>
Switch(config)#vtp pruning (only on the server switch)
ON SWITCH1
Step1:
VLAN Creation on Switch1
Step2:
VTP Configration
Switch1#config terminal
Switch1(config)#vtp domain network4em
Switch1(config)#vtp mode server
Switch1(config)#vtp password cisco
VLAN Creation on Switch1
Step2:
VTP Configration
Switch1#config terminal
Switch1(config)#vtp domain network4em
Switch1(config)#vtp mode server
Switch1(config)#vtp password cisco
ON SWITCH2
Step1:
VLAN Creation on Switch2
Step2:
VTP Configration
Switch2#config terminal
Switch2(config)#vtp domain network4em
Switch2(config)#vtp mode client
Switch2(config)#vtp password cisco
VLAN Creation on Switch2
Step2:
VTP Configration
Switch2#config terminal
Switch2(config)#vtp domain network4em
Switch2(config)#vtp mode client
Switch2(config)#vtp password cisco
Switch#show vlan
Switch#show vtp status
Note:- verify vlan before and after configuration.
Output:
Switch1#sh vtp status
VTP Version : 2
Configuration Revision : 4
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : network4em
VTP Pruning Mode : Enabled
VTP V2 Mode : Enabled
VTP Traps Generation : Disabled
MD5 digest : 0x74 0xFE 0x00 0xC9 0xF0 0x60 0x3E 0xBA
Configuration last modified by 0.0.0.0 at 3-1-93 00:06:34
Local updater ID is 0.0.0.0 (no valid interface found)
No comments:
Post a Comment