Static Virtual LANs (VLANs)

Configuring VLANs

Figure 2-21. Example of “Show VLAN” for a Specific Static VLAN

Show VLAN lists this data when GVRP is enabled and at least one port on the switch has dynamically joined the designated VLAN.

Figure 2-22. Example of “Show VLAN” for a Specific Dynamic VLAN

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.

Syntax: max-vlans < 1-256 >

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.

2-33