18-11
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter18 Configuring VTP Configuring VTP
This example shows how to use VLAN configuration mode to configure the switch as a VTP server with
the domain name eng_group and the password mypassword:
Switch# vlan database
Switch(vlan)# vtp server
Switch(vlan)# vtp domain eng_group
Switch(vlan)# vtp password mypassword
Switch(vlan)# exit
APPLY completed.
Exiting....
Configuring a VTP Client
When a switch is in VTP client mode, you cannot change its VLAN configuration. The client switch
receives VTP updates from a VTP server in the VTP domain and then modifies its configuration
accordingly.
Note If extended-range VLANs are configured on the switch, yo u c anno t ch an ge VT P mo de to c lient . You
receive an error message, and the configuration is not allowed.
Caution If all switches are operating in VTP client mode, do not configure a VTP domain name. If you do, it is
impossible to make changes to the VLAN configuration of that dom ai n. T he refo re, ma ke s ure y ou
configure at least one switch as a VTP server.
Beginning in privileged EXEC mode, follow these steps to configure the switch as a VTP client:
Use the no vtp mode global configuration command to return the switch to VTP server mode. To return
the switch to a no-password state, use the no vtp password global configuration comman d. When you
configure a domain name, it cannot be removed; you can only reassign a switch to a different domain.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 vtp mode client Configure the switch for VTP client mode. The default setting is VTP
server.
Step3 vtp domain domain-name (Optional) Enter the VTP administrative-domain name. The name can be
from 1 to 32 characters. This should be the same domain name as the VTP
server.
All switches operating in VTP server or client mode under the same
administrative responsibility must be configured with the same domain
name.
Step4 vtp password password (Optional) Enter the password for the VTP domain.
Step5 end Return to privileged EXEC mode.
Step6 show vtp status Verify your entries in t he VTP O per ating Mode and the VTP D omain Na me
fields of the display.