A virtual local area network (VLAN) allows a network to be broken up into separate broadcast domains. Multiple VLANs can be grouped together to distribute a workload across multiple devices, create a VLAN group. One way to classify a VLAN is by the MAC address of a device. A media access control address (MAC address) is a unique identifier given to each network interface. The MAC address is assigned by the manufacturer and is generally permanent. A group of VLANs that are each classified by MAC addresses is called a MAC-based VLAN group.
This article will explain how to first create a MAC-based VLAN group and then how to map a VLAN group to a specific interface (port/LAG) on ESW2-350G Switches.
• ESW2-350G
• ESW2-350G-DC
• v1.2.9.44
Step 1. Log in to the web configuration utility and choose VLAN Management > VLAN Groups > MAC-Based Groups. The MAC-Based Groups page opens:
Step 2. Click Add to create a new MAC-based group. The Add MAC-Based Group window appears:
Note: In order to create a MAC-based VLAN group, the switch must be in Layer 2 mode. To change the switch to Layer 2 mode, refer to the article System Settings Configuration on ESW2-350G Switches.
Step 3. Enter a MAC address to be assigned to a VLAN group in the MAC Address field.
Step 4. Click the radio button that corresponds to the method you would like to use to define the Prefix Mask of the MAC address.
• Host — Source host of the MAC address.
• Length — Prefix of the MAC address.
Step 5. Enter a user-created VLAN group ID number in the Group ID field.
Step 6. Click Apply to create the MAC-based group and then click Close to exit the Add MAC-Based Group window.
Note: You can only map a VLAN group to a port/LAG that is in general mode. To change a port/LAG to general mode, refer to the article Virtual Local Area Network (VLAN) Management Configuration on ESW2-350G Switches.
Step 1. Log in to the web configuration utility and choose VLAN Management > VLAN Groups > MAC-Based Groups to VLAN. The MAC-Based Groups to VLAN page opens:
Step 2. Click Add. The Add Group to VLAN Mapping window appears.
Step 3. Click the appropriate radio button in the Interface field to choose an interface through which traffic is received and choose a specific port/LAG from the drop-down list.
• Port — A single physical port on the switch.
• LAG —A bundle of physical ports used to increase bandwidth and provide link redundancy.
Step 4. Choose a VLAN group from the Group ID drop-down list. These are the VLAN groups that you created in the previous section.
Step 5. Choose the VLAN to which traffic from the VLAN group is forwarded in the VLAN ID field.
Step 6. Click Apply to set the mapping of the VLAN group and then click Close to exit the VLAN Mapping window.