OcNOS-RON : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : egress cos map
egress cos map
Use this command to map a queue value to the CoS value.
Use the no form of this command to remove the map.
Note: Egress CoS map will be taking effect only when remark CoS 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 cos action on ingress interface, set action will take priority over egress cos map and packet will egress out with set cos value.
Command Syntax
queue <0-7> (color (green|yellow|red|all)|) cos <0-7>
no queue <0-7> (color (green|yellow|red|all)|)
Parameters
<0-7>
Identifying queue number
color
(green|yellow|red|all)
<0-7>
CoS value
Default
By default, CoS to queue mapping is one to one.
Command Mode
Egress cos 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-cos default
(config-egress-cos-map)#queue 1 color green cos 5
(config-egress-cos-map)#queue 1 cos 6
 
Color is an optional parameter. So if users do not provide color, for all colors same CoS remarking will be set. If user provides color, then only for that specific color egress map will be changed. If user provides map for all colors as well as without color, map with color will take priority.
(config-egress-cos-map)#no queue 1 color green
(config-egress-cos-map)#no queue 1
If user want to remove all the mapping of queue (for all colors) no need to provide color, else can provide specific color to remove specific map .
 
Last modified date: 07/14/2023