vtp (global configuration)
Examples
Catalyst 3750-X and 3560-X Switch Command Reference
2-942
Downloaded from
www.Manualslib.com
Follow these guidelines when setting VTP pruning:
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.
Follow these guidelines when setting the VTP version:
Toggling the Version 2 (v2) mode state modifies parameters of certain default VLANs.
•
•
Each VTP switch automatically detects the capabilities of all the other VTP devices. To use
Version 2, all VTP switches in the network must support Version 2; otherwise, you must configure
them to operate in VTP Version 1 mode.
If all switches in a domain are VTP Version 2-capable, you need only to configure Version 2 on one
•
switch; the version number is then propagated to the other Version-2 capable switches in the VTP
domain.
If you are using VTP in a Token Ring environment, VTP Version 2 must be enabled.
•
If you are configuring a Token Ring bridge relay function (TrBRF) or Token Ring concentrator relay
•
function (TrCRF) VLAN media type, you must use Version 2.
•
If you are configuring a Token Ring or Token Ring-NET VLAN media type, you must use Version 1.
In VTP version 3, all database VTP information is propagated across the VTP domain, not only
•
VLAN database information.
Two VTP version 3 regions can only communicate over a VTP version 1 or VTP version 2 region in
•
transparent mode.
You cannot save password, pruning, and version configurations in the switch configuration file.
This example shows how to rename the filename for VTP configuration storage to vtpfilename:
Switch(config)# vtp file vtpfilename
This example shows how to clear the device storage filename:
Switch(config)# no vtp file vtpconfig
Clearing device storage filename.
This example shows how to specify the name of the interface providing the VTP updater ID for this
device:
Switch(config)# vtp interface gigabitethernet
This example shows how to set the administrative domain for the switch:
Switch(config)# vtp domain OurDomainName
This example shows how to place the switch in VTP transparent mode:
Switch(config)# vtp mode transparent
This example shows how to configure the VTP domain password:
Switch(config)# vtp password ThisIsOurDomain'sPassword
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
OL-21522-02