qos dscp-map

Syntax

qos dscp-map本地优先级[color] [cosCOS-CODE-POINT] [name] no qos dscp-map

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 todscp.

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

switch#show qos dscp-map defaultcode_point local_priority cos color name ---------- -------------- --- ------- ---- 0 1 green CS0 1 1 green 2 1 green 3 1 green 4 1 green 5 1 green ... 45 5 green 46 5 green EF 47 5 green 48 6 green CS6 ... 61 7 green 62 7 green 63 7 green

Thenoform of this command restores the assignments for a code point to the default setting.

Command context

config

Parameters

指定一个n IP differentiated services code point. Range: 0 to 63. Default: 0.

本地优先级

指定一个local priority value to associate with theCODE-POINTvalue. Range: 0 to 7. Default: 0.

color

Reserved for future use.

cos

指定一个n 802.1 VLAN priority CoS remark value. Range: 0 to 7. Default 0

name

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

Authority

Administrators or local user group members with execution rights for this command.

Examples

Setting code point1本地优先2and a CoS of0:

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

Setting code point1to the default value:

switch(config)#no qos dscp-map 1