302
Configuring VTP
Information About Configuring VTP
Turn off VTP pruning by making all VLANs on the trunk of the switch upstream to the VTP transparent switch pruning
ineligible.
To configure VTP pruning on an interface, use the
switchport trunk pruning vlan
interface configuration command. VTP
pruning operates when an interface is trunking. You can set VLAN pruning-eligibility, whether or not VTP pruning is
enabled for the VTP domain, whether or not any given VLAN exists, and whether or not the interface is currently trunking.
Default VTP Settings
VTP Configuration Guidelines
You use the
vtp
global configuration command to set the VTP password, the version, the VTP filename, the interface
providing updated VTP information, the domain name, and the mode, and to disable or enable pruning. The VTP
information is saved in the VTP VLAN database. When VTP mode is transparent, the VTP domain name and mode are
also saved in the switch running configuration file, and you can save it in the switch startup configuration file by entering
the
copy running-config startup-config
privileged EXEC command. You must use this command if you want to save
VTP mode as transparent if the switch resets.
When you save VTP information in the switch startup configuration file and restart the switch, the configuration is selected
as follows:
If the VTP mode is transparent in both the startup configuration and the VLAN database and the VTP domain name
from the VLAN database matches that in the startup configuration file, the VLAN database is ignored (cleared). The
VTP and VLAN configurations in the startup configuration file are used. The VLAN database revision number remains
unchanged in the VLAN database.
If the VTP mode or the domain name in the startup configuration do not match the VLAN database, the domain name
and the VTP mode and configuration for the first 1005 VLANs use the VLAN database information.
Domain Names
When configuring VTP for the first time, you must always assign a domain name. You must configure all switches in the
VTP domain with the same domain name. Switches in VTP transparent mode do not exchange VTP messages with other
switches, and you do not need to configure a VTP domain name for them.
Note:
If NVRAM and DRAM storage is sufficient, all switches in a VTP domain should be in VTP server mode.
Caution:
Do not configure a VTP domain if all switches are operating in VTP client mode. If you configure the domain,
it is impossible to make changes to the VLAN configuration of that domain. Make sure that you configure at least
one switch in the VTP domain for VTP server mode.
Feature
Default Setting
VTP domain name
Null.
VTP mode (VTP version 1 and version 2)
Server.
VTP mode (VTP version 3)
The mode is the same as the mode in VTP version 1 or 2 before
conversion to version 3.
VTP version
Version 1.
MST database mode
Transparent.
VTP version 3 server type
Secondary.
VTP password
None.
VTP pruning
Disabled.
Содержание 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 ...