- Create VLAN3.
- Select Switching > VLAN > Basic > VLAN Configuration.
A screen similar to the following displays.

- Enter the following information:
- In the VLAN ID field, enter 3.
- In the VLAN Name field, enter VLAN3.
- In the VLAN Type list, select Static.
- Click Add.
- Select Switching > VLAN > Basic > VLAN Configuration.
- Assign ports to VLAN3.
- Select Switching > VLAN > Advanced > VLAN Membership.
A screen similar to the following displays.

- In the VLAN ID list, select 3.
- Click Unit 1. The ports display.
- Click the gray box before Unit 1 until U displays.
- Click Apply.
- Select Switching > VLAN > Advanced > VLAN Membership.
- Assign VPID3 to port 1/0/23.
- Select Switching > VLAN > Advanced > Port PVID Configuration.
A screen similar to the following displays.

- Scroll down and select the 1/0/23 check box.
- In the PVID (1 to 4093) field, enter 3.
- Click Apply to save the settings.
- Select Switching > VLAN > Advanced > Port PVID Configuration.
- Map the specific MAC to VLAN3.
- Select Switching > VLAN > Advanced > MAC based VLAN.
A screen similar to the following displays.

- Enter the following information:
- In the MAC Address field, enter 00:00:0A:00:00:02.
- In the PVID (1 to 4093) field, enter 3.
- Click Add.
- Select Switching > VLAN > Advanced > MAC based VLAN.
For more information, see the following support articles:
- What is a virtual LAN (VLAN) and how does it work with my managed switch?
- What is a MAC-based VLAN and how does it work with my managed switch?
- How do I create a MAC-based VLAN using CLI commands on my managed switch?
This article applies to the following managed switches and their respective firmware:
- M5300 - firmware version 10.0.0.x
-
- M5300-28G (GSM7228S)
- M5300-5G (GSM7252S)
- M5300-28G3 (GSM7328Sv2h2)
- M5300-52G3 (GSM7352Sv2h2)
- M5300-28G_POE+ (GSM7228PSv1h2)
- M5300-52G-POE+ (GSM7252PSv1h2)
- M5300-28GF3 (GSM7328FSv2)
- M4100 - firmware version 10.0.1.x
-
- M4100-26G (GSM7224v2h2)
- M4100-50G (GSM7248v2h2)
- M4100-26G-POE (GSM7226Pv1h1)
- M4100-50G-POE+ (GSM7248Pv1h1)
- M4100-26G-POE (FSM7226Pv1h1)
- M4100-50-POE (FSM7250Pv1h1)
- M4100-D12G (GSM5212v1h1)
- M4100-D10-POE (FSM5210Pv1h1)
- M7100 - firmware version 10.0.1.x
-
- M7100-24X (XSM7224)
- XSM7224S - firmware version 9.0.1.x