Increases the maximum number of VLANs you can configure.

system-max vlannum
no system-max vlan num

The default maximum value is 64 VLANs.

num
Specifies the maximum number of VLANs you can configure. The range depends on the device being configured.

Global configuration mode

Although you can specify up to 4095 VLANs, you can configure only 4094 VLANs. VLAN ID 4094 is reserved for use by Single STP. The write memory command must be executed to save the changes and a reload is required. The number of VLANs supported on your product depends on the device and, for chassis devices, the amount of DRAM on the management module.

A minimum value of 5 must be configured when configuring system-max value.

The no form of the command removes the maximum number of VLANs and reverts to the default value.

The following example shows how to increase the maximum number of VLANs.

device(config)# system-max vlan 2048
device(config)# write memory
device(config)# end
device# reload