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

Verifying and Monitoring VTP 

To get basic information about the VTP configuration, use show vtp status. 

# show vtp status VTP Version : 1

Configuration Revision : 0 

Maximum VLANs supported locally : 1005 

Number of existing VLANs : 5 

VTP Operating Mode : Server 

VTP Domain Name : 

(config)# 

VTP Pruning Mode : Disabled 

VTP V2 Mode : Disabled 

VTP Traps Generation : Disabled 

MD5 digest : 

References:

http://www.cisco.com/en/US/tech/tk389/tk689/technologies_configuration_example09186a0080890607.shtml