ProLiant BL p-Class GbE Interconnect Switch Command Line Interface Reference Guide
Configuring the GbE Interconnect Switch using the Command Line Interface
Creating an 802.1Q Static VLAN
Use the following command to create a new 802.1Q static VLAN:
Command Description
vlan create
[name <vlan_name> | id <vlan_id>]
[
forbid <portlist> |
egress [untagged <portlist> | tagged
<portlist>]
]
Creates a new 802.1Q static VLAN with VLAN
ID and VLAN name settings
The following are optional settings:
• name <vlan_name>—Type name and a
name to identify the VLAN that is 1 to 15
characters in length. Use an underscore (_)
to connect words.
• id <vlan_id>—Type vlan and a VLAN ID
number. The number can be from 1 to
4094. Leading zeros are allowed, but not
necessary.
The following are optional settings. If any of
these are entered, each portlist must be
mutually exclusive.
• forbid <portlist>—Type forbid and the port
number or numbers to define the ports that
are forbidden from joining a VLAN
dynamically.
• egress—Type egress and one of the
following:
• untagged <portlist>—Type untagged
and the port number or numbers to
define untagged ports. When the port
transmits an untagged packet, the
packet header remains unchanged.
When a tagged packet exits the port,
the tag is stripped and the packet is
changed to an untagged packet.
• tagged <portlist>—Type tagged and
the port number or numbers to define
tagged ports. When the port transmits
an untagged packet, the packet header
is changed to include the 32-bit tag
associated with the port VLAN
identifier (PVID). When a tagged
packet exits the port, the packet
header is unchanged.
2-66 HP ProLiant BL p-Class GbE Interconnect Switch Command Line Interface Reference Guide