Cover by Gary A. Donahue

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Configuring VTP

To use VTP, you must configure a VTP domain. You’ll also need to know how to set the mode on your switches. Further configuration options include setting VTP passwords and configuring VTP pruning.

VTP Domains

The default VTP domain is null. Bear this in mind when implementing VTP, because trunks negotiated using the null VTP domain will break if you assign a different domain to one side.

Note

This behavior differs from switch to switch. For example, the Catalyst 5000 will not negotiate trunks unless a VTP domain has been set for each switch.

On some switches, such as the Cisco 6500, the null domain will be overwritten if a VTP advertisement is received over a trunk link, and the switch will inherit the VTP domain from the advertisement. If a VTP domain has been previously configured, this will not occur.

Also, once you’ve changed a switch’s VTP domain to something other than null, there is no way to change it back to null short of erasing the configuration and rebooting.

IOS

Set or change the VTP domain in IOS with the vtp domain command:

3750-IOS(config)#vtp domain GAD-Lab
Changing VTP domain name from NULL to GAD-Lab
2w0d: %DTP-5-DOMAINMISMATCH: Unable to perform trunk negotiation on port Gi1/0/20
    because of VTP domain mismatch.

In this case, changing the domain results in a VTP domain mismatch that will prevent trunk negotiation from occurring on port G1/0/20.

CatOS

You can set or change the VTP domain on CatOS with the set vtp domain command:

Switch1-CatOS# (enable)set vtp ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required