Cisco Cisco Gigabit Ethernet Switch Module (CGESM) for HP Technical References

Page of 742
   
2-558
Cisco Gigabit Ethernet Switch Module for the HP p-Class BladeSystem Command Reference Guide
380265-002
Chapter  2      CGESM Switch Cisco IOS Commands
vtp (VLAN configuration)
vtp (VLAN configuration)
Use the vtp VLAN configuration command to configure VLAN Trunking Protocol (VTP) 
characteristics. You access VLAN configuration mode by entering the 
 privileged EXEC 
command. Use the no form of this command to return to the default settings, disable the characteristic, 
or remove the password. 
vtp {domain domain-name | password password | pruning | v2-mode | {server | client | 
transparent}}
no vtp {client | password | pruning | transparent | v2-mode
Syntax Description
Defaults
The default mode is server mode.
No domain name is defined.
No password is configured.
Pruning is disabled.
VTP Version 2 (v2 mode) is disabled.
domain domain-name
Set the VTP domain name by entering an ASCII string from 1 to 32 
characters that identifies the VTP administrative domain for the switch. The 
domain name is case sensitive.
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 pruning in the VTP administrative domain. VTP pruning causes 
information about each pruning-eligible VLAN to be removed from VTP 
updates if there are no stations belonging to that VLAN.
v2-mode
Enable VLAN Trunking Protocol (VTP) Version 2 in the administrative 
domains.
client
Place the switch in VTP client mode. A switch in VTP client mode is enabled 
for VTP, can send advertisements, but does not have enough nonvolatile 
storage to store VLAN configurations. You cannot configure VLANs on it. 
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 it. 
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.