PurposeCommand or Action
Configures a VTP administrative domain.
vtp domain domain-name
Step 3
Example:
Switch(config)# vtp domain workdomain
The domain name can be 1 to 32 characters.
Configures Switch A as the VTP server.vtp mode server
Example:
Switch(config)# vtp mode server
Step 4
Returns to privileged EXEC mode.end
Example:
Switch(config)# end
Step 5
Verifies the VTP configuration on both Switch A and
Switch B.
show vtp status
Example:
Switch# show vtp status
Step 6
In the display, check the VTP Operating Mode and the
VTP Domain Name fields.
Verifies that the VLANs exist in the database on Switch
A.
show vlan
Example:
Switch# show vlan
Step 7
Enters global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 8
Defines the interface to be configured as a trunk, and
enters interface configuration mode.
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
Step 9
Configures the port as a trunk port.switchport mode trunk
Example:
Switch(config-if)# switchport mode trunk
Step 10
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2143
How to Configure VLAN Trunks