Reference Guide

5 In POLICY-MAP mode, associate a policy-map with a class-map.
class class-map-name
6 Enter a queue number for the 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 access-group classication
OS10(config)# class-map type qos accgrp
OS10(conf-cmap-qos)# match ip access-group name ag1
OS10(conf-cmap-qos)# do commit
OS10(conf-cmap-qos)# exit
OS10(config)# policy-map type qos ag2
OS10(conf-pmap-qos)# class accgrp
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: ag2
Class-map (qos): accgrp
set qos-group 6
Service-policy(application) input: policy-iscsi
Service-policy(qos) input: redscp
Class-map (qos): bluedscp
set qos-group 7
Service-policy(qos) input: redvlan
Class-map (qos): bluevlan
set qos-group 6
Service-policy(qos) input: redacl
Class-map (qos): blueacl
set cos 6
set qos-group 6
Service-policy(qos) input: ag2
Class-map (qos): accgrp
set qos-group 6
IP precedence classication
Classify the QoS trac based on an IP header precedence eld. If DSCP-based classication—DSCP as match criterion—is used in a
class-map, IP precedence cannot be used as another match criterion.
1 Create a class-map and type qos in CONFIGURATION mode.
class—map type qos class—map-name
2 Apply the L3 precedence match criteria for the QoS policy in the CLASS-MAP conguration mode. Congure the match IP
precedence value as single, comma-delimited, or hyphenated range—0 to 7. Use the match not command to match all values
except the values congured.
match ip precedence precedence-value | precedence-list | precedence-range—IPv4 protocol use
match ipv6 precedence precedence-value | precedence-list | precedence-range—IPv6 protocol use
3 Save the conguration and return to CONFIGURATION mode.
do commit
exit
4 Enter a policy-map name and type qos in CONFIGURATION mode.
policy-map type qos policy—map-name
5 Associate a policy-map with a class-map in POLICY-MAP mode.
class class-map-name
Quality of service
455