14-14
Catalyst 3750-E and 3560-E Switch Software Configuration Guide
OL-9775-08
Chapter 14 Configuring VTP
Configuring VTP
Configuring a VTP Version 3 Primary Server
Beginning in privileged EXEC mode, follow these steps on a VTP server to configure it as a VTP
primary server (version 3 only), which starts a takeover operation:
This example shows how to configure a switch as the primary server for the VLAN database (the default)
when a hidden or secret password was configured:
Switch#
vtp primary vlan
Enter VTP password:
mypassword
This switch is becoming Primary server for vlan feature in the VTP domain
VTP Database Conf Switch ID Primary Server Revision System Name
------------ ---- -------------- -------------- -------- --------------------
VLANDB Yes 00d0.00b8.1400=00d0.00b8.1400 1 stp7
Do you want to continue (y/n) [n]?
y
Enabling the VTP Version
VTP version 2 and version 3 are disabled by default.
•
When you enable VTP version 2 on a switch, every VTP version 2-capable switch in the VTP
domain enables version 2. To enable VTP version 3, you must manually configure it on each switch.
•
With VTP versions 1 and 2, you can configure the version only on switches in VTP server or
transparent mode. If a switch is running VTP version 3, you can change to version 2 when the switch
is in client mode if no extended VLANs exist, no private VLANs exist, and no hidden password was
configured.
Caution
VTP version 1 and VTP version 2 are not interoperable on switches in the same VTP domain. Do not
enable VTP version 2 unless every switch in the VTP domain supports version 2.
•
In TrCRF and TrBRF Token ring environments, you must enable VTP version 2 or VTP version 3
for Token Ring VLAN switching to function properly. For Token Ring and Token Ring-Net media,
disable VTP version 2 must be disabled.
•
VTP version 3 is supported on switches running Cisco IOS Release 12.2(52) SE or later.
Command
Purpose
Step 1
vtp primary-server
[
vlan | mst
]
[
force
]
Change the operational state of a switch from a secondary server (the
default) to a primary server and advertise the configuration to the domain.
If the switch password is configured as
hidden
, you are prompted to reenter
the password.
•
(Optional)
vlan
—Select the VLAN database as the takeover feature.
This is the default.
•
(Optional)
mst
—Select the multiple spanning tree (MST) database as
the takeover feature.
•
(Optional)
force
—Entering
force
overwrites the configuration of any
conflicting servers. If you do not enter
force
, you are prompted for
confirmation before the takeover.
Содержание Catalyst 3750-E Series
Страница 48: ...Contents xlviii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...
Страница 52: ...lii Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 Preface ...
Страница 1414: ...Index IN 58 Catalyst 3750 E and 3560 E Switch Software Configuration Guide OL 9775 08 ...