Cisco Systems 2960 Model Vehicle User Manual


  Open as PDF
of 1004
 
14-9
Catalyst 2960 and 2960-S Switch Software Configuration Guide
OL-8603-09
Chapter 14 Configuring VTP
Configuring VTP
Configuring VTP on a Per-Port Basis, page 14-16
Adding a VTP Client Switch to a VTP Domain, page 14-17
Default VTP Configuration
Table 14-2 shows the default VTP configuration.
VTP Configuration Guidelines
You use the vtp global configuration command to set the VTP password, the version, the VTP file name,
the interface providing updated VTP information, the domain name, and the mode, and to disable or
enable pruning. For more information about available keywords, see the command descriptions in the
command reference for this release. 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 255 VLANs use the VLAN
database information.
Table 14-2 Default VTP Configuration
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.