beautypg.com

Setting egress dscp queues example 2 – Allied Telesis AT-8100 Series User Manual

Page 1672

background image

Chapter 100: Quality of Service (QoS)

1672

The following example sets ingress traffic with a DSCP value of 5 to
egress on queue 7 of port 5:

Table 219. Setting Egress DSCP Queues Example

Command

Description

awplus> enable

Enters the Privileged Executive mode from the
User Executive mode.

awplus# configure terminal

Enters the Global Configuration mode.

awplus(config)# mls qos enable

Activates the QoS feature on the switch.

awplus(config)# class-map trustdscp

Creates a class map called “trustdscp” and enters
the Class Map mode.

awplus(config-cmap)# exit

Exits the Class Map mode.

awplus(config)# policy-map pmap1

Creates a policy map called “pmap1.”

awplus(config-pmap)# class
trustdscp

Adds class map “trustdscp” to policy map “pmap1.”

awplus(config-pmap-c)# trust dscp

Trusts DSCP value of ingress IP packets.

awplus(config-pmap-c)# exit

Exits the Policy Map Class mode.

awplus(config-pmap)# exit

Exits the Policy Map mode.

awplus(config)# interface port1.0.5

Enters the Port Interface mode for port 5.

awplus(config-if)# service-policy
input pmap1

Attaches policy map “pmap1” to port 5.

awplus(config-if)# mls qos map dscp-
queue 5 to 7

Maps priority 5 to queue 7 on port 5.

awplus(config-if)# end

Exits the Port Interface mode.