HP ProCurve Series 6120 Blade Switches Advanced Traffic Management Guide

2-35
Static Virtual LANs (VLANs)
Configuring VLANs
Changing the Number of VLANs Allowed on the Switch. In the default
VLAN configuration, the switch allows a maximum of 256 VLANs. You can
specify any value from 1 to 256 for the HP 6120G/XG switch and from 1 to 1024
for the HP 6120XG switch.
For example, to reconfigure the switch to allow 10 VLANs:
Figure 2-23. Example of Command Sequence for Changing the Number of VLANs
Changing the Primary VLAN. In the default VLAN configuration, the port-
based default VLAN (
DEFAULT_VLAN) is the Primary VLAN. However, you can
reassign the Primary VLAN to any port-based, static VLAN on the switch. (For
more on the Primary VLAN, refer to “The Primary VLAN” on page 2-47.) To
identify the current Primary VLAN and list the available VLANs and their
respective VIDs, use show vlans.
Syntax: max-vlans < 1-256 >
max-vlans <1-1024>
Specifies the maximum number of VLANs to allow. (If GVRP
is enabled, this setting includes any dynamic VLANs on the
switch.) As part of implementing a new setting, you must
execute a write memory command (to save the new value to the
startup-config file) and then reboot the switch.
Note: If multiple VLANs exist on the switch, you cannot reset
the maximum number of VLANs to a value smaller than the
current number of VLANs.
Note that you can
execute these
three steps at
another time.
Syntax: primary-vlan < vid | ascii-name-string >
Reassigns the Primary VLAN function. Re-assignment must be
to an existing, port-based, static VLAN. (The switch will not
reassign the Primary VLAN function to a protocol VLAN.) If you
re-assign the Primary VLAN to a non-default VLAN, you cannot
later delete that VLAN from the switch until you again re-assign
the Primary VLAN to another port-based, static VLAN.