OcNOS-RON : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : egress dscp map
egress dscp map
Use this command to map a queue to a DSCP value.
Use the no form of this command to remove the map.
Note: Egress DSCP map will be taking effect only when remark DSCP is enabled.
Note: Color is an optional parameter. If not provided, the same map will be set for all colors.
Note: If ingress qos policy-map is configured with set dscp/precedence action on ingress interface, set action will take priority over egress dscp map and packet will egress out with set scp/precedence value.
Command Syntax
queue <0-7> (color (green|yellow|red|all)|) dscp <0-63>
no queue <0-7> (color (green|yellow|red|all)|)
Parameters
<0-7>
Identifying queue number
color
(green|yellow|red|all)
<0-63>
DSCP value
 
Default
By default, 8 DSCP values are mapped to one queue.
For example: DSCP 0-7 queue 0, DSCP 8-15 queue 1.
Command Mode
Egress dscp map mode
Applicability
This command was introduced in OcNOS version DC 2.0
This command applies only to the Trident II, Trident II+, and Tomahawk platforms.
Example
(config)#qos profile queue-color-to-dscp default
(config-egress-dscp-map)#queue 2 color yellow dscp 40
(config-egress-dscp-map)#queue 2 dscp 36
If user specifies color in map then map will be set for that specific color else for all colors same map will be set.
(config-egress-dscp-map)#no queue 2 color yellow
(config-egress-dscp-map)#no queue 2
If user want to remove all the mapping of dscp (for all colors) no need to provide color, else can provide specific color to remove specific map.
 
Last modified date: 07/14/2023