DETAILED STEPS
PurposeCommand or Action
Entersthe global configurationmode.configureterminal
Example:
Switch# configure terminal
Step 1
Configuresthe VTP administrative-domain name. The name can be 1 to 32
characters.All switches operating inVTP serveror clientmode under the
vtpdomain domain-name
Example:
Switch(config)# vtp domain
Step 2
sameadministrative responsibility must be configured with the same domain
name.
Thiscommand is optionalfor modes otherthan servermode. VTP server
moderequires a domain name. If the switch has a trunk connection to a VTP
domain,the switch learns the domain name from the VTP server in the domain.
eng_group
Youshould configure the VTP domain before configuring other VTP
parameters.
Note
Configuresthe switch for VTP mode (client, server, transparent, or off).vtpmode {client |server |transparent
|off}{vlan |mst |unknown}
Step 3
vlanTheVLAN databaseis the defaultif none areconfigured.
Example:
Switch(config)# vtp mode server
mstThemultiple spanning tree(MST) database.
unknownAnunknown databasetype.
Toreturn a switch in another mode to VTP server mode, use the no
vtpmode global configurationcommand.
Note
(Optional)Sets the password for the VTP domain. The password can be 8 to
64characters. If you configure a VTP password, the VTP domain does not
vtppassword password
Example:
Switch(config)# vtp password
Step 4
functionproperly if you do not assign the same password to each switch in
thedomain.
Toreturn the switch to a no-password state, use the no vtp password
globalconfiguration command.
Note
mypassword
Returnsto privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Verifiesyour entries in the VTP Operating Mode and the VTP Domain Name
fieldsof the display.
showvtp status
Example:
Switch# show vtp status
Step 6
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29440-01 25
Configuring VTP
Configuring VTP Mode