11-20
Port-Based Virtual LANs (VLANs) and GVRP
Port-Based Virtual LANs (Static VLANs)
Converting a Dynamic VLAN to a Static VLAN.
If GVRP is running on
the switch and a port dynamically joins a VLAN, you can use the next
command to convert the dynamic VLAN to a static VLAN. (For GVRP and
dynamic VLAN operation, see “GVRP” on page 11-33.) This is necessary if you
want to make the VLAN permanent. After you convert a dynamic VLAN to
static, you must configure the switch’s per-port participation in the VLAN in
the same way that you would for any static VLAN.
Syntax:
static-vlan <
vlan-id
>
(
Use
show vlan
to list current VIDs.)
For example, suppose a dynamic VLAN with a VID of 125 exists on the switch.
The following command converts the VLAN to a static VLAN.
HPswitch(config)# static-vlan 125
Configuring Static VLAN Name and Per-Port Settings.
The
vlan <
vlan-
id
>
command, used with the options listed below, changes the name of an
existing static VLAN and changes the per-port VLAN membership settings.
N o t e
You can use these options from the configuration level by beginning the
command with
vlan <
vlan-id
>
, or from the context level of the specific VLAN.
Syntax:
name <
vlan-name
>
Changes the name of the existing static
VLAN. (Avoid spaces and the following
characters in the <
vlan-name
>
entry:
2
,
#
,
$
,
^
,
&
,
*
,
(
, and
)
.)
[no] 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
.
[no] 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
.
[no] forbid <
port-list
>
Configures the indicated port(s) as
“forbidden” to participate in the
designated VLAN. The “
no
” version sets
the port(s) to either
No
or (if GVRP is
enabled) to
Auto
.
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 runing on the switch.
(For information on dynamic VLAN and GVRP operation, see “GVRP” on page
11-33.)
Summary of Contents for ProCurve 4104GL
Page 2: ......
Page 26: ...xxiv Getting Started Need Only a Quick Start ...
Page 34: ...1 8 Selecting a Management Interface Advantages of Using HP TopTools for Hubs Switches ...
Page 50: ...2 16 Using the Menu Interface Where To Go From Here ...
Page 172: ...8 24 Time Protocols SNTP Messages in the Event Log ...
Page 240: ...10 30 Configuring for Network Management Applications CDP ...
Page 288: ...11 48 Port Based Virtual LANs VLANs and GVRP GVRP ...
Page 480: ...C 38 Troubleshooting Restoring a Flash Image ...
Page 486: ...D 6 MAC Address Management Determining MAC Addresses ...
Page 490: ......
Page 502: ...12 Index ...
Page 503: ......