Configuring VTP
•
•
Configuring a VTP Server
When a switch is in VTP server mode, you can change the VLAN configuration and have it propagate
throughout the network.
To configure the switch as a VTP server, perform this task in privileged mode:
Task
Step 1
Define the VTP domain name.
Step 2
Place the switch in VTP server mode.
Step 3
(Optional) Set a password for the VTP domain.
Step 4
Verify the VTP configuration.
This example shows how to configure the switch as a VTP server and verify the configuration:
Console> (enable) set vtp domain Lab_Network
VTP domain Lab_Network modified
Console> (enable) set vtp mode server
VTP domain Lab_Network modified
Console> (enable) show vtp domain
Domain Name
-------------------------------- ------------ ----------- ----------- ----------
Lab_Network
Vlan-count Max-vlan-storage Config Revision Notifications
---------- ---------------- --------------- -------------
10
Last Updater
--------------- -------- -------- -------------------------
172.20.52.70
Console> (enable)
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, perform this task in privileged mode:
Task
Step 1
Define the VTP domain name.
Step 2
Place the switch in VTP client mode.
Step 3
Verify the VTP configuration.
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
9-6
Disabling VTP Pruning, page 9-10
Monitoring VTP, page 9-10
1023
V2 Mode
Pruning
disabled disabled 2-1000
Command
set vtp domain name
set vtp mode server
set vtp passwd passwd
show vtp domain
Domain Index VTP Version Local Mode
1
2
40
enabled
PruneEligible on Vlans
Command
set vtp domain name
set vtp mode client
show vtp domain
Chapter 9
Configuring VTP
Password
server
-
78-12647-02