map qos-profile
Use this command to map (attach) the qos profile to an IRB interface.
Use the no form of this command to remove a profile.
We can map the following qos profile type on IRB interface.
• dscp-to-queue for ingress traffic and
• dscp-to-dscp profile for egress traffic
from/to the IRB interface.
On doing no map qos-profile, default profile is applied to the IRB interface.
In order for dscp-to-dscp - qos profile type to be effective on L3 IRB interface , "qos remark dscp" is enabled globally.
Note: Default profile is applied to all the IRB interface only when qos is enabled.
Command Syntax
map qos-profile (dscp-to-dscp | dscp-to-queue) <NAME>
no map qos-profile (dscp-to-dscp | dscp-to-queue) <NAME>
Parameters
NAME
Profile name
Default
By default, the default dscp-to-queue and dscp-to-dscp profile is attached to all IRB interface and if user changes the value in the default profile, it will affect to all the IRB interfaces and L3 interfaces.
Command Mode
IRB_IF_Mode
Default
Default queue and cos value is one-one default mapping if it is not configured.
Applicability
This command was introduced in OcNOS version 4.2.
Example
#configure terminal
(config)#interface irb 1
(config-irb-if)# map qos-profile dscp-to-dscp DSCP_DSCP
(config-irb-if)# no map qos-profile dscp-to-dscp DSCP_DSCP
(config)#interface irb 1
(config-irb-if)# map qos-profile dscp-to-queue DSCP_QUE
(config-irb-if)# no map qos-profile dscp-to-queue DSCP_QUE
Last modified date: 08/29/2023