2-909
Catalyst 3750 Switch Command Reference
OL-8552-07
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
vtp (global configuration)
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.
vtp
{
domain
domain-name
|
file
filename
|
interface
name
[
only
] |
mode
{
client
|
server
|
transparent
} |
password
password
|
pruning
|
version
number
}
no vtp
{
file
|
interface
|
mode
|
password
|
pruning
|
version
}
Syntax Description
domain
domain-name
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.
file
filename
Specify the Cisco IOS file system file where the VTP VLAN configuration
is stored.
interface
name
Specify the name of the interface providing the VTP ID updated for this
device.
only
(Optional) Use only the IP address of this interface as the VTP IP updater.
mode
Specify the VTP device mode as client, server, or transparent.
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.
password
password
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.
pruning
Enable VTP pruning on the switch.
version
number
Set VTP version to Version 1 or Version 2.
Содержание 3750 - Catalyst EMI Switch
Страница 494: ...2 464 Catalyst 3750 Switch Command Reference OL 8552 07 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reserved only ...
Страница 772: ...2 742 Catalyst 3750 Switch Command Reference OL 8552 07 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp ...
Страница 1132: ...D 2 Catalyst 3750 Switch Command Reference OL 8552 07 Appendix D Acknowledgments for Open Source Software ...