Configure QoS on AT-9900, x900-48, and x900-24
Series Switches
Introduction
This document describes some generic configuration examples for Quality of Service (QoS)
on AT-9900 and x900 series switches running the AlliedWare OS.
What information will you find in this document?
This document provides information on the following sections:
z"
1
. Setting the egress rate" on page 2
z"2. Setting the priority on a packet" on page 7
z"3. Setting the egress queues" on page 10
z"Full QoS scenario
z"Full QoS scenario 2: bandwidth limiting of multiple customers" on page 18
1
: tiered services for a single customer" on page 13
Which product and software version does this information apply to?
This How To Note applies to the following Allied Telesis switches, running the AlliedWare
1
OS software version 2.7.
zAT-9924SP, AT-9924T, AT-9924T/4SP
zx900-48 series
zx900-24 series
zAT- 89 48
or later:
C613-16068-00 REV B
www.alliedtelesis.com
1
. Setting the egress rate
Example 1-1: Setting the egress limit of a switch port
Port 24
Command:
1
. Setting the egress rate
set switch port=24 egresslimit=640
This command will set the egress limit of port 24 to 640kbps. The granularity is 640kbps.
Page 2 | AlliedWare™ OS How To Note: QoS configuration
1
. Setting the egress rate
Example 1-2: setting the maximum bandwidth limit per ingress port
Ingress rate limiting cannot be configured on the port per se, but is achieved by creating a
QoS policy with a bandwidth limited traffic class, and applying that policy to each port.
This set of commands will set the ingress rate of traffic received per port from ports
to various different values. Note that classifier=
1
the rate limiting is around
Page 3 | AlliedWare™ OS How To Note: QoS configuration
kbps.
1
to 20
1
matches every packet. The granularity of
1
. Setting the egress rate
Example 1-3: Setting the maximum bandwidth limit for each user
In example 1-1, we configured an egress rate on ports. But the granularity of that bandwidth
limiting was multiples of 640kbps. To achieve a finer-grained limiting on egress, it is necessary
to make use of traffic classes. In this example we assume that there is one device with a
known IP address, attached to each port. A traffic class will be created for each such IP
address, and a maximum bandwidth applied to the traffic class.
Port 24
Internet
connection
Users connected to the switch downloadingfiles from the Internet
This set of commands will set the total egress limit (download traffic) for each user to
256kbps. The granularity is around
Page 4 | AlliedWare™ OS How To Note: QoS configuration
1
kbps.
1
. Setting the egress rate
Example 1-4: Setting the maximum bandwidth limit for each IP subnet
This example is very similar to example 1-3, except that it is assumed that a whole subnet is
attached to each port, not just a single device on each port.
Port 24
Internet
connection
Users connected to the switch downloadingfiles from the Internet