Allied Telesis x900-48 series Function Manual
Allied Telesis x900-48 series Function Manual

Allied Telesis x900-48 series Function Manual

Configuring qos
Hide thumbs Also See for x900-48 series:

Advertisement

TM
AlliedWare
OS
Configure QoS on AT-9900, x900-48, and x900-24
How To |
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:
"1. Setting the egress rate" on page 2
"2. Setting the priority on a packet" on page 7
"3. Setting the egress queues" on page 10
"Full QoS scenario 1: tiered services for a single customer" on page 13
"Full QoS scenario 2: bandwidth limiting of multiple customers" on page 18
Which product and software version does this information apply to?
This How To Note applies to the following Allied Telesis switches, running the AlliedWare
OS software version 2.7.1 or later:
AT-9924SP, AT-9924T, AT-9924T/4SP
x900-48 series
x900-24 series
AT-8948
C613-16068-00 REV B
www.alliedtelesis.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the x900-48 series and is the answer not in the manual?

Questions and answers

Summary of Contents for Allied Telesis x900-48 series

  • Page 1 "Full QoS scenario 2: bandwidth limiting of multiple customers" on page 18 Which product and software version does this information apply to? This How To Note applies to the following Allied Telesis switches, running the AlliedWare OS software version 2.7.1 or later:...
  • Page 2: Port

    1. Setting the egress rate 1. Setting the egress rate Example 1-1: Setting the egress limit of a switch port Port 24 Command: 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™...
  • Page 3 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. create class=1 create qos flow=1 add qos flow=1 class=1...
  • Page 4 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.
  • Page 5 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. Users connected to the switch downloading files from the Internet create class=1 ipda=192.168.1.0/24 create class=2 ipda=192.168.2.0/24...
  • Page 6 Example 1-5: Setting the maximum bandwidth limit of VLANs Ingress ports 1-20 (these ports are carrying a mixture of VLAN2, VLAN3 and VLAN4 packets, either with or without VLAN tags) create class=1 vlan=2 create class=2 vlan=3 create class=3 vlan=4 create qos flow=1 add qos flow=1 class=1 create qos flow=2 add qos flow=2 class=2...
  • Page 7: Table Of Contents

    2. Setting the priority on a packet Example 2-1: Setting the Layer 2 (VLAN/802.1p) priority per ingress port Here we assign different 802.1p values to packets arriving on different ports. These values are also known as the Layer 2 (L2) or VLAN priority. Ingress ports 1-20 (these ports MAY be carrying a mixture of packets from different VLAN packets, either with or without VLAN tags) create class=1...
  • Page 8 Example 2-2: Setting the Layer 2 (VLAN/802.1p) priority per VLAN Ingress ports 1-20 (these ports MAY be carrying a mixture of VLAN2, VLAN3, and VLAN4 packets either with or without VLAN tags) create class=1 vlan=2 create class=2 vlan=3 create class=3 vlan=4 create qos flow=1 add qos flow=1 class=1 create qos flow=2...
  • Page 9 Example 2-3: Setting the Layer 3 (TOS/DCSP) priority per ingress port Use the same configuration provided in Example 2-1 on set qos dscpmap=premarking dscp=<incoming-dscp> newpriority=<new- priority> set qos dscpmap=premarking dscp=<incoming-dscp> newdscp=<new-value> Example 2-4: Setting the Layer 3 (TOS/DSCP) priority per VLAN Use the same configuration provided in Example 2-2 on set qos dscpmap=premarking dscp=<incoming-dscp>...
  • Page 10 3. Setting the egress queues In this section we look at methods for directing certain packets into certain queues on the egress port. Example 3-1: Setting the egress queue according to the L2 priority of the incoming packet The priority-to-queue map is a straightforward method for assigning packets to egress on the basis of the packets’...
  • Page 11: Add Qos Flow=2 Class

    Example 3-2: Setting the egress queue according to the ingress port Ingress ports 1-20 (these ports MAY be carrying a mixture of packets from different VLAN packets either with or without VLAN tags) create class=1 create qos flow=1 add qos flow=1 class=1 create qos traff=1 add qos traff=1 flow=1 set qos traff=1 mark=11 premarking=usemark...
  • Page 12: Add Qos Poli=1 Traff=1

    Example 3-3: Configuring WRR for egress queues This example is used for configuring WRR on egress queues according to the ingress port of the traffic. Ingress ports 1-3 (these ports MAY be carrying a mixture of packets from different VLAN packets either with or without VLAN tags) create class=1 create qos flow=1 add qos flow=1 class=1...
  • Page 13: Port

    Full QoS scenario 1: tiered services for a single customer In this section, we will build up a relatively complex QoS configuration to support a scenario requiring quite precise control over the traffic passing through the switch. The scenario is an ISP providing connectivity for a customer, and offering different levels of service for different types of traffic.
  • Page 14 Bronze traffic is also allowed to burst up to the full egress bandwidth of the uplink port, but when congestion occurs, will be throttled back in favour of Gold traffic, and will share the remaining bandwidth with Silver traffic in a Weighted Round Robin fashion. The ISP makes no guarantees at all with regard to delivery of Bronze traffic across their network;...
  • Page 15 The act of assigning packets in a particular traffic class to a particular egress queue is achieved in the pre-marking process. This requires that the pre-marking DSCP map table be set up to send packets to appropriate queues, based on their DSCP value: set qos dscpmap=premark dscp=0 newqueue=1 set qos dscpmap=premark dscp=30 newqueue=2 set qos dscpmap=premark dscp=40 newqueue=6...
  • Page 16 Step 3—Set the bandwidth limits The Gold traffic must be strictly limited to 2Mbps This is achieved by configuring a maxbandwidth on that traffic class, and dropping bandwidthclass 3 traffic: set qos trafficclass=3 maxbandwidth=2mbps maxburst=20Kbytes dropbwclass3=true For silver traffic, there is preferential treatment for the first 5Mbps of traffic. So, when there is congestion, you want to still be getting 5Mbps of Silver traffic through, if possible.
  • Page 17 RED curves—a refresher Random Early Discard curves are bandwidth class aware, and can drop lower priority packets when severe congestion occurs, with progressively more and higher priority packets dropped until congestion is eased. This is useful for TCP flows, because the sender will slow the rate of transmission when it detects a packet loss.
  • Page 18: Step 1-Bandwidth Limiting

    Full QoS scenario 2: bandwidth limiting of multiple customers In this section, we will build up another relatively complex QoS configuration to support a different scenario. The scenario is an ISP providing connectivity for several independent customers (one per port). Different customers have signed up for different deals that provide different levels of service.
  • Page 19: Port

    The configuration required to impose these bandwidth limits would be: Limiting the outgoing traffic: create qos policy=1 dtcdropbwclass3=yes dtcmaxbandwidth=1Mbps dtcmaxburst=10Kb create qos policy=2 dtcdropbwclass3=yes dtcmaxbandwidth=10Mbps dtcmaxburst=10Kb create qos policy=3 dtcdropbwclass3=yes dtcmaxbandwidth=15Mbps dtcmaxburst=10Kb create qos policy=4 dtcdropbwclass3=yes dtcmaxbandwidth=5Mbps dtcmaxburst=10Kb create qos policy=5 dtcdropbwclass3=yes dtcmaxbandwidth=2Mbps dtcmaxburst=10Kb set qos port=1 poli=1 set qos port=2 poli=2...
  • Page 20: Port

    create qos traff=9 set qos traff=9 maxband=5Mbps maxburst=10Kb dropbwc=yes add qos traff=9 flow=9 create qos traff=10 set qos traff=10 maxband=2Mbps maxburst=10Kb dropbwc=yes add qos traff=10 flow=10 create qos poli=6 add qos poli=6 traff=6-10 set qos port=24 poli=6 Step 2—Giving better service to VOIP traffic The ISP can offer to the customer a guarantee that VoIP traffic (up to a certain, relatively low, bandwidth) will be given preferential treatment.
  • Page 21: Set Qos Port=3 Poli

    Singapor e 534182 T: +65 6383 3832 Allied Telesis is a trademark or registered trademark of Allied Telesis, Inc. in the United States and other countries. T: +1 800 424 4284 F: +1 425 481 3895 F: +41 91 69769.11...

Table of Contents

Save PDF