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 conguration.
do commit
Congure IP precedence classication
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 trac
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 classied trac
with a trac-class ID (qos-group Id) as well. Since trac-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 trac type based on the congured QoS information
for a specic 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 congure a name for the policy-map in CONFIGURATION mode.
policy-map type qos policy-map-name
2 Congure a QoS class for classied trac in POLICY-MAP mode (up to 32 characters).
class class-name
3 Congure marking for CoS in POLICY-MAP-CLASS-MAP mode (0 to 7).
set cos dot1p-value
4 Congure marking for QoS group in POLICY-MAP-CLASS-MAP mode.
set qos group queue-number
5 Save the conguration.
do commit
456
Quality of service