Configuring VTP
VTP configuration is done at the global config mode. To configure the
switch’s VTP mode:
(config)#vtp {server | client |transparent}
To configure the VTP domain name :
(config)#vtp domain name
To configure a VTP password (all switches in the domain must use the same
password):
(config)#vtp password password
To configure the switch to use VTP Version 2:
(config)#vtp version 2
To enable pruning:
vtp pruning
To specify which VLANs are to be pruned:
(config-if)#switchport trunk pruning vlan {add | except | none |
remove} vlan-list [,vlan[,vlan[,,,]]