Command Line Interface Reference Guide HP BladeSystem PC Blade Switch

HP PC Blade Switch CLI Reference Guide www.hp.com 28-11
VLAN Commands
switchport general pvid
The switchport general pvid Interface Configuration mode command configures the PVID
when the interface is in general mode. To return to the default configuration, use the no form of
this command.
Syntax
switchport general pvid
vlan-id
no switchport general pvid
Parameters
n vlan-id — Specifies the PVID (Port VLAN ID).
Default Setting
If the default VLAN is enabled, PVID = 1. Otherwise, PVID=4095.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
There are no user guidelines for this command.
.
When MSTP-to-RSTP is enabled (enabled by default) attempting to put any switch port into
trunk or general mode will cause the following error message: Port <Number>, extension
separated-bridge exist. This feature must be disabled before the switch can support these
modes. Please see spanning-tree mst mstp-rstp for more information.
Example
The following
commands
configure the PVID for Ethernet port e42, when the interface is in
general mode.
Console(config)# interface ethernet e42
Console(config-if)# switchport general pvid 234