qos dscp-map

Syntax

qos dscp-map <CODE-POINT> local-priority <PRIORITY-NUMBER> [color <COLOR>] [name <DESCRIPTION>]

no qos dscp-map <CODE-POINT>

Description

Defines the local priority assigned to incoming packets for a specific IP differentiated services code point (DSCP) value. The DSCP map values are used to prioritize incoming packets when QoS trust mode is set to dscp.

To see the default DSCP map settings, use the following command:

switch# show qos dscp-map default
code_point local_priority color   name
---------- -------------- ------- ----
code_point local_priority color   name
---------- -------------- ------- ----
0          1              green   CS0
1          1              green
2          1              green
3          1              green
4          1              green
5          1              green
 <--OUTPUT OMITTED FOR BREVITY-->
45         5              green
46         5              green   EF
47         5              green
48         6              green   CS6
 <--OUTPUT OMITTED FOR BREVITY-->
61         7              green
62         7              green
63         7              green

The no form of this command restores the assignments for a code point to the default setting.

Command context

config

Parameters

<CODE-POINT>

Specifies an IP differentiated services code point. Range: 0 to 63. Default: 0.

local-priority <PRIORITY-NUMBER>

Specifies a local priority value to associate with the CODE-POINT value. Range: 0 to 7. Default: 0.

color <COLOR>

Reserved for future use.

name <DESCRIPTION>

Specifies a description for the DSCP setting. The name is used for identification only, and has no effect on queue configuration. Range: 1 - 64 alphanumeric characters, including period (.), underscore (_), and hyphen (-).

Authority

Administrators

Examples

Setting code point 1 to a local priority of 2:

switch(config)# qos dscp-map 1 local-priority 2 

Setting code point 1 to the default value:

switch(config)# no qos dscp-map 1