2-555
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
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.
vtp {password password | pruning | version number}
no vtp {password | pruning | version}
Note Beginning with Cisco IOS Release 12.1(11)EA1, these keywords are available in the vtp global
configuration command. This command will become obsolete in a future release.
Syntax Description
Defaults No password is configured.
Pruning is disabled.
The default version is version 1.
Command Modes Privileged EXEC
Command History
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.
password password 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.
pruning Enable VTP pruning on the switch.
version number Set VTP version to version 1 or version 2.
Release Modification
12.1(9)EA1 This command was introduced.