beautypg.com

Auto-qos trust dscp functionality example 2 – Allied Telesis AT-8100 Series User Manual

Page 1682

background image

Chapter 100: Quality of Service (QoS)

1682

Auto-QoS with Trust DSCP Functionality

In the following example, VLAN 100 becomes the voice VLAN, and trust
DSCP ingress traffic is specified:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.1
awplus(config-if)# auto-qos trust dscp

See Table 227 for a list of commands that are contained in this macro.

awplus (config-if)# wrr-queue weight
3,3,1,1,12,0,0,0

Assigns a weight to the eight default CoS
queues where weight specifies the number of
packets a port transmits from a queue before
going to the next queue. By default, the CoS
queues start with queue 0. CoS queues 0 and 1
are assigned a weight of 3. CoS queues 2 and 3
are assigned a weight of 1. CoS queue 4 is
assigned a weight of 12. CoS queues 5 through
7 are assigned a weight of 0.

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

Associates policy map “AutoQoS” with the given
port which in this example is port 1.

Table 226. Auto-QoS with Trust CoS Functionality Example (Continued)

Command

Description

Table 227. Auto-QoS Trust DSCP Functionality Example

Command

Description

awplus (config)# mls qos enable

Activates the QoS feature on the switch.

awplus (config)# class-map
trustdscp

Creates a class map called “trustdscp.”

awplus (config)# policy-map
AutoQos

Creates a policy map called AutoQoS and enters the
Policy Map Configuration mode.

awplus (config-pmap)# class
trustdscp

Enters the “trustdscp” class map.

awplus (config-pmap-c)# trust
dscp

Enables class map “trustdscp” to trust DSCP ingress
IP packet headers for prioritization.