qos map-profile
Use this command to attach (map) a profile to an interface.
Use the no form of this command to remove a profile.
Note: By-default, "default" profiles are attached on their supported interfaces (cos-to-queue and queue-to-cos on L2 interfaces and DSCP-to-queue and queue-color-to-DSCP on L3 interfaces).
Note: You can create and attach your own profile to supported interfaces. After removing a user-defined profiles from an interface, the "default" profile is applied.
Command Syntax
qos map-profile (cos-to-queue | dscp-to-queue | queue-color-to-cos | queue-color-to-dscp) NAME
no qos map-profile (cos-to-queue | dscp-to-queue | queue-color-to-cos | queue-color-to-dscp) NAME
Parameters
cos-to-queue
Profile for CoS to queue map
dscp-to-queue
Profile for DSCP to queue map
queue-color-to-cos
Profile for queue color to CoS map
queue-color-to-dscp
Profile for queue color to DSCP map
NAME
Profile map name (maximum 32 characters)
Default
By default, the default cos-to-queue-profile is applied to an L2 interface, and the default DSCP-to-queue profile is attached to an L3 interface.
Command Mode
Interface modes
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-if)#qos map-profile cos-to-queue cos-map
(config-if)#qos map-profile dscp-to-queue dscp-map
(config-if)#qos map-profile queue-color-to-cos egress-cos-map
(config-if)#qos map-profile queue-color-to-dscp q-to-dscp-map
Last modified date: 07/14/2023