305
Configuring VTP
How to Configure VTP
Enabling the VTP Version
Enabling VTP Pruning
Configuring VTP on a Per-Port Basis
Adding a VTP Client Switch to a VTP Domain
Before You Begin
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.
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
vtp version
{
1 | 2 | 3
}
Enables the VTP version on the switch. The default is VTP version 1.
3.
end
Returns to privileged EXEC mode.
4.
show vtp status
Verifies that the configured VTP version is enabled.
5.
copy running-config
startup-config
(Optional) Saves the configuration in the startup configuration file.
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
vtp pruning
Enables pruning in the VTP administrative domain.
By default, pruning is disabled. You need to enable pruning on only one switch
in VTP server mode.
3.
end
Returns to privileged EXEC mode.
4.
show vtp status
Verifies your entries in the
VTP Pruning Mode
field of the display.
Command
Purpose
1.
configure terminal
Enters global configuration mode.
2.
interface
interface-id
Identifies an interface, and enters interface configuration mode.
3.
vtp
Enables VTP on the specified port.
4.
end
Returns to privileged EXEC mode.
5.
show running-config interface
interface-id
Verifies the change to the port.
6.
show vtp status
Verifies the configuration.
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 ...