Command Line Interface Reference Guide HP BladeSystem PC Blade Switch
HP PC Blade Switch CLI Reference Guide www.hp.com 28-9
VLAN Commands
switchport trunk native vlan
The switchport trunk native vlan Interface Configuration mode command defines the native
VLAN when the interface is in trunk mode. To return to the default configuration, use the no
form of this command.
Syntax
switchport trunk native vlan vlan-id
no switchport trunk native vlan
Parameters
n vlan-id— Specifies the ID of the native VLAN.
Default Setting
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
The command adds the port as a member in the VLAN. If the port is already a member in the
VLAN (not as a native), it should be first removed from the VLAN.
.
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
command
configures VLAN number 123 as the native VLAN when Ethernet port
e42 is in trunk mode.
Console(config)# interface ethernet e42
Console(config-if)# switchport trunk native vlan 123










