Reference Guide

View policy-map
OS10(conf-if-eth1/1/5)# do show policy-map
Service-policy(queuing) output: solar
Class-map (queuing): magnum
priority
Class of service or dot1p classication
Classication allows you to manage network trac by separating it into dierent categories. Packets are identied and categorized into
trac classes. You can use the match command to apply a match to place network trac into specic trac classes.
You can classify the QoS trac based on class of service (CoS) or 802.1 p (dot1p) values. You cannot have two match statements with the
same match criterion. If you enter two match statements with the same match criterion, the second statement overwrites the rst
statement.
1 Create a class-map and qos type in CONFIGURATION mode.
class—map type qos class—map-name
2 Add the match criteria for the CoS values in CLASS-MAP mode. Congure dot1p values of incoming packets to match in single,
comma-delimited, or hyphenated range - 0 to 7.
match cos cos cos-value|cos-list|cos-range
3 Return to CONFIGURATION mode.
exit
4 Enter a policy-map name and qos type in CONFIGURATION mode.
policy-map type qos policy—map-name
5 Associate the policy-map with a class-map in POLICY-MAP mode.
class class-map-name
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
Congure CoS classication
OS10(config)# class-map type qos bluedot1p
OS10(conf-cmap-qos)# match cos 6
OS10(conf-cmap-qos)# exit
OS10(config)# policy-map type qos red
OS10(conf-pmap-qos)# class bluedot1p
OS10(conf-pmap-c-qos)# set qos-group 5
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy(qos) input: red
Class-map (qos): bluedot1p
set qos-group 5
DSCP classication
Classify trac based on the DSCP value. The value of the QoS group represents the queue to which you direct a specic class of trac.
You cannot have two match statements with the same match criterion. If you enter two match statements with same lter-type, the
second statement overwrites the rst statement.
1 Create a class-map, and enter the type as qos in CLASS-MAP mode.
class—map type qos class—map-name
2 Apply an L3 DSCP match criteria and congure the DSCP values to match from incoming packets in CLASS-MAP mode. Enter DSCP
values in single, comma-delimited, or hyphenated range—0 to 63. Use the match not command to match all valid values other than
the congured values.
480
Quality of service