Reference Guide

CoS (or dot1P
values)
Use the set cos dot1p-values command to mark the CoS eld - 0 to 7.
DSCP Use the set dscp dscp-values command to mark the DSCP eld - 0 to 63.
QoS group Use the set qos-group queue-number command to mark the QoS Group eld - 0 to 11.
Class of service marking
To tag an incoming packet with 802.1p priorities, or modify incoming packets you can mark class of service (CoS). The set cos 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 CoS in POLICY-MAP-CLASS-MAP mode (0 to 7).
set cos dot1p-value
4 Congure marking for QoS group in POLICY-MAP-CLASS-MAP mode.
set qos group queue-number
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
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
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
556
Quality of service