vtp (global configuration)
To set or modify the VLAN Trunking Protocol (VTP) configuration characteristics, use the vtp command in
global configuration mode. To remove the settings or to return to the default settings, use the no form of this
command.
vtp {domain domain-name| file filename| interface 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}
Syntax Description
Specifies the VTP domain name, an ASCII string from 1 to 32 characters that identifies
the VTP administrative domain for the device. The domain name is case sensitive.
domain
domain-name
Specifies the Cisco IOS file system file where the VTP VLAN configuration is stored.
file filename
Specifies the name of the interface providing the VTP ID updated for this device.interface
interface-name
(Optional) Uses only the IP address of this interface as the VTP IP updater.only
Specifies the VTP device mode as client, server, or transparent.mode
Places the device in VTP client mode. A device 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 a VTP client. VLANs
are configured on another device in the domain that is in server mode. When a VTP
client starts up, it does not send VTP advertisements until it receives advertisements
to initialize its VLAN database.
client
Places the device in VTP off mode. A device in VTP off mode functions the same as
a VTP transparent device except that it does not forward VTP advertisements on trunk
ports.
off
Places the device in VTP server mode. A device in VTP server mode is enabled for
VTP and sends advertisements. You can configure VLANs on the device. The device
can recover all the VLAN information in the current VTP database from nonvolatile
storage after reboot.
server
Places the device in VTP transparent mode. A device 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 device 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 device
running configuration file, and you can save them in the device startup configuration
file by entering the copy running-config startup config privileged EXEC command.
transparent
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
1066
vtp (global configuration)