Configuring static vlan name and per-port settings – HP 2610-PWR User Manual

Page 54

Advertising
background image

Static Virtual LANs (VLANs)
Port-Based Virtual LANs (Static VLANs)

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.

ProCurve(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

noversion 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

noversion 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

noversion 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 running on the switch. (For information
on dynamic VLAN and GVRP operation, see
chapter 3, “GVRP”.)

For example, if 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 1-5 to Tagged, you could do so with these commands:

2-28

Advertising
This manual is related to the following products: