Changing the number of VLANs allowed on the switch

Syntax:

max-vlans1-2048

In the default VLAN configuration, the switch allows a maximum of 256 VLANs. Use this command to specify the maximum VLANs to allow, and specify any value from 1 to 2048.

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: ]

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.


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