system-max vlan

Increases the maximum number of VLANs you can configure.
Syntax
system-max vlan num
no system-max vlan num
Command Default

The default maximum value is 64 VLANs.

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

Global configuration mode

Usage Guidelines

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.

Examples

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

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