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
Summary of Contents for BladeSystem bc2000 - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 142: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 152: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 162: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 178: ...1 1 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 194: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 202: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 208: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 216: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 272: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 362: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...