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.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...