Vtp (Global Configuration) - Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands

vtp (global configuration)

Use the vtp global configuration command 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
mode {client | server |
transparent}
password password
pruning
version number
OL-10102-01
vtp {domain domain-name | file filename | interface name | mode {client | server | transparent}
| password password | pruning | version number}
no vtp {file | interface | mode | 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.
Specify the VTP device mode. The keywords have these meanings:
Set the administrative domain password for the generation of the 16-byte
secret value used in MD5 digest calculation to be sent in VTP advertisements
and to validate received VTP advertisements. The password can be an ASCII
string from 1 to 32 characters. The password is case sensitive.
Enable VTP pruning on the switch.
Set VTP version to version 1 or version 2.
client—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.
server—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.
transparent—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.
Catalyst 2950 and Catalyst 2955 Switch Command Reference
vtp (global configuration)
2-551

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents