Vtp Configuration Options; Vtp Configuration In Privileged Exec And Global Configuration Modes; Vtp Configuration In Vlan Configuration Mode - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 14
Configuring VTP

VTP Configuration Options

You can configure VTP by using these configuration modes.
For detailed information about vtp commands, refer to the Catalyst 2950 Desktop Switch Command
Reference for this release.

VTP Configuration in Privileged EXEC and Global Configuration Modes

You can use the vtp privileged EXEC command to configure the VTP password and version (version 1
or version 2) and to enable or disable pruning. You can use the vtp global configuration command to set
the VTP file name, the interface providing updated VTP information, the domain name, and the mode.
For more information about available keywords, refer to the command descriptions in the Catalyst 2950
Desktop Switch Command Reference for this release. The VTP information is saved in the VLAN
database. When VTP mode is transparent, the VTP global configuration information is 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, even if the switch resets.
When you save VTP information in the switch startup configuration file and reboot the switch, the switch
configuration is determined as follows:

VTP Configuration in VLAN Configuration Mode

You can configure all VTP parameters in VLAN configuration mode, which you access by entering the
vlan database privileged EXEC command. For more information about available keywords, refer to the
vtp VLAN configuration command description in the Catalyst 2950 Desktop Switch Command
Reference for this release. When you enter the exit command in VLAN configuration mode, it applies
all the commands that you entered and updates the VLAN database. VTP messages are sent to other
switches in the VTP domain, and the privileged EXEC mode prompt appears.
78-11380-04
VTP Configuration in Privileged EXEC and Global Configuration Modes, page 14-7
VTP Configuration in VLAN Configuration Mode, page 14-7
You access VLAN configuration mode by entering the vlan database privileged EXEC command.
If the VTP mode is transparent in 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), and 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 domain name in the startup configuration do not match the VLAN database, the
domain name and VTP mode and configuration for the first 1005 VLANs use the VLAN database
information.
If the switch is running IOS release 12.1(9)EA1 or later and you use an older configuration file to
boot up the switch, the configuration file does not contain VTP or VLAN information, and the
switch uses the VLAN database configurations.
If the switch is running an IOS release earlier than 12.1(9)EA1 on the switch and you use a
configuration file from IOS release 12.1(9)EA1 or later to boot up the switch, the image on the
switch does not recognize VLAN and VTP configurations in the configuration file, so the switch
uses the VLAN database configuration.
Catalyst 2950 Desktop Switch Software Configuration Guide
Configuring VTP
14-7

Advertisement

Table of Contents
loading

Table of Contents