Vtp (Global Configuration) - Cisco Catalyst 3560X-24P Command Reference Manual

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands

vtp (global configuration)

Use the vtp global configuration command on the switch stack or on a standalone switch to set or modify
the VLAN Trunking Protocol (VTP) configuration characteristics. Use the no form of this command to
remove the settings or to return to the default settings.
Syntax Description
domain domain-name
file filename
interface name
only
mode
client
off
server
transparent
mst
unknown
OL-21522-02
vtp {domain domain-name | file filename | interface name [only] | mode {client | off | server |
transparent} [mst | unknown | vlan] | password password [hidden | secret] | pruning |
version number}
no vtp {file | interface | mode [client | off | server | transparent] [mst | unknown | vlan] |
password | pruning | version}
Specify the VTP domain name, an ASCII string from 1 to 32 characters that
identifies the VTP administrative domain for the switch. The domain name
is case sensitive.
Specify the Cisco IOS file system file where the VTP VLAN configuration
is stored.
Specify the name of the interface providing the VTP ID updated for this
device.
(Optional) Use only the IP address of this interface as the VTP IP updater.
Specify the VTP device mode as client, server, or transparent.
Place the switch in VTP client mode. A switch in VTP client mode is enabled
for VTP, and can send advertisements, but does not have enough nonvolatile
storage to store VLAN configurations. You cannot configure VLANs on the
switch. When a VTP client starts up, it does not send VTP advertisements
until it receives advertisements to initialize its VLAN database.
Place the switch in VTP off mode. A switch in off VTP off mode functions
the same as a VTP transparent device except that it does not forward VTP
advertisements on trunk ports.
Place the switch in VTP server mode. A switch in VTP server mode is
enabled for VTP and sends advertisements. You can configure VLANs on the
switch. The switch can recover all the VLAN information in the current VTP
database from nonvolatile storage after reboot.
Place the switch in VTP transparent mode. A switch in VTP transparent
mode is disabled for VTP, does not send advertisements or learn from
advertisements sent by other devices, and cannot affect VLAN
configurations on other devices in the network. The switch receives VTP
advertisements and forwards them on all trunk ports except the one on which
the advertisement was received.
When VTP mode is transparent, the mode and domain name are saved in the
switch running configuration file, and you can save them in the switch
startup configuration file by entering the copy running-config startup
config privileged EXEC command.
(Optional) Set the mode for the multiple spanning tree (MST) VTP database
(only VTP version 3).
(Optional) Set the mode for unknown VTP databases (only VTP version 3).
Catalyst 3750-X and 3560-X Switch Command Reference
vtp (global configuration)
2-939

Advertisement

Table of Contents
loading

Table of Contents