vtp (privileged EXEC)
vtp (privileged EXEC)
Use the vtp privileged EXEC command to configure the VLAN Trunking Protocol (VTP) password,
pruning, and version. Use the no form of this command to return to the default settings.
Beginning with release 12.1(11)EA1, these keywords are available in the vtp global configuration
Note
command. This command will become obsolete in a future release.
Syntax Description
password password
pruning
version number
Defaults
No password is configured.
Pruning is disabled.
The default version is version 1.
Command Modes
Privileged EXEC
Command History
Release
12.1(9)EA1
Usage Guidelines
Passwords are case sensitive. Passwords should match on all switches in the same domain.
When you use the no vtp password form of the command, the switch returns to the no-password state.
VTP pruning removes information about each pruning-eligible VLAN from VTP updates if there are no
stations belonging to that VLAN.
If you enable pruning on the VTP server, it is enabled for the entire management domain for VLAN IDs
1 to 1005.
Only VLANs in the pruning-eligible list can be pruned.
Pruning is supported with VTP version 1 and version 2.
Toggling the version 2 (v2) mode state modifies parameters of certain default VLANs.
Catalyst 3550 Multilayer Switch Command Reference
2-650
vtp {password password | pruning | version number}
no vtp {password | pruning | version}
Set the administrative domain password for the generation of the 16-byte secret
value used in MD5 digest calculation to be sent in VTP advertisements and to
validate received VTP advertisements. The password can be an ASCII string
from 1 to 32 characters. The password is case sensitive.
Enable VTP pruning on the switch.
Set VTP version to version 1 or version 2.
Modification
This command was introduced.
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
OL-8566-01