l2 queue exp (Qumran)
Use this command to map a queue color to the some exp value for L2 traffic.
Use the no form of this command to remove the map.
Note: Color is an optional parameter. If not provided, the same map is set for all colors.
Command Syntax
l2 queue <0-7> (color (green|yellow|red|all)|) exp <0-7>
no l2 queue <0-7> (color (green|yellow|red|all|)|)
Parameters
<0-7>
Identifying queue number
color
(green | yellow | red|all)
<0-7>
EXP value
Default
By default, queue values are one-to-one mapped to Exp. For example, queue 0 exp 0, queue 1 exp 1, and so on.
Command Mode
config-egress-exp-encap-map
Applicability
This command was introduced in OcNOS version 3.0 and this command is applicable for Qumran.
Example
(config)#qos profile exp-encap default
(config-egress-exp-encap-map)#l2 queue 2 exp 1
(config-egress-exp-encap-map)#l2 queue 4 color yellow exp 3
Color is an optional parameter, so if users do not provide color for all colors, the same EXP is set. If users provide color, then only that specific color egress map is changed. If, however, users provide a map for all colors, as well as maps without color, the map with color will take priority.
For example,
(config-egress-exp-encap-map)#no l2 queue 1 color green
(config-egress-exp-encap-map)#no l2 queue 1
If a user wants to remove all the mapping of queue (for all colors), then there is no need to provide color, else the user can provide a specific color to remove a specific map.
Last modified date: 10/20/2023