beautypg.com

Classification, Premarking – Allied Telesis AlliedWare Plus User Manual

Page 13

background image

Page 13 | AlliedWare Plus™ OS: Overview of QoS

awplus(config)#interface <port-number>

awplus(config-if)#mls qos cos <0-7>

The value you change the CoS to is not used to look up the initial egress queue setting; the
mls qos queue command still determines the queue for untagged packets.

Classification

The process of assigning packets to class maps requires a two stage configuration.

First, create a class map by entering the following command:

awplus(config)#class-map <name>

Then, specify the parameters for classifying traffic, by using the match command. You can
match on an ACL or on a number of other parameters, as the following table shows:

For detailed 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 ingress, before the traffic has been policed.

There are two mutually exclusive methods available for premarking:

z

setting the new values explicitly for all packets that match a certain class map, or

z

using the mark-dscp map to apply new values to the packets.

Match command parameter

What it matches on

access-group

IP or MAC hardware ACL

cos

Class of Service (802.1p value)

eth-format

Ethernet format

inner-cos

Inner CoS

inner-tpid

Inner Tag Protocol Identifier

inner-vlan

Inner VLAN ID

ip-dscp

IP DSCP value

ip-precedence

IP precedence value

mac-type

MAC type

protocol

Protocol

tcp-flags

TCP flags

tpid

Tag Protocol Identifier

vlan

VLAN ID