Chapter 12 QoS
54
12 QoS
12.1 Overview
In packet networks, one important requirement for link sharing is to share bandwidth on a link between
multiple agencies, where each agency wants to receive a guaranteed share of the link bandwidth during
congestion. But where bandwidth that is not being used by one agency should be available to other
agencies sharing the link. Quality of Service (QoS) is the idea that transmission rates, error rates can be
measured, improved, and to some extent guaranteed in advance. QoS enables you to provide better
service to certain flows and helps user to control the use of the outbound traffic on a given link. IP6610 QoS
is policy based where the traffic type defines each policy. In the Loop-IP6610, we have classified the
outgoing traffic (i.e. policy) by packet’s IP address, network protocol, TCP/UDP port number, and/or DSCP
value. User can configure the committed bandwidth for a particular class of traffic by mentioning the
minimum and maximum bandwidth. Make sure total configured bandwidth of all such policy must not
exceed the link’s physical bandwidth.
Note: QoS is supported for WAN interface only.
12.2 Policy Syntax
12.2.1 Policy add
add rate_limit selector action_parameter
Instructs to put the newly created policy entry at the tail of the policy list.
selector If outgoing packets match criteria, the selector sets some matching
conditions. If the packet going through the interface matches the conditions,
then the rate_limit will be applied according to the parameters specified by
action-parameter. Format of the selector is as following:
src_ip [prefix] dest_ip [prefix] protocol [src_port] [dst_port] [dscp]
src_ip & [prefix] The source network address that is affected by the
policy. The parameter will be matched with source
address field of IP packets. The user can specify ‘any’
if
he/she is not interested in a specific IP address
dst_ip & [prefix] The interested destination network address. The
parameter will be matched with destination address
field of IP packets.
protocol Interested protocol type carried by an IP packet. The
field can be a decimal value or a protocol name, like
TCP or UDP.
src_port If protocol is TCP or UDP, user can mention the
specific source port number carried by an IP packet.
User can specify a range of source port or ‘any’ if
he/she is not interested for a particular source port
number.
dst_port Interested destination port number for an IP packet if
protocol is TCP or UDP. User can mention destination
port number in minimum-maximum format for a range
of port number or ‘any’ if he/she is not interested for a
particular destination port number. Both