2-855
Cisco Catalyst Blade Switch 3120 for HP Command Reference
OL-12248-03
Chapter 2 Cisco Catalyst Blade Switch 3120 for HP Cisco IOS Commands
vtp (VLAN configuration)
•
Domain names are case sensitive.
•
After you configure a domain name, it cannot be removed. You can reassign it only to a different
domain.
Follow these guidelines when configuring a VTP password:
•
Passwords are case sensitive. Passwords should match on all switches in the same domain.
•
When the
no
vtp password
form of the command is used, the switch returns to the no-password
state.
Follow these guidelines when enabling VTP pruning:
•
If you enable pruning on the VTP server, it is enabled for the entire management domain.
•
Only VLANs included in the pruning-eligible list can be pruned.
•
Pruning is supported with VTP Version 1 and Version 2.
Follow these guidelines when enabling VTP Version 2 (v2-mode):
•
Toggling the version (v2-mode) state modifies certain parameters of certain default VLANs.
•
Each VTP switch automatically detects the capabilities of all the other VTP devices. To use VTP
Version 2, all VTP switches in the network must support Version 2; otherwise, you must configure
them to operate in VTP Version 1 (
no vtp v2-mode
).
•
If all switches in a domain are VTP Version 2-capable, you need only to enable VTP 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 or configuring a Token Ring bridge relay
function (TrBRF) or Token Ring concentrator relay function (TrCRF) VLAN media type, VTP
Version 2 (
v2-mode
) must be enabled.
•
If you are configuring a Token Ring or Token Ring-NET VLAN media type, you must use VTP
Version 1.
Examples
This example shows how to place the switch in VTP transparent mode:
Switch(vlan)#
vtp transparent
Setting device to VTP TRANSPARENT mode.
This example shows how to set the administrative domain for the switch:
Switch(vlan)#
vtp domain OurDomainName
Changing VTP domain name from cisco to OurDomainName
This example shows how to configure the VTP domain password:
Switch(vlan)#
vtp password private
Setting device VLAN database password to private.
This example shows how to enable pruning in the proposed new VLAN database:
Switch(vlan)#
vtp pruning
Pruning switched ON
This example shows how to enable v2 mode in the proposed new VLAN database:
Switch(vlan)#
vtp v2-mode
V2 mode enabled.
You can verify your settings by entering the
show vtp status
privileged EXEC command.