16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
Configuration Tasks
55
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
Configuring a VTP Client
When a switch is in VTP client mode, you cannot change the VLAN configuration on the switch. The
client switch receives VTP updates from a VTP server in the management domain and modifies its
configuration accordingly.
To configure the switch as a VTP client, use the following commands beginning in privileged EXEC mode:
Disabling VTP (VTP Transparent Mode)
When you configure the switch as VTP transparent, you disable VTP on the switch. A VTP transparent
switch does not send VTP updates and does not act on VTP updates received from other switches.
However, a VTP transparent switch running VTP version 2 does forward received VTP advertisements
out all of its trunk links.
To disable VTP on the switch, use the following commands beginning in privileged EXEC mode:
Configuring VTP version 2
To enable VTP version 2, use the following commands beginning in privileged EXEC mode:
Command
Purpose
Step 1
Router#
vlan
database
Enters VLAN configuration mode.
Step 2
Router(vlan)#
vtp
server
Configures the switch as a VTP server.
Step 3
Router(vlan)#
vtp domain
domain-name
Defines the VTP domain name, which can be up to 32 characters
long.
Step 4
Router(vlan)#
vtp password
password-value
(Optional) Sets a password, which can be from 8 to 64 characters
long, for the VTP domain.
Step 5
Router(vlan)#
exit
Exits VLAN configuration mode.
Command
Purpose
Step 1
Router#
vlan
database
Enters VLAN configuration mode.
Step 2
Router(vlan)#
vtp
client
Configures the switch as a VTP client.
Step 3
Router(vlan)#
exit
Exits VLAN configuration mode.
Command
Purpose
Step 1
Router#
vlan database
Enters VLAN configuration mode.
Step 2
Router(vlan)#
vtp transparent
Configures VTP transparent mode.
Step 3
Router(vlan)#
exit
Exits VLAN configuration mode.
Command
Purpose
Step 1
Router#
vlan database
Enters VLAN configuration mode.
Step 2
Router(vlan)# [
no
]
vtp v2
-
mode
Enables VTP version 2. Use the no keyword to disable VTP version 2.
Step 3
Router(vlan)#
exit
Exits VLAN configuration mode.