2-660
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set vtp
If the receiving switch is in server mode, the configuration is not changed.
If the receiving switch is in client mode, the client switch changes its configuration to duplicate the
configuration of the server. Make sure to make all VTP or VLAN configuration changes on a switch in
server mode.
If the receiving switch is in transparent mode, the configuration is not changed. Switches in transparent
mode do not participate in VTP. If you make VTP or VLAN configuration changes on a switch i n
transparent mode, the changes are not propagated to the other switches in the network.
When you configure the VTP off mode, the switch functions the same as in VTP transparent mode except
that VTP advertisements are not forwarded.
The pruning keyword is used to enable or disable VTP pruning for the VTP dom ain. V T P pruni ng
causes information about each pruning-eligible VLAN to be removed from VTP up dates if there are no
stations belonging to that VLAN out a particular switch port. Use the set vtp pruneeligible and clear
vtp pruneeligible commands to specify which VLANs should or should not be pruned when pruning is
enabled for the domain.
Use the clear config all command to remove the domain from the switch.
For more information about VTP, refer to Chapter 10, “Configuring VTP,” in the Catalyst6500 Seri es
Switch Configuration Guide.
Caution Be careful when you use the clear config all command. This command clears the entire switch
configuration, not just the VTP domain.
Examples This example shows how to use the set vtp command:
Console> (enable) set vtp domain Engineering mode client
VTP domain Engineering modified
Console> (enable)
This example shows what happens if you try to change VTP to server or client mode and dynamic VLAN
creation is enabled:
Console> (enable) set vtp mode server
Failed to Set VTP to Server. Please disable Dynamic VLAN Creation First.
Console> (enable)
This command shows how to set VTP to off mode:
Console> (enable) set vtp mode off
VTP domain modified
Console> (enable)
Related Commands clear vlan
clear vtp pruneeligible
set vlan
set vtp pruneeligible
show vlan
show vtp domain