background image

C613-16120-00 REV A

www.alliedtelesis.com

AlliedWare Plus

TM

 OS

Overview of |

Introduction

This How To Note describes the main features of QoS on switches running the 
AlliedWare Plus OS. The main features include:

z

Prioritisation and marking

Right at the point of ingress into the QoS process, packets classified to particular class 
maps can have values written to one or more of their associated “markers”. The markers 
can be externally visible fields (DSCP value, 802.

1

p value) and/or internally visible fields 

(bandwidth class and queue number). These markers are explained in 

"Packet markers" on 

page 4

.

z

Policing

Packets belonging to any given class map can be assigned a colour (bandwidth class) based 
on whether they are inside or outside the bandwidth limits set for that class map. The 
packets are marked with the colour that was applied to them, and at various points in the 
QoS process, decisions on the packets' fate can be made on the basis of what colour they 
have been marked with.

z

Remarking

After policing, remarking can update packets’ QoS markers depending on how well the 
flow conforms to its bandwidth limits. For example, if a flow exceeds its bandwidth 
requirements, QoS can update the packets’ DSCP values.

z

Per-port control over egress queue parameters

Queue lengths, scheduling process, relative weights, etc can be set on all queues on a per-
port basis.

z

Highly configurable default class map

All the parameters that can be set on a normal class map can also be set on the default 
class map (the catch-all class map that matches all traffic that does not explicitly match any 
other class map).

Quality of Service Features on x900-

1

2, 

x900-24, and SwitchBlade x908 Switches

Содержание AlliedWare Plus

Страница 1: ...bandwidth limits set for that class map The packets are marked with the colour that was applied to them and at various points in the QoS process decisions on the packets fate can be made on the basis...

Страница 2: ...ing 9 Details of the component processes and how to configure them 10 QoS elements policy maps class maps policers matches 10 Diagram of the overall QoS process flow 11 Enabling QoS globally 12 Initia...

Страница 3: ...the relative priorities of the egress queues In general the main aim of all the processes in the QoS system is to work out which egress queue a particular packet should be put into There are several...

Страница 4: ...m z Bandwidth Class This parameter can take on the values green yellow or red Essentially it is an indicator of whether the packet is deemed to have been within the acceptable bandwidth limit set for...

Страница 5: ...can be forwarded on the basis of that information The mapping of the User Priority value to an egress queue is configurable so the administrator can decide for example to send frames with a Priority v...

Страница 6: ...in four ways z the VLAN tag user priority z the Differentiated Services Code Point DSCP z the bandwidth class the packet is assigned to z the egress queue the packet is assigned to A packet can have...

Страница 7: ...class of green If a policer starts to exceed its limit then the packets in that policer are given a temporary bandwidth class of yellow If it starts seriously exceeding its limits then the packets tem...

Страница 8: ...estion 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...

Страница 9: ...red to ensure that more packets per second are sent from the higher priority queues than from the lower priority queues To allow for flexibility in scheduling it is possible to use different schedulin...

Страница 10: ...the class map applies to and policers to set the bandwidth parameters for that type of traffic Class maps can also have other settings such as whether to premark traffic The following figure summarise...

Страница 11: ...ess Queue Policing Marker updated Temporary Bw Class Drop red packets Routing Red Curves Egress Queuing Untagged packets set egress queue based on mls qos queue and CoS based on mls qos cos Markers up...

Страница 12: ...the following command in global configuration mode awplus config mls qos map cos queue cos to queue You need to enter this command for every CoS that you want to re map To see the mapping use the foll...

Страница 13: ...tailed information about ACLs and the match commands see the Note How To Configure Hardware Filters on SwitchBlade x908 x900 12XT S and x900 24 Series Switches Premarking Premarking happens after ingr...

Страница 14: ...effect is that all packets that match the class map and policy map are marked with the values specified with these commands Using the mark dscp map The data structure that drives the premarking proce...

Страница 15: ...pmap c trust dscp The trust dscp command indicates that this class map will use the mark dscp map for pre marking Note that you can t use the command trust dscp at the same time as the commands set c...

Страница 16: ...he process of counting the number of packets that the switch processes and determining their level of conformance with their bandwidth limits The AlliedWare Plus OS enables you to police ports and dif...

Страница 17: ...multiple class maps policy maps or ports You create them in global configuration mode and then attach them to the required class maps They are identified by a name The following commands give an exam...

Страница 18: ...ts that have exceeded the average bandwidth has exceeded the minimum burst size but not yet reached the maximum burst size then the bandwidth class is yellow If the data rate for the policer is above...

Страница 19: ...ccumulation of total bits that have exceeded the minimum bandwidth has exceeded the minimum burst size or if the data rate is above the maximum bandwidth and the accumulation of total bits that have e...

Страница 20: ...bytes and the number of bytes of each colour It also shows the number of bytes dropped by the policer Dropped bytes will equal red bytes if the policer has an exceed action of drop otherwise it will a...

Страница 21: ...r port1 0 1 Interface port1 0 1 Class map default Aggregate Bytes 0 Green Bytes 0 Yellow Bytes 0 Red Bytes 0 Dropped Bytes 0 Aggregate name examplePolicer Class map cmap1 cmap2 port1 0 1 cmap1 cmap2 p...

Страница 22: ...Do this by entering one of the commands awplus config pmap c police single rate average bandwidth minimum burstsize maximum burstsize exceed action policed dscp transmit awplus config pmap c police t...

Страница 23: ...ctions describe how to configure random detect and tail drop mode but first you need to consider the default settings Default settings If you do not configure queue shaping z 10 100 1000M ports use ta...

Страница 24: ...the following figure z Minimum threshold defines the length that the queue must reach before the packets start being dropped z Maximum threshold defines the length that the queue must reach before the...

Страница 25: ...s awplus config interface interface name awplus config if mls qos queue set 1 4 random detect If you enter this command without configuring the RED curve settings see Configuring RED curve settings on...

Страница 26: ...Specifying the drop probability To specify the drop probability for each bandwidth class use the command awplus config mls qos queue set 1 4 queues list drop probability green drop prob yellow drop pr...

Страница 27: ...owing actions z If the green maximum threshold is exceeded all packets will be dropped z If the yellow maximum threshold is exceeded all yellow and red packets will be dropped z If the red maximum thr...

Страница 28: ...th queues queue list You can specify bandwidth in kilobits e g 2000 or 2000k megabits e g 2m or gigabits e g 2g Although this command begins with the keyword wrr queue you can use it to configure queu...

Страница 29: ...understand the relationship between a queue s wrr queue egress rate limit command and a port s egress rate limit command These two commands actually control two different aspects of the egress schedul...

Страница 30: ...policer separately counts packets that match each class map This scenario uses ordinary policers Use this type of scenario when you need to police according to traffic type and user For example this s...

Страница 31: ...roup 3000 class map cm2 match access group 3001 policy map pm1 class cm1 police twin rate 1000 200 5000 1000 exceed action drop class cm2 police single rate 3000 200 4000 exceed action drop interface...

Страница 32: ...s if groups of user ports on the switch were connected to different departments of the business and the company policy gave each department a collective limit on the amount of certain traffic types th...

Страница 33: ...idth to different users connected to the switch For example you could have a VoIP phone and a PC connected to each of the user ports on the switch and the uplink port connected to an ISP that has cont...

Страница 34: ...0 exceed action drop class map cm1 match ip dscp 35 class map cm2 match access group 3000 policy map pm1 class cm1 police aggregate aggr1 class cm2 police single rate 3000 200 4000 exceed action drop...

Страница 35: ...limit on the level of traffic they can send to addresses that are out on the Internet and also put a limit on the amount of traffic they can send to some particular internal service such as an interna...

Страница 36: ...egate pol1 class cm2 police aggregate pol1 policy map pm2 class cm1 police aggregate pol2 class cm2 police aggregate pol2 interface port1 0 1 service policy input pm1 interface port1 0 2 service polic...

Страница 37: ...ively policed to the levels stipulated in the contract and then delivered to the ISP via the uplink port However there are probably multiple different types of traffic that come under the heading of r...

Страница 38: ...another for example packets ingress a SwitchBlade x908 via a port in one XEM and egress via a port in another XEM then a new factor comes into play This new factor is the switching fabric that passes...

Страница 39: ...egress queue of the switching instances maps to q0 is the fabric queue number for switching instance queue 0 and so on For example the following command awplus config mls qos map input queue 1 2 0 0 0...

Страница 40: ...eduling the queues within the fabric The queues within the fabric can be grouped into one set of strict priority queues and one set of weighted round robin queues Like the queues in the switching inst...

Отзывы: