ingress dscp map
Use this command to map a DSCP value to the queue.
Use the no form of this command to remove the map.
Note: You can “remark” the DSCP value for the incoming traffic at ingress via map by setting the last “DSCP” field. You still need to match traffic with the incoming DSCP value in the class-map even if you are remarking them at ingress via a DSCP map. Traffic will be received with remarked DSCP value at egress if no egress DSCP map is applied. If an egress DSCP map (such as DSCP-to-DSCP) is applied at the egress port, and DSCP remarking is enabled, DSCP will be remarked again according to the mapping given for the remarked DSCP (the DSCP value given in ingress DSCP map).
Note: Last “DSCP” parameter is remark_DSCP value, which if provided will be set as the same ingress DSCP value. Color is an optional parameter. If not provided, it will be set as the default value. Please refer the Configuration Guide for the default value table.
Command Syntax
dscp <0-63> queue <0-7> (color (green|yellow|red)|) (dscp <0-63>|)
no dscp <0-63>
Parameters
<0-63>
DSCP value
<0-7>
Identifying queue number
color
(green|yellow|red)
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-ingress-dscp-map
Applicability
This command was introduced in OcNOS version 3.0.
Example
(config)#qos profile dscp-to-queue default
(config-ingress-dscp-map)#dscp 1 queue 2
Last modified date: 10/20/2023