15-14
Catalyst 2975 Switch Software Configuration Guide
OL-19720-02
Chapter 15 Configuring VTP
Configuring VTP
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.
Caution
In VTP version 3, both the primary and secondary servers can exist on an instance in the domain.
For more information on VTP version configuration guidelines, see the
.
Beginning in privileged EXEC mode, follow these steps to configure the VTP version:
To return to the default VTP version 1, use the
no vtp version
global configuration command
.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
vtp version
{
1 | 2 | 3
}
Enable the VTP version on the switch. The default is VTP version 1.
Step 3
end
Return to privileged EXEC mode.
Step 4
show vtp status
Verify that the configured VTP version is enabled.
Step 5
copy running-config
startup-config
(Optional) Save the configuration in the startup configuration file.
Содержание 2975 - Catalyst LAN Base Switch
Страница 36: ...Contents xxxvi Catalyst 2975 Switch Software Configuration Guide OL 19720 02 ...
Страница 40: ...xxxviii Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Preface ...
Страница 62: ...1 22 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 1 Overview Where to Go Next ...
Страница 398: ...13 30 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 13 Configuring VLANs Configuring VMPS ...
Страница 424: ...15 18 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 15 Configuring VTP Monitoring VTP ...
Страница 628: ...26 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 26 Configuring UDLD Displaying UDLD Status ...
Страница 660: ...28 8 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 28 Configuring RMON Displaying RMON Status ...
Страница 888: ...38 32 Catalyst 2975 Switch Software Configuration Guide OL 19720 02 Chapter 38 Troubleshooting Troubleshooting Tables ...