Installation and Getting Started Guide
Enter or edit the MAC address, if needed. Specify the address in the following format:
Change the VLAN number if needed by editing the value in the VLAN ID field.
Select the port number from the Slot (for Chassis devices) and Port pulldown lists.
Select a QoS level from 0 – 7 from the QoS field's pulldown menu. For information about QoS, see the
"Quality of Service (QoS)" chapter in the Advanced Configuration and Management Guide.
Click the Add button (to add a new static MAC entry) or the Modify button (if you are modifying an existing
entry) to save the change to the device's running-config file.
Click the Apply button to save the change to the device's running-config file.
10. Select the Save link at the bottom of the dialog, then select Yes when prompted to save the configuration
change to the startup-config file on the device's flash memory.
Enabling Port-Based VLANs
Port and protocol VLANs must first be enabled at the system (global) level before they can be configured at the
VLAN level. For details on configuring VLANs, see the "Configuring Virtual LANs (VLANs)" chapter in the
Advanced Configuration and Management Guide.
USING THE CLI
When using the CLI, port and protocol-based VLANs are created by entering one of the following commands at
the global CONFIG level of the CLI.
To create a port-based VLAN, enter commands such as the following:
HP9300(config)# vlan 222 by port
HP9300(config)# vlan 222 name Mktg
Syntax: vlan <num> by port
Syntax: vlan <num> name <string>
The <num> parameter specifies the VLAN ID. The valid range for VLAN IDs starts at 1 on all systems but the
upper limit of the range differs depending on the device. In addition, you can change the upper limit on some
devices using the vlan max-vlans... command. See the Command Line Interface Reference.
The <string> parameter is the VLAN name and can be a string up to 16 characters. You can use blank spaces in
the name if you enclose the name in double quotes (for example, "Product Marketing".)
NOTE: The second command is optional and also creates the VLAN if the VLAN does not already exist. You
can enter the first command after you enter the second command if you first exit to the global CONFIG level of the
9 - 32