10-13
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 10 Understanding and Configuring VLANs, VTP, and VMPS
VLAN Trunking Protocol
Configuring VTP
The following sections describe how to configure VTP:
• Configuring VTP Global Parameters, page 10-13
• Configuring the Switch as a VTP Server, page 10-14
• Configuring the Switch as a VTP Client, page 10-15
• Disabling VTP (VTP Transparent Mode), page 10-16
• Displaying VTP Statistics, page 10-16
Configuring VTP Global Parameters
The following sections describe configuring the VTP global parameters:
• Configuring a VTP Password, page 10-13
• Enabling VTP Pruning, page 10-13
• Enabling VTP Version 2, page 10-14
Configuring a VTP Password
To configure the VTP password, perform this task:
This example shows how to configure a VTP password:
Switch# vtp password WATER
Setting device VLAN database password to WATER.
Switch#show vtp password
VTP Password:WATER
Switch#
Enabling VTP Pruning
To enable VTP pruning in the management domain, perform this task:
Command Purpose
Switch# [no] vtp password
password_string
Sets a password for the VTP domain. The password can
be from 8 to 64 characters.
Uses the no keyword to remove the password.
Command Purpose
Step 1
Switch# [no] vtp pruning
Enables VTP pruning in the management domain.
Use the no keyword to disable VTP pruning in the
management domain.
Step 2
Switch# show vtp status
Verifies the configuration.