1-41
Static Virtual LANs (VLANs)
Configuring VLANs
HP Switch(config)# no vlan 3
The following ports will be moved to the default VLAN:
B6-B10
Do you want to continue? [y/n] y
HP Switch(config)#
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. 
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.
HP Switch(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.
Note 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: 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 2, “GVRP” .) 
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.