Static Virtual LANs (VLANs)

Port-Based Virtual LANs (Static VLANs)

Changing the Number of VLANs Allowed on the Switch. By default, the switch allows a maximum of 8 VLANs. You can specify any value from 1 to the upper limit for the switch. If GVRP is enabled, this setting includes any dynamic VLANs on the switch. As part of implementing a new value, you must execute a write memory command (to save the new value to the startup-config file) and then reboot the switch.

Syntax: max-vlans <1... 64>

For example, to reconfigure the switch to allow 10 VLANs:

Note that you can execute these three steps at another time.

Figure 2-19. Example of Command Sequence for Changing the Number of VLANs

Changing the Primary VLAN. In the factory-default configuration, the default VLAN (DEFAULT_VLAN) is the primary VLAN. However, you can designate any static VLAN on the switch as the primary VLAN. (For more on the primary VLAN, see “The Primary VLAN” on page 2-6.) To view the available VLANs and their respective VIDs, use show vlans.

Syntax: primary-vlans <vlan-id>

For example, to make VLAN 22 the primary VLAN:

ProCurve(config)# primary-vlan 22

2-25