Once you have assigned the switch to a VTP management domain, you need to select the VTP mode for the
new switch. There are three VTP modes that can be selected: server mode, client mode and transparent
mode.
On an IOS-based switch, the following commands can be used to configure the VTP mode:
Switch# vlan database
Switch(vlan)# vtp domain domain_name
Switch(vlan)# vtp { server | client | transparent }
Switch(vlan)# vtp password password
On a CLI-based switch, the following command can be used to configure the VTP mode:
Switch(enable) set vtp [ domain domain_name ]
[ mode{ server | client | transparent }] [ password password ]
If the domain is operating in secure mode, a password can be included in the command line. The password
can have 8 to 64 characters.