303
Configuring VTP
How to Configure VTP
Passwords
You can configure a password for the VTP domain, but it is not required. If you do configure a domain password, all
domain switches must share the same password and you must configure the password on each switch in the
management domain. Switches without a password or with the wrong password reject VTP advertisements.
If you configure a VTP password for a domain, a switch that is booted without a VTP configuration does not accept VTP
advertisements until you configure it with the correct password. After the configuration, the switch accepts the next VTP
advertisement that uses the same password and domain name in the advertisement.
If you are adding a new switch to an existing network with VTP capability, the new switch learns the domain name only
after the applicable password has been configured on it.
Caution:
When you configure a VTP domain password, the management domain does not function properly if you
do not assign a management domain password to each switch in the domain.
Adding a VTP Client Switch to a VTP Domain
Before adding a VTP client to a VTP domain, always verify that its VTP configuration revision number is
lower
than the
configuration revision number of the other switches in the VTP domain. Switches in a VTP domain always use the VLAN
configuration of the switch with the highest VTP configuration revision number. With VTP versions 1 and 2, adding a
switch that has a revision number higher than the revision number in the VTP domain can erase all VLAN information from
the VTP server and VTP domain. With VTP version 3, the VLAN information is not erased.
How to Configure VTP
Configuring VTP Domain and Parameters
Before You Begin
You should configure the VTP domain before configuring other VTP parameters.
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
vtp domain
domain-name
Configures 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.
This command is optional for modes other than server mode. VTP server
mode requires a domain name. If the switch has a trunk connection to a
VTP domain, the switch learns the domain name from the VTP server in the
domain.
3.
vtp mode
{
client | server
|
transparent
|
off
} {
vlan
|
mst
|
unknown
}
Configures the switch for VTP mode (client, server, transparent, or off).
(Optional) Database parameters:
vlan
—The VLAN database is the default if none are configured.
mst
—The multiple spanning tree (MST) database.
unknown
—An unknown database type.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...