How to configure Voice VLAN and QoS on SonicWall Switch?
06/10/2020 8 3699
The voice VLAN is an ingenious feature that enables access ports to carry voice traffic from an IP phone. Quality of Service (QoS) can be used to protect and prioritize time-critical traffic like voice and video. Voice packets must be delivered in the most timely manner possible, with minimum jitter, loss, and delay.
Two steps to adding a voice VLAN:
Adding a VLAN
Configuring a Voice VLAN
Adding a VLAN The SonicWall switch gets the VLAN information from the firewall. You would need to add the VLAN sub-interfaces on the firewall first. Please refer to How Can I Configure Sub-Interfaces?. Once the VLAN sub-interfaces are added, the VLAN can be added on the switch as below.
Navigate to MANAGE | Switch Controller | Switches tab and then click on Network tab.
Click Add IPv4 Network.
Define Vlan ID, Address, Subnet Mask and choose address assignment method: Static or DHCP.
NOTE: DHCP can only be used for Native VLAN 1 but for all other VLAN IDs, a static entry is needed.
Configuring Voice VLAN
NOTE:Voice VLANs can be enabled/disabled per port in the MANAGE | Switch Controller | Overview | Physical View display.
To configure a voice VLANs navigate to MANAGE | Switch Controller | Switches and then click on Voice VLAN.
Set up a voice VLAN by moving the state from Disabled to Auto and set the other parameters before clicking on Accept as it appears at the bottom of the display.
Voice Vlan ID — Identifies LAN.
Voice Priority Tag — determines priority among active voice streams.
Differentiated Service Code Point — defines QoS.
Use the Voice VLAN Settings to enable Voice traffic management and determine if Class of Service (CoS) queues will be defined for all ports or only those sourcing voice traffic.
To Enable/Disable Voice VLAN for a port
Navigate to MANAGE | Switch Controller | Overview and click on the port. When the sideband display appears scroll to Voice VLAN state as shown below.
Setting Up QoS: Quality of Service (QoS) provides the ability to implement priority queuing within a network. QoS enables traffic to be prioritized, while excessive broadcast and multicast is minimized. Traffic such as voice and video streaming which requires a minimal delay can be assigned to a high priority queue, while other traffic can be assigned to a lower priority queue resulting in uninterrupted actions.
QoS setup for the switch:
Navigate to MANAGE | Switch Controller | Switches and click on QoS.
Set Egress Policy. The first screen details Egress Policy which applies for all approaches to packet and traffic classification. In the preceding UI screen, the State slider determines whether QoS is enabled (to the right) or disabled (to the left). Scheduling method can be set as Strict Priority based on Queue number or as Weighted Round Robin (WRR). The classification of packets can be set as 802.1p or DSCP (Differentiated Services Code Point), or as both.
Select the IPDSCP screen to set DSCP codes to specific Queues.
To set class of service, click on CoS. In the CoS (Class of Service) screen, the CoS priority tag values, where 0 is the lowest and 7 is the highest are related to eight traffic priority queues from 1 to 8, where one is the lowest priority and eight is the highest priority.
Enable/Disable QoS for a port
Navigate to MANAGE | Switch Controller | Overview and click on the port. When the sideband display appears scroll to QoS as shown below.