Creating QoS Policies
This function creates a policy map that can be attached to multiple int erfaces.
Command Usage
To configure a Policy Map, follow these steps:
- Create a Class Map as described on page 14-2.
- Open the Policy Map page, and click Add Policy.
- When the Policy Configurat ion page o pens, fil l in the “Policy Nam e” field, and
click Add.
- When the Policy Rule Settings page opens, select a class name from the
scroll-down list (Class Name field). Configure a policy for traffic that matches
criteria defined in this class by setting the quality of service that an IP packet will
receive (in the Action field), defining the ma xi mu m t hroug hp ut a nd b urst ra te (in
the Meter field), and the action that results from a policy violation (in the Exceed
field). Then finally click Add to register the new policy.
• A policy map can contain mu lt iple class statem ents that ca n be applied to the sa me
interface with the Service Policy Settings (page 14-7). You can configu re up to 64
policers (i.e., meters or class maps) for each of the fo llowin g access li st types :
MAC ACL, IP ACL (including Standard ACL and Extended ACL), IPv6 Standard
ACL, and IPv6 Extended ACL. This limitation applies to each switch chip
(IC40240-10G: ports 1-26, IC40480-10G: ports 1-25, ports 26-50). Also, note that the
maximum number of classes th at can be appl ied to a po licy ma p is 16.
Policing is based on a token bucket, where bucket depth (i.e., the m aximu m bu rst
before the bucket overflows) is by specified the “Bu rst” fi eld, a nd the av erage ra te
tokens are removed from the bucket is by specified by the “Rate” option.
After using the policy map to define packet classif ication, se rvice taggin g, and
bandwidth policing, it must be assigned to a specific interfac e by a ser vice polic y
(page 14-7) to take effect.
Command Attributes
Policy Map
Modify Name and Description – Configures the name and a b rief des cription of
a policy map. (Range: 1-16 characters for the name; 1-64 characters for the
description)
Edit Classes
– Opens the “Policy Rule Settings” page for the selected class entry.
Modify the criteria used to service ingress traffic on this page.

14-4

CLI -
This example creates a class map call “rd-class,” and sets it to match packets
marked for DSCP service value 3.
Console(config)#class-map rd_class match-any
Console(config-cmap)#match ip dscp 3
Console(config-cmap)#
36-2
36
-
3

Quality of Service

14