Reference Guide

6 Enter a queue number for matched ow as qos-group ID in POLICY-MAP-CLASS-MAP mode—0 to 7.
set qos-group queue-number
7 Save the conguration.
do commit
Congure IP precedence classication
OS10(config)# class-map type qos bluedscp
OS10(conf-cmap-qos)# match ip precedence 5
OS10(conf-cmap-qos)# do commit
OS10(conf-cmap-qos)# exit
OS10(config)# policy-map type qos reddscp
OS10(conf-pmap-qos)# class bluedscp
OS10(conf-pmap-c-qos)# set qos-group 6
OS10(conf-pmap-c-qos)# do commit
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy(qos) input: reddscp
Class-map (qos): bluedscp
set qos-group 6
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy(qos) input: pmap1
Class-map (qos): class-trust
trust dot1p
Mark trac
Marking allows you to add or set the 802.1p priorities to a L2 header, or set the DSCP value to L3 header. You can mark classied trac
with a trac-class ID (qos-group Id) as well. Since trac-class ID (qos-group ID) and queue ID have a one-to-one mapping, you can use
qos-group and queue interchangeably. Marking packet elds allows you to identify the trac type based on the congured QoS information
for a specic packet.
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
5 Save the conguration.
do commit
456
Quality of service