Advanced Traffic Management Guide K/KA/KB.15.15
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.
Example 9 Changing the number of allowed VLANs
Shows the command sequence for changing the number of VLANs allowed to 10. Note that you
can execute the commands to write memory and boot at another time.
HP Switch(config)#: max-vlans 10
This command will take effect after saving the configuration
and rebooting the system.
HP Switch(config)#: write memory
HP Switch(config)#: boot
Device will he rebooted, do you want to continue [y/n]? Y
Assigning the primary VLAN
Syntax:
primary-vlan vid | ascii-name-string
In the default VLAN configuration, the port-based default VLAN (DEFAULT_VLAN)
is the Primary VLAN. This command allows reassignment of the Primary VLAN
function to an existing, port-based, static VLAN.
The switch will not reassign the Primary VLAN function to a protocol VLAN.
NOTE: If you reassign the Primary VLAN to a non-default VLAN, you cannot later
delete that VLAN from the switch until you assign the Primary VLAN to another
port-based, static VLAN.
To identify the current Primary VLAN and list the available VLANs and their
respective VIDs, use show vlans.
Example 10 Re-assigning, renaming and Viewing the VLAN command sequence
Shows how to re-assign the Primary VLAN to VLAN 22 (first command line), rename the VLAN
22-Primary (second command line) and then display the result (third command line):
HP Switch(config)#: primary-vlan 22
HP Switch(config)#: vlan 22 name 22-Primary
HP Switch(config)#: show vlans
Status and Counters - VLAN Information
Maximum VLANs to support : 8
Primary VLAN : 22-Primary
Management VLAN :
VLAN ID Name Status Voice Jumbo
------- -------------------- ------------ ----- -----
1 DEFAULT_VLAN Static No No
22 22-Primary Static No No
Adding or editing VLAN names (Menu)
Use this procedure to add a new VLAN or to edit the name of an existing VLAN.
24 Static Virtual LANs










