The script in this article shows how to configure Voice VLAN and prioritize the voice traffic. Here the Voice VLAN mode is in VLAN ID 10.
- Create VLAN 10.
- Select Switching > VLAN > Basic > VLAN Configuration.
A screen similar to the following displays.
- In the VLAN ID field, enter 10.
- In the VLAN Name field, enter Voice VLAN.
- Click Add.
A screen similar to the following displays.
- Select Switching > VLAN > Basic > VLAN Configuration.
- Include ports 1/0/1 and 1/0/2 in VLAN 10.
- Select Switching > VLAN > Advanced > VLAN Membership.
A screen similar to the following displays.
- In the VLAN Membership table, in the VLAN ID list, select 10.
- Select Port 1 and Port 2 as tagged.
A screen similar to the following displays.
- Click Apply.
- Select Switching > VLAN > Advanced > VLAN Membership.
- Configure Voice VLAN globally.
- Select Switching > VLAN > Advanced > Voice VLAN Configuration.
A screen similar to the following displays.
- For Admin Mode, select the Enable radio button.
- Click Apply.
A screen similar to the following displays.
- Select Switching > VLAN > Advanced > Voice VLAN Configuration.
- Configure Voice VLAN mode in interface 1/0/2.
- Select Switching > VLAN > Advanced > Voice VLAN Configuration.
- Select the 1/0/2 check box.
- In the Interface Mode list, select VLAN ID.
- In the Value field, enter 10.
A screen similar to the following displays.
- Click Apply.
- Create the DiffServ class ClassVoiceVLAN.
- Select QoS > Advanced > DiffServ > Class Configuration.
A screen similar to the following displays.
- In the Class Name field, enter ClassVoiceVLAN.
- In the Class Type list, select All.
A screen similar to the following displays.
- Click Add.
The Class Name screen displays, as shown in the next step in this procedure.
- Select QoS > Advanced > DiffServ > Class Configuration.
- Configure matching criteria for the class as VLAN 10.
- Select QoS > DiffServ > Advanced > Class Configuration.
A screen similar to the following displays.
- Click the class ClassVoiceVLAN.
A screen similar to the following displays.
- In the DiffServ Class Configuration table, select VLAN.
- In the VLAN ID field, enter 10.
A screen similar to the following displays.
- Click Apply.
A screen similar to the following displays.
- Select QoS > DiffServ > Advanced > Class Configuration.
- Create the DiffServ policy PolicyVoiceVLAN.
- Select QoS > DiffServ > Advanced > Policy Configuration.
A screen similar to the following displays.
- In the Policy Name field, enter PolicyVoiceVLAN.
- In the Policy Type list, select In.
- In the Member Class list, select ClassVoiceVLAN.
A screen similar to the following displays.
- Click Add.
The Policy Configuration screen displays, as shown in the next step in this procedure.
- Select QoS > DiffServ > Advanced > Policy Configuration.
- Map the policy and class and assign them to the higher-priority queue.
- Select QoS > DiffServ > Advanced > Policy Configuration.
A screen similar to the following displays.
- Click the Policy PolicyVoiceVLAN.
A screen similar to the following displays.
- In the field next to the Assign Queue radio button, select 3.
A screen similar to the following displays.
- Click Apply.
- Select QoS > DiffServ > Advanced > Policy Configuration.
- Assign it to interfaces 1/0/1 and 1/0/2.
- Select QoS > DiffServ > Advanced > Service Interface Configuration.
A screen similar to the following displays.
- Select the check boxes for Interfaces 1/0/1 and 1/0/2.
- Set the Policy Name field as PolicyVoiceVLAN.
A screen similar to the following displays.
- Click Apply.
A screen similar to the following displays.
- Select QoS > DiffServ > Advanced > Service Interface Configuration.
For more information, see the following support articles:
- What is a virtual LAN (VLAN) and how does it work with my managed switch?
- What are voice VLANs and how do they work with my managed switch?
- How do I configure voice VLAN and prioritize voice traffic 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