Reference Guide

Mark class of service
OS10(config)# policy-map type qos platinum
OS10(conf-pmap-qos)# class diamond
OS10(conf-pmap-c-qos)# set cos 5
OS10(conf-pmap-c-qos)# set qos-group 7
OS10(conf-pmap-c-qos)# do commit
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy(qos) input: platinum
Class-map (qos): diamond
set cos 5
set qos-group 7
DSCP marking
To tag an incoming packet with a DSCP value, or modify incoming packets, you can congure marking for DSCP. The set dscp
command is only supported under the ingress QoS policy type qos.
1 Create a policy-map of type qos and congure a name for the policy-map in CONFIGURATION mode.
policy-map type qos policy-map-name
2 Congure a QoS class for classied trac in POLICY-MAP mode (up to 32 characters).
class class-name
3 Congure marking for DSCP in POLICY-MAP mode (0 to 63).
set dscp dscp-value
4 Save the conguration.
do commit
Mark DSCP
OS10(config)# policy-map type qos platinum
OS10(conf-pmap-qos)# class diamond
OS10(conf-pmap-c-qos)# set dscp 50
OS10(conf-pmap-c-qos)# set qos-group 7
OS10(conf-pmap-c-qos)# do commit
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy(qos) input: platinum
Class-map (qos): diamond
set dscp 50
set qos-group 7
Group marking
To tag an incoming packet with qos-group type, you can congure marking for the QoS group. The set qos-group command is only
supported under ingress qos type or control-plane. If the class-map type is control-plane, the qos-group corresponds to CPU queues 0 to
11.
If the class-map type is qos, the qos-group corresponds to data queues 0 to 7. The maximum number of data queues supported in OS10
are 8, and the maximum number of control trac queues are 12.
1 Create a policy-map with the type qos in CONFIGURATION mode.
policy-map type qos policy-map-name
Quality of service
457