server的配置:
Server(config)#interface fastEthernet 0/1
Server(config-if)#switchport mode trunk
Server(config)#vtp mode server
Server(config)#vtp domain cisco
Server(config)#vtp password cisco 密码为cisco ,必须相同
client的配置:
client(config)#interface fastEthernet 0/1
client(config-if)#switchport mode trunk
client(config)#vtp mode client
client(config)#vtp domain cisco
client(config)#vtp password cisco
Transparent的配置:
transparent(config)#interface fastEthernet 0/1
transparent(config-if)#switchport mode trunk
transparent(config-if)#inter fa 0/2
transparent(config-if)#switchport mode trunk
transparent(vlan)#vtp transparent
transparent(vlan)#vtp domain cisco
transparent(vlan)#vtp password cisco