Reference Guide
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
Congure VLAN classication
OS10(config)# class-map type qos bluevlan
OS10(conf-cmap-qos)# match vlan 1
OS10(conf-cmap-qos)# exit
OS10(config)# policy-map type qos redvlan
OS10(conf-pmap-qos)# class bluevlan
OS10(conf-pmap-c-qos)# set qos-group 6
View policy-map
OS10(conf-pmap-c-qos)# do show policy-map
Service-policy(qos) input: redvlan
Class-map (qos): bluevlan
set qos-group 6
IP access-group classication
With this classication, trac that accesses the IP access-list within the class-map is matched. The IP access-list is associated to the
class-map using the IP access-group CLI. For a match-all class-map, congure only one access-list as a match lter. You cannot apply any
other match criteria. For a match-any class-map, congure up to ve access-lists and/or other match criteria.
1 Dene a class-map type as qos in CONFIGURATION mode.
class—map type qos class—map-name
2 Apply the match criteria for an IPv4-specic QoS policy in CLASS-MAP mode.
match ip access-group name name
3 Return to CONFIGURATION mode.
exit
4 Dene a policy-map type as qos and create a name for the policy-map in CONFIGURATION mode.
policy-map type qos policy—map-name
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
Congure IP access-group classication
OS10(config)# class-map type qos accgrp
OS10(conf-cmap-qos)# match ip access-group name ag1
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
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
554
Quality of service