Allied Telesis Switchblade AT-x900-12 Software Configuration Manual

Text of the manual

AlliedWare PlusTM OS

How To | C613-16112-00 REV A www.alliedtelesis.com Introduction This document describes some generic configuration examples for Quality of Service (QoS) on the AlliedWare Plus OS. What information will you find in this document? This document provides information in the following sections: • 1. Setting the egress rate‚ on page 2 •

Page 2 | AlliedWare Plus™ OS How To Note: QoS

1. Setting the egress rate 1. Setting the egress rate Example 1-1: Setting the egress limit of a switch port Commands: interface port1.0.24 egress-rate-limit 25m These commands will set the egress limit of port 24 to 25Mbps. The granularity is 651kbps. Port 24

Page 3 | AlliedWare Plus™ OS How To Note: QoS

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 in

Page 4 | AlliedWare Plus™ OS How To Note: QoS

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 651kbps. It is possible to achieve finer-grained limiting using the devices advanced QoS capability. In

Page 5 | AlliedWare Plus™ OS How To Note: QoS

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. This set of commands will set the total egress limit (downloa

Page 6 | AlliedWare Plus™ OS How To Note: QoS

1. Setting the egress rate Example 1-5: Setting the maximum bandwidth limit of VLANs mls qos enable class-map cmap2 match vlan 2 class-map cmap3 match vlan 3 class-map cmap4 match vlan 4 mls qos enable mls qos aggregate-police agg1 single-rate 256 3000 5000 exceed-action drop mls qos aggregate-police agg2 si

Page 7 | AlliedWare Plus™ OS How To Note: QoS

2. Setting the priority on a packet 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. mls qos enable class-m

Page 8 | AlliedWare Plus™ OS How To Note: QoS

2. Setting the priority on a packet Example 2-2: Setting the Layer 2 (VLAN/802.1p) priority per VLAN This set of commands will set the Layer 2 priority of VLAN2, VLAN3 and VLAN4 traffics packets, received on ports 1 to 20, to 6, 5 and 4 respectively. mls qos enable class-map cmap2 match vlan 2 class-map cmap3

Page 9 | AlliedWare Plus™ OS How To Note: QoS

2. Setting the priority on a packet Example 2-3: Setting the Layer 3 (TOS/DCSP) priority per ingress port Use the same configuration provided in Example 2-1 on page 7, but change the following line: set cos to set dscp Example 2-4: Setting the Layer 3 (TOS/DSCP) priority per VLAN Use th

Page 10 | AlliedWare Plus™ OS How To Note: QoS

3. Setting the egress queues 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

Other Switch Manuals