user manual
DETAILED STEPS
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 1
Configures the VTP administrative-domain name. The name can be 1 to 32
characters. All switches operating in VTP server or client mode under the
vtp domain domain-name
Example:
Switch(config)# vtp domain
Step 2
same administrative responsibility must be configured with the same domain
name.
This command is optional for modes other than server mode. VTP server
mode requires 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
You should configure the VTP domain before configuring other VTP
parameters.
Note
Configures the switch for VTP mode (client, server, transparent, or off).vtp mode {client | server | transparent
| off} {vlan | mst | unknown}
Step 3
• vlan—The VLAN database is the default if none are configured.
Example:
Switch(config)# vtp mode server
• mst—The multiple spanning tree (MST) database.
• unknown—An unknown database type.
To return a switch in another mode to VTP server mode, use the no
vtp mode global configuration command.
Note
(Optional) Sets the password for the VTP domain. The password can be 8 to
64 characters. If you configure a VTP password, the VTP domain does not
vtp password password
Example:
Switch(config)# vtp password
Step 4
function properly if you do not assign the same password to each switch in
the domain.
To return the switch to a no-password state, use the no vtp password
global configuration command.
Note
mypassword
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Verifies your entries in the VTP Operating Mode and the VTP Domain Name
fields of the display.
show vtp 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