Switch#vlan database
Switch(vlan)#vlan vlan_number
Switch(vlan)#exit
Switch(config)#interface fastethernet 0/x
Switch(config-if)#switchport access vlan vlan_number
The following command can be used to enter VLAN database mode and configure the VTP version number.
Switch#vlan database
Switch(vlan)#vtp v2-mode
The following command can be used to create the management domain.
Switch(vlan)#vtp domain cisco
The following command can be used to set the correct mode of the switch:
Switch(vlan)#vtp {client | server | transparent}
还有stp需要配置吗?是不是switch的一个计算法则?有点忘记了