Static Virtual LANs (VLANs)

Configuring VLANs

Converting a Dynamic VLAN to a Static VLAN. Use this feature if you want to convert a dynamic, port-based VLAN membership to a static, port- based VLAN membership. This is necessary if you want to make the VLAN permanent on the switch.

Syntax: static-vlan < vlan-id>

Converts a dynamic, port-based VLAN membership to a static, port-based VLAN membership. (Allows port-based VLANs only). For this command, < vlan-id> refers to the VID of the dynamic VLAN membership. (Use show vlan to help identify the VID you need to use.) This command requires that GVRP is running on the switch and a port is currently a dynamic member of the selected VLAN. 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. (For GVRP and dynamic VLAN operation, refer to chapter 3, “GVRP” .)

 

For example, suppose a dynamic VLAN with a VID of 125 exists on the switch.

 

The following command converts the VLAN to a port-based, static VLAN.

 

ProCurve(config)# static-vlan 125

 

Configuring Static VLAN Per-Port Settings. The vlan <vlan-id>com-

 

mand, 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 < vid >, or from the context level of the specific VLAN by

 

just typing the command option.

 

 

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.

2-37