Ipqos examples, Ipqos examples -13 – Allied Telesis AT-8550 User Manual
Page 119

AT-9108, AT-8518, AT-8525, and AT-8550 User’s Guide
7-13
IPQoS Examples
This section contains several examples of IPQoS, and illustrates some
of the many configuration options available for IPQoS. The section
begins with an example that uses the short form of the
config
ipqos
command. The section then provides an additional example
(that builds on the first examples), which details using the long form
of the command.
A QoS profile can be associated with a specific destination IP address,
or range of IP addresses by using a subnet mask. Using the short
form of the IPQoS command, the following example defines a traffic
grouping for traffic destined to the 10.1.2.X network and assigns it to
the qp2 QoS profile:
config ipqos add 10.1.2.3/24 qosprofile qp2
By using the long form of the IPQoS command, a specific source IP
address (10.1.1.1) can be identified as part of the traffic grouping.
Using the desired options in the long form of the IP command, the
syntax is as follows:
config ipqos add all 10.1.2.3/24 10.1.1.1/32
qp2
Instead of the previous example, the following command groups all
TCP traffic destined to the 10.1.2.X network from any source and
assigns the QoS profile qp3:
config ipqos add tcp 10.1.2.3/24 qosprofile
qp3
This example groups all UDP traffic destined to the 10.1.2.x network
from the host 10.1.1.1 and assigns it to qp3:
config ipqos add udp 10.1.2.3/24 10.1.1.1/32
qosprofile qp3
This example specifies a particular UDP source port (port 30) under
the same circumstances as the previous example:
config ipqos add udp 10.1.2.3/24 10.1.1.1/32
l4-srcport 30 qosprofile qp3
Finally, to add full detail, the last example groups all traffic to TCP
destination port 80 destined for the 10.1.2.x network from 10.1.1.1
using TCP source port 20 and assigns it to qp4:
config ipqos add tcp 10.1.2.3/24 l4-dstport 80
10.1.1.1/32 l4-srcport 20 qosprofile qp4