Chapter 12
Configuring VTP
•
•
Configuration Requirements
When you configure VTP, you must configure a trunk port so that the switch can send and receive VTP
advertisements to and from other switches in the domain.
For more information, see the
If you are configuring extended-range VLANs on the switch, the switch must be in VTP transparent
mode.
VTP does not support private VLANs. If you configure private VLANs, the switch must be in VTP
transparent mode. When private VLANs are configured on the switch, do not change the VTP mode from
transparent to client or server mode.
Configuring a VTP Server
When a switch is in VTP server mode, you can change the VLAN configuration and have it propagated
throughout the network.
Note
If extended-range VLANs are configured on the switch, you cannot change VTP mode to server. You
receive an error message, and the configuration is not allowed.
Beginning in privileged EXEC mode, follow these steps to configure the switch as a VTP server:
Command
Step 1
configure terminal
Step 2
vtp mode server
Step 3
vtp domain domain-name
Step 4
vtp password password
Step 5
end
Step 6
show vtp status
OL-8915-03
Do not enable VTP Version 2 on a switch unless all of the switches in the same VTP domain are
Version-2-capable. When you enable Version 2 on a switch, all of the Version-2-capable switches in
the domain enable Version 2. If there is a Version 1-only switch, it does not exchange VTP
information with switches that have Version 2 enabled.
If there are TrBRF and TrCRF Token Ring networks in your environment, you must enable VTP
Version 2 for Token Ring VLAN switching to function properly. To run Token Ring and Token
Ring-Net, disable VTP Version 2.
Purpose
Enter global configuration mode.
Configure the switch for VTP server mode (the default).
Configure the VTP administrative-domain name. The name can be 1 to 32
characters. All switches operating in VTP server or client mode under the
same administrative responsibility must be configured with the same
domain name.
(Optional) Set the password for the VTP domain. The password can be 8 to
64 characters.
If you configure a VTP password, the VTP domain does not function
properly if you do not assign the same password to each switch in the
domain.
Return to privileged EXEC mode.
Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
"Configuring VLAN Trunks" section on page
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
Configuring VTP
11-16.
12-9