Cisco WS-C3560V2-24TS-E Command Reference - Page 726
vtp (global configuration
View all Cisco WS-C3560V2-24TS-E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 726 highlights
vtp (global configuration) Chapter 2 Catalyst 3560 Switch 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. 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 file filename interface name only mode client server transparent password password pruning version number 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 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. 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. 2-694 Catalyst 3560 Switch Command Reference 78-16405-05