![background image](http://html.mh-extra.com/html/smc-networks/6624fmst/6624fmst_management-manual_1300650252.webp)
9-62
Configuring Advanced Features
Port-Based Virtual LANs (Static VLANs)
Co
nf
ig
u
ri
ng Adva
nce
d
Feat
u
res
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 30. (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 .. 30>
For example, to reconfigure the switch to allow 10 VLANs:
Figure 9-53. 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 “Which VLAN Is Primary?” on page 9-50.) To view the
available VLANs and their respective VIDs, use
show vlan
.
Syntax:
primary-vlan <
vlan-id
>
For example, to make VLAN 22 the primary VLAN:
SMC6624M(config)# primary-vlan 22
Note that you can
execute these
three steps at
another time.
SMC6624M(config)# max-vlans 10
Command will take effect after saving configuration and reboot.
SMC6624M(config)# write memory
SMC6624M(config)# boot
Device will be rebooted, do you want to continue [y/n]?