Command
VTP Domain
Use
This command sets a VTP domain name and enables VTP on a network. If you have full communication between your VTP network, you only need to use this command on the VTP server as other switches will automatically learn the VTP domain from received updates. Note: Switches will not change their domain automatically if they already are in a VTP domain.
Syntax
Switch(config)#vtp domain <name>
Example
In the below example we will configure SW1 to be in the VTP domain howtonetwork.net.
SW1(config)#vtp domain howtonetwork.net Changing VTP domain name from NULL to howtonetwork.net
Checking SW4 we can see it automatically joined howtonetwork.net.
SW4(config)#do show vtp status VTP Version : 2 Configuration Revision : 17 Maximum VLANs supported locally : 1005 Number of existing VLANs : 6 VTP Operating Mode : Server VTP Domain Name : howtonetwork.net VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0xF5 0xC1 0x1A 0xEA 0x88 0xE6 0xE6 0xAF Configuration last modified by 0.0.0.0 at 3-1-93 02:38:19 Local updater ID is 0.0.0.0 (no valid interface found)