Configuring VTP
Command
Step 4
end
Step 5
vtp password password
Step 6
show vtp status
Step 7
copy running-config startup-config
When you configure a domain name, it cannot be removed; you can only reassign a switch to a different
domain.
To return the switch to a no-password state, use the no vtp password privileged EXEC command.
This example shows how to use global configuration mode to configure the switch as a VTP server with
the domain name eng_group:
Switch# config terminal
Switch(config)# vtp mode server
Switch(config)# vtp domain eng_group
Switch(config)# end
Switch#
You can also use VLAN configuration mode to configure VTP parameters. Beginning in privileged
EXEC mode, follow these steps to use VLAN configuration mode to configure the switch as a VTP
server:
Command
Step 1
vlan database
Step 2
vtp server
Step 3
vtp domain domain-name
Step 4
vtp password password
Step 5
exit
Step 6
show vtp status
Step 7
copy running-config
startup-config
Catalyst 2950 Desktop Switch Software Configuration Guide
14-10
Purpose
Return to privileged EXEC mode.
(Optional) Set the password for the VTP domain. The password can be
from 8 to 64 characters.
If you configure a VTP password, the VTP domain does not function
properly if you do not assign the same password to each switch in the
domain.
Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
(Optional) Save the configuration in the startup configuration file.
The VTP password is not saved in the switch startup configuration
Note
file.
Purpose
Enter VLAN configuration mode.
Configure the switch for VTP server mode (the default).
Configure a VTP administrative-domain name. The name can be from 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.
(Optional) Set a password for the VTP domain. The password can be from 8
to 64 characters.
If you configure a VTP password, the VTP domain does not function properly
if you do not assign the same password to each switch in the domain.
Update the VLAN database, propagate it throughout the administrative
domain, and return to privileged EXEC mode.
Verify your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
(Optional) Save the VTP mode in the startup configuration file.
Chapter 14
Configuring VTP
78-11380-04