创建VTP 域
switch(config)# vtp domian domain_name
配置交换机的VTP模式
switch(config)# vtp mode server | client | transparent
配置VTP口令
switch(config)# vtp password password
 配置VTP修剪
switch(config)# vtp pruning
VTP版本的配置
switch(config)# vtp version 2 或者switch(config)# vtp v2-mode
查看VTP的配置
switch# show vtp status