qos map dscp-traffic-class

Creates a QoS map for performing DSCP-to-traffic class mapping. You use the qos traffic-class-dscp command to apply the map to an interface.

Syntax

qos map dscp-traffic-class name
no qos map dscp-traffic-class name
map dscp ingress dscp values to traffic-class traffic class [ drop-precedence out drop precedence ]

Command Default

DSCP-to-traffic class mutation is not enabled.

Parameters

name
Name of the QoS DSCP-to-traffic clas map.
map dscp
Ingress DSCP values. The range of ingress DSCP values is 0 through 63.
traffic-class
Egress traffic class values. The range of ingress traffic class values is from 0 through 7.
drop-precedence
Drop precedence value given egress packets. The range is 0 through 3.
ingress dscp values
Range of input DSCP values. The range is 0 through 63.
traffic class
The traffic class value. the range is from 0 through 7.
out drop precedence
Value of the output drop precedence. The range is 0 through 3.

Modes

dscp-traffic-class mode for the DSCP-to-traffic class map

Global configuration mode

Usage Guidelines

Enter qos dscp-traffic-class name to apply the QoS DSCP-Traffic-Class map to that interface. When you enter qos map dscp-traffic-class, the system is placed in dscp-traffic-class mode for the configured map. At this point, you can map ingress DSCP values to traffic class values using the mark command.

Enter no qos dscp-traffic-class name while in the interface mode to remove the map from that interface.

Note

Note

This command is is supported on the Extreme 8820, Extreme 8720, Extreme 8520, SLX 9740, SLX 9250, and SLX 9150 devices only.

Examples

This example creates a QoS DSCP-to-traffic class map and places the system into dscp-traffic-class mode.

device# configure terminal
device(config)# qos map dscp-traffic-class test 
device(dscp-traffic-class-test)#

This example maps ingress DSCP values to a traffic class.

device# configure terminal
device(config)# qos map dscp-traffic-class test
device(dscp-traffic-class-test)# map dscp 1,3,5,7 to traffic-class 1 drop-precedence 1

This example maps multiple ingress DSCP values to traffic classes and drop precedence.

device# configure terminal
device(config)# qos map dscp-traffic-class test
device(dscp-traffic-class-test)# map dscp 10 to traffic-class 3 drop-precedence 1
device(dscp-traffic-class-test)# map dscp 40 to traffic-class 4 drop-precedence 1
device(dscp-traffic-class-test)# map dscp 45 to traffic-class 5 drop-precedence 0
device(dscp-traffic-class-test)# map dscp 52 to traffic-class 3 drop-precedence 1

This example removes a QoS DSCP-traffic-class map.

device# configure terminal
device(config)# no qos map dscp-traffic-class test