Command
VTP Password
Use
This command secures VTP updates by setting a secure password.
Syntax
Switch(vlan)#vtp password <password>
Example

In the below example we will set a password of ‘cisco’ for the VTP domain on SW1.
SW1#vlan database SW1(vlan)#vtp password cisco |
SW2#vlan database SW2(vlan)#vtp password cisco |
Checking VTP status on both switches we see that the MD5 digest matches. If it doesn’t you’ll need to flap a few interfaces until VTP syncs up.
SW1(config)#do show vtp status |
SW2(config)#do show vtp status |