Advanced Traffic Management Guide K/KA/KB.15.15
forbid port-list
Used in port-based VLANs configures port-list as forbidden, to become a
member of the specified VLAN, as well as other actions. Does not operate with
option not allowed protocol VLANs. The no version sets the port 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. Auto is the default per-port setting for a static
VLAN if GVRP is running on the switch.
Example 15 Changing the VLAN name and set ports to tagged
Suppose there is 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, use the
following commands:
HP Switch(config)#: vlan 100 name Blue_Team
HP Switch(config)#: vlan 100 tagged a1-a5
Example 16 Moving the context level
To move to the vlan 100 context level and execute the same commands:
HP Switch(config)#: vlan 100
HP Switch(vlan-100)#: name Blue_Team
HP Switch(vlan-100)#: tagged a1-a5
Example 17 Changing tagged ports
To change the tagged ports in the above examples to No (or Auto, if GVRP is enabled), use either
of the following commands.
At the global config level, use:
HP Switch(config)#: no vlan 100 tagged a1-a5
- or -
At the VLAN 100 context level, use:
HP Switch(vlan-100)#: no tagged a1-a5
NOTE: You cannot use these commands with dynamic VLANs. Attempting to do so results in the
message VLAN already exists and no change occurs.
Using IP enable/disable for all VLANs
You can administratively disable the IP address on specified VLANs with static IP addresses without
removing the Layer 3 configuration. The switch can be pre-configured as a backup router, then
quickly transition from backup to active by re-enabling Layer 3 routing on one or more VLANs.
While the switch is in “backup” mode, it will still performing Layer 2 switching.
A MIB object will be toggled to make Layer 3 routing active or inactive on a VLAN.
30 Static Virtual LANs










