13-9
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 13 Configuring VTP
Configuring VTP
Configuring the VTP Mode
To configure the VTP mode, perform this task:
Note In VTP transparent mode, the VLAN configuration is stored in the startup configuration file.
This example shows how to configure the router as a VTP server:
Router# configuration terminal
Router(config)# vtp mode server
Setting device to VTP SERVER mode.
Router(config)# vtp domain Lab_Network
Setting VTP domain name to Lab_Network
Router(config)# end
Router#
This example shows how to verify the configuration:
Router# show vtp status
VTP Version : 2
Configuration Revision : 247
Maximum VLANs supported locally : 1005
Number of existing VLANs : 33
VTP Operating Mode : Server
VTP Domain Name : Lab_Network
VTP Pruning Mode : Enabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x45 0x52 0xB6 0xFD 0x63 0xC8 0x49 0x80
Configuration last modified by 0.0.0.0 at 8-12-99 15:04:49
Local updater ID is 172.20.52.34 on interface Gi1/1 (first interface found)
Router#
This example shows how to configure the router as a VTP client:
Router# configuration terminal
Router(config)# vtp mode client
Setting device to VTP CLIENT mode.
Router(config)# exit
Router#
Command Purpose
Step 1
Router(config)# vtp mode {client | server |
transparent}
Configures the VTP mode.
Router(config)# no vtp mode
Reverts to the default VTP mode (server).
Step 2
Router(config)# vtp domain
domain_name
(Optional for server mode) Defines the VTP domain
name, which can be up to 32 characters long. VTP server
mode requires a domain name. If the router has a trunk
connection to a VTP domain, the router learns the domain
name from the VTP server in the domain.
Note You cannot clear the domain name.
Step 3
Router(config)# end
Exits VLAN configuration mode.
Step 4
Router# show vtp status
Verifies the configuration.