Changing The Number Of Vlans Allowed On The Switch - HP 3500 Series Advanced Traffic Management Manual

Switch software
Hide thumbs Also See for 3500 Series:
Table of Contents

Advertisement

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 2048.
Syntax: max-vlans < 1-2048 >
For example, to reconfigure the switch to allow 10 VLANs:
HP Switch[config)# max-vlans 10
Note that you
This command will take effect after saving the configuration and
can execute
rebooting the system.
these three
HP Switch[config)# write memory
steps at
another time.
HP Switch[config)# boot
Device will he rebooted, do you want to continue [y/n]? y
Figure 1-27. Example of Command Sequence for Changing the Number of VLANs
Changing the Primary VLAN. In the default VLAN configuration, the port-
based default VLAN (
reassign the Primary VLAN to any port-based, static VLAN on the switch. (For
more on the Primary VLAN, refer to "The Primary VLAN" on page 1-49.) To
identify the current Primary VLAN and list the available VLANs and their
respective VIDs, use show vlans.
Syntax: primary-vlan
For example, if you wanted to reassign the Primary VLAN to VLAN 22 and
rename the VLAN with "22-Primary" and display the result:
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.
Default: 256
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.
DEFAULT_VLAN
vid | ascii-name-string
<
Reassigns the Primary VLAN function. Re-assignment must be
to an existing, port-based, static VLAN. (The switch will not
reassign the Primary VLAN function to a protocol VLAN.) If you
re-assign the Primary VLAN to a non-default VLAN, you cannot
later delete that VLAN from the switch until you again re-assign
the Primary VLAN to another port-based, static VLAN.
Static Virtual LANs (VLANs)
) is the Primary VLAN. However, you can
>
Configuring VLANs
1-37

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents