Actions

Difference between revisions of "Quality of Service"

From Zenitel Wiki

 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''Quality of Service''' (QoS) is by default set on all VoIP audio packages from AlphaCom, using Diffserv bit class EF (http://en.wikipedia.org/wiki/DiffServ#Expedited_Forwarding_.28EF.29_PHB)
+
The AlphaCom uses the UDP ports 61000 to 61150 for VoIP audio.
 +
 
 +
'''Quality of Service''' (QoS) is by default set on all VoIP audio packages, using Diffserv bit class EF (http://en.wikipedia.org/wiki/DiffServ#Expedited_Forwarding_.28EF.29_PHB)
  
The UDP ports used for VoIP is 61000 to 61150.
 
  
 
The TOS byte in the IP header is set to DSCP (Diffserv)  (http://en.wikipedia.org/wiki/Type_of_Service)
 
The TOS byte in the IP header is set to DSCP (Diffserv)  (http://en.wikipedia.org/wiki/Type_of_Service)
Line 24: Line 25:
 
The rule "udp dpts:61000:61150 DSCP set 0x2e" on the chain "OUTPUT" tells the linux kernel to set the DSCP field in the IP-header to hex 0x2e for all outgoing UDP packets within the port range 61000:61150. You can from the iptables command read out the number of packages and bytes this rule has been applied to.
 
The rule "udp dpts:61000:61150 DSCP set 0x2e" on the chain "OUTPUT" tells the linux kernel to set the DSCP field in the IP-header to hex 0x2e for all outgoing UDP packets within the port range 61000:61150. You can from the iptables command read out the number of packages and bytes this rule has been applied to.
  
 +
The DSCP value 0x2e is also called Expedited Forwarding (EF). For details on the bits of the DSCP field in the IP header see: http://www.cisco.com/warp/public/105/dscpvalues.html
  
[[Category:AlphaCom E Software]]
+
[[Category: AMC Software]]
The DSCP value 0x2e is also called Expedited Forwarding (EF). For details on the bits of the DSCP field in the IP header see: http://www.cisco.com/warp/public/105/dscpvalues.html
 

Latest revision as of 07:23, 8 September 2017

The AlphaCom uses the UDP ports 61000 to 61150 for VoIP audio.

Quality of Service (QoS) is by default set on all VoIP audio packages, using Diffserv bit class EF (http://en.wikipedia.org/wiki/DiffServ#Expedited_Forwarding_.28EF.29_PHB)


The TOS byte in the IP header is set to DSCP (Diffserv) (http://en.wikipedia.org/wiki/Type_of_Service)


Additional information

The Linux Console can be used to check if QoS is active. SSH to the AMC-IP with standard user (alpha/com), then:

$ su -
(root passord)
# iptables –t mangle –L –v 

To change QoS settings:

# nano /opt/amc/scripts/networking

The following lines configures QoS:

# set DSCP class EF on all outgoing VoIP packages  
iptables -t mangle -A OUTPUT --protocol udp --destination-port 61000:61150 -j DSCP --set-dscp-class EF


The rule "udp dpts:61000:61150 DSCP set 0x2e" on the chain "OUTPUT" tells the linux kernel to set the DSCP field in the IP-header to hex 0x2e for all outgoing UDP packets within the port range 61000:61150. You can from the iptables command read out the number of packages and bytes this rule has been applied to.

The DSCP value 0x2e is also called Expedited Forwarding (EF). For details on the bits of the DSCP field in the IP header see: http://www.cisco.com/warp/public/105/dscpvalues.html