SUMMARY STEPS
1.
enable
2.
configure terminal
3.
vtp domain domain-name
4.
vtp mode {client | server | transparent | off} {vlan | mst | unknown}
5.
vtp password password
6.
end
7.
show vtp status
8.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Switch> enable
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Configures the VTP administrative-domain name. The name can be 1 to
32 characters. All switches operating in VTP server or client mode under
vtp domain domain-name
Example:
Switch(config)# vtp domain eng_group
Step 3
the 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.
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 4
• 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.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2094
How to Configure VTP