4.7 VTP Configuration
4.7.3 Configure the VTP domain
If the switch being installed is the first switch in the network, you will have to create the management domain. However, if other Catalyst switches exist, you will probably join an existing management domain. Verify the name of the management domain that you wish to join. If the management domain has been secured, you will also need to configure the password for the domain.

To create a management domain or to add your switch to a management domain with a Cisco IOS command-based switch, use the following command:

Switch(vlan)#vtp domain name

An example of this is shown in Figure . In this example, the domain name is set to cisco.

To create a management domain or to add your switch to a management domain on a set command-based switch, use the following command:

Switch (enable) set vtp domain domain_name

An example of this is shown in Figure . In this example, the domain name is set to cisco.

The domain name can be up to 32 characters, and the password must be between 8 and 64 characters long.