*注:如果想完成同步的过程的话,那么交换机之间的链路必须是trunk!
配置:
Switch(config)#vtp domain cisco //配置VTP域名
Changing VTP domain name from NULL to cisco
Switch(config)#vtp password ccna //配置VTP密码
Setting device VLAN database password to ccna
Switch(config)#vtp mode ? //设置VTP模式,默认为server
client Set the device to client mode.
server Set the device to server mode.
transparent Set the device to transparent mode.
Switch#show vtp status //查看VTP信息
VTP Version : 2
Configuration Revision : 2 //透明模式下版本号永恒为0
Maximum VLANs supported locally : 255
Number of existing VLANs : 7
VTP Operating Mode : Server
VTP Domain Name : cisco
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xC1 0x84 0xD2 0x33 0x54 0xD0 0x9E 0x9F
Configuration last modified by 0.0.0.0 at 3-1-93 00:04:13
Local updater ID is 0.0.0.0 (no valid interface found)