Reference Guide
If you apply a policy-map with L2 parameters (match criteria or marking is only for L2 header elds) only, and both L2 and L3 interfaces are
congured on that system, OS10 displays an error message. If you apply an L2 policy-map on an L3 congured interface, OS10 also displays
an error message.
Class-map conguration
You can implement classication or ltering packets into various trac classes based on a packet match criteria using class-maps. OS10
allows you to create class-maps to separate packets based on a specic match criteria. You can congure three types of class-maps—
control-plane, qos (default), and queueing.
• Create a class-map, and congure a name for the class-map in CONFIGURATION mode.
class-map [type [control-plane | qos | queueing]] [match-all | match-any]class-map-name
• qos—Creates a QoS class-map type
• queuing—Creates a queuing class-map type
• control-plane—Creates a control-plane class-map type
• match-all | match-any—Sets match-all or match-any as your match lter, with match-any as the default
• class-map-name—Enter a class-map name - up to 32 characters
NOTE: If you create a class-map without entering the class-map type, qos is automatically set as the default class-map type.
Congure class-map
OS10(config)# class-map type qos match-any solar
View class-map
OS10(config)# do show class-map
Class-map (qos): solar (match-any)
Policy-map conguration
Congure policy-maps to create a named object that represents a set of policies that apply to a set of trac classes. You can congure
three types of policy-maps—control-plane, qos (default), and queuing.
1 Create a policy-map, and congure a name for the policy-map in CONFIGURATION mode, up to 32 characters.
policy-map [type {qos | queuing | control-plane}] policy-map-name
• qos—Creates a QoS type policy-map.
• queuing—Creates a queuing type policy-map.
• control-plane—Creates a control-plane type policy-map.
2 Associate a policy-map with a class-map in POLICY-MAP mode.
class class-name
After creating policy-maps and associating the policy-maps with class-maps you can congure shaping, marking, metering, and other QoS
features - see Mark trac and Meter trac.
Create class-map C1
OS10(config)# class-map c1
OS10(conf-cmap-qos)# match cos 1
Show class-map
OS10(conf-cmap-qos)# do show class-map type qos c1
Class-map (qos): c1 (match-cos)
Quality of service
475