HP (Hewlett-Packard) 6120 Model Vehicle User Manual


 
2-34
Static Virtual LANs (VLANs)
Configuring VLANs
For example, to reconfigure the switch to allow 10 VLANs:
Figure 2-23. Example of Command Sequence for Changing the Number of VLANs
Changing the Primary VLAN. In the default VLAN configuration, the port-
based default VLAN (
DEFAULT_VLAN) is the Primary VLAN. However, you can
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 2-45.) To
identify the current Primary VLAN and list the available VLANs and their
respective VIDs, use show vlans.
For example, if you wanted to reassign the Primary VLAN to VLAN 22 and
rename the VLAN with “22-Primary” and display the result:
Figure 2-24. Example of Reassigning Primary VLAN and Changing the VLAN Name
Note that you can
execute these
three steps at
another time.
Syntax: primary-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.
Renames VLAN 22 to
“22-Primary”.
Reassigns the
Primary VLAN to
VLAN 22.