Switchport Trunk Allowed Vlan - HP BladeSystem bc2000 - Blade PC Reference Manual

Command line interface reference guide hp bladesystem pc blade switch
Hide thumbs Also See for BladeSystem bc2000 - Blade PC:
Table of Contents

Advertisement

VLAN Commands

switchport trunk allowed vlan

The switchport trunk allowed vlan Interface Configuration mode command adds or removes
VLANs to or from a trunk port.
Syntax
switchport trunk allowed vlan {add vlan-list | remove vlan-list}
Parameters
add vlan-list — List of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a
n
comma and no spaces. A hyphen designates a range of IDs.
remove vlan-list — List of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs
n
with a comma and no spaces. A hyphen designates a range of IDs.
Default Setting
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
.
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 adds VLANs 1, 2, 5 to 6 to the allowed list of Ethernet port e42.
Console(config)# interface ethernet e42
Console(config-if)# switchport trunk allowed vlan add 1-2,5-6
28-8
www.hp.com
HP PC Blade Switch CLI Reference Guide

Advertisement

Table of Contents
loading

Table of Contents