
Static Virtual LANs (VLANs)
Configuring VLANs
Syntax:
[no] vlan <
vid
>
tagged <
port-list
>
Configures the indicated port(s) as
Tagged
for the specified
VLAN. The “
no
” version sets the port(s) to either
No
or (if
GVRP is enabled) to
Auto
.
untagged <
port-list
>
Configures the indicated port(s) as
Untagged
for the
specified VLAN. The “
no
” version sets the port(s) to either
No
or (if GVRP is enabled) to
Auto
.
forbid <
port-list
>
Used in port-based VLANs to configures
<
port-list
>
as
“forbidden” to become a member of the specified VLAN, as
well as other actions. Does not operate with protocol VLANs.
The “
no
” version sets the port(s) to either
No
or (if GVRP is
enabled) to
Auto
.
Refer to the chapter titled “GVRP” in the
Advanced Traffic Management Guide for your switch.
auto <
port-list
>
Available if GVRP is enabled on the switch. Returns the per-
port settings for the specified VLAN to
Auto
operation. Note
that
Auto
is the default per-port setting for a static VLAN if
GVRP is running on the switch.
(For information on dynamic
VLAN and GVRP operation, refer to the chapter titled “GVRP”
in the
Advanced Traffic Management Guide
for your switch.)
For example, suppose you have a VLAN named VLAN100 with a VID of 100,
and all ports are set to
No
for this VLAN. To change the VLAN name to
“
Blue_Team
” and set ports A1 - A5 to
Tagged
, you would use these commands:
HPswitch(config)# vlan 100 name Blue_Team
HPswitch(config)# vlan 100 tagged a1-a5
To move to the vlan 100 context level and execute the same commands:
HPswitch(config)# vlan 100
HPswitch(vlan-100)# name Blue_Team
HPswitch(vlan-100)# tagged a1-a5
Similarly, to change the tagged ports in the above examples to
No
(or
Auto
, if
GVRP is enabled), you could use either of the following commands.
2-36
Summary of Contents for 6400cl
Page 2: ......
Page 84: ...Static Virtual LANs VLANs VLAN Restrictions This page is intentionally unused 2 54 ...
Page 104: ...GVRP GVRP Operating Notes This page intentionally unused 3 20 ...
Page 274: ...Switch Meshing Operating Notes for Switch Meshing This page is intentionally unused 7 28 ...
Page 662: ... This page is intentionally unused 20 Index ...
Page 663: ......