OcNOS-SP : 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.
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
config-egress-dscp-map
Applicability
This command was introduced in OcNOS version 3.0.
Example
(config)#qos profile dscp-to-dscp default
(config-egress-dscp-map)#dscp 20 color yellow dscp 40
(config-egress-dscp-map)#dscp 20 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 dscp 20 color yellow
(config-egress-dscp-map)#no dscp 20
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: 10/20/2023