DrayTek VigorSwitch supports Quality of Service (QoS) function which prioritise traffic for various networking applications as well as bandwidth allocation to improve the quality of network services.
QoS (Quality of Service) ensures higher priority traffic without interference no matter how heavy the network loadings are. This article introduces each of the QoS features and how to apply them in real world scenarios. We use this topology as an example to illustrate how to configure QoS step by step
First, we have these VLAN settings for above topology VigorSwitch BX2000, an IPPBX Create three VLANs. VLAN0 LAN1 management VLAN1 LAN2 data VID:10 VLAN2 LAN3 voice-vlan VID:20 and port6 connects to VigorSwitch G2280x (referred as G2280x)
VigorSwitch G2280x VLAN port settings as below: (VLANs are created at Switch LAN >> VLAN Management >> Create VLAN page) GE10 Hybrid PVID:20 Untagged VLAN:20 (connect to phoneA without tag) GE23 Trunk PVID:1, Tagged VLAN:10,20 Untagged VLAN:1 (connect to G2100) GE24 Trunk PVID:1, Tagged VLAN:10,20 Untagged VLAN:1(connect to BX2000)
VigorSwitch G2100 VLAN port settings as below: (VLANs are created at Switch LAN >> VLAN Management >> Create VLAN page) GE6 Hybrid PVID:20 Untagged VLAN:20 (connect to phoneB which without tag) GE7 Hybrid PVID:20 (connect to phoneC with VLAN tag 20) GE8 Trunk PVID:1 Tagged VLAN:10,20 Untagged VLAN:1 (connect to G2280x port23)
Note: To create VLANs on VigorSwitch, please go to Switch LAN >> VLAN Management >> Create Vlan page, and add the VLAN ID and VLAN name(optional).
Go to G2100 management web >> Switch LAN >> VLAN Management >> Voice VLAN >> Properties.
Go to Switch LAN >> VLAN Management >> Voice VLAN >> Telephony OUI Setting
If the packets match the Telephony OUI table, it will be considered as voice-vlan packets.
Go to Switch LAN >> VLAN Management >> Voice VLAN >> Port Setting This page allows the user to configure on which port Voice-VLAN is enabled.
NOTE: You might be confused right now because we didn't select GE6 at Voice-VLAN Port setting. The reason is the IP phone connected to GE6 doesn't have a VLAN tag, so phoneB won't able to join Voice-VLAN. (Please check G2100 VLAN port setting at previous step) Some IP phones don't have a tag on themself, while others do. So as phoneB and phoneC are different examples.
After configuring GE7, let's start to configure GE6
Go to QoS >> General >> Properties >> QoS >> Global Setting
Go to QoS >> General >> Properties >> QoS >> Trust Ports, all ports are already enabled by default.
Go to QoS >> General >> Port Settings
We have now completed Voice-VLAN setting and QoS Port Setting. Before testing, we have to check CoS Mapping. Please go to QoS >> General >> CoS Mapping Value 7 means Ingress CoS is 7 which mapping to Queue is 8. 8 is the highest level of Queue, traffic assigned to this queue is processed first. After the processing, the packets on Queue 8 are mapped to Egress CoS 7, which means the Egress packets send out via GE8 will have 7 as the CoS frame.
This was only one example of how to set up Voice-VLAN and QoS on VigorSwitch series. There are more for different scenarios:
1/ Switch LAN >> VLAN Management >> Voice VLAN >> Port Setting >> CoS mode Some packets already have remark CoS/802.1p which may not match to Remark Value we configured. There are two modes as CoS mode.
2/ QoS >> General >> Port Settings If we select Disable as Remark CoS, the Egress CoS won't apply to Egress packets, the CoS Value will remain the same as its Ingress Value.
At last, you can check with below testing to see whether QoS is working or not:
Was this helpful?
Sorry about that. Contact Support if you need further assistance, or leave us some comments below to help us improve.