37-41
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
Class c1
police 1000000 bps 9000 byte conform-action transmit exceed-action drop
Switch# show policy-map interface
FastEthernet6/1
Service-policy input: p1
Class-map: c1 (match-all)
15432182 packets
Match: flow ip source-address ip destination-address ip protocol l4 source-port l4
destination-port
police: Per-interface
Conform: 64995654 bytes Exceed: 2376965424 bytes
Class-map: class-default (match-any)
0 packets
Match: any
0 packets
Configuring Hierarchical Policers
Note Hierarchical policers are only supported on Supervisor Engine V-10GE.
You can tie flow policers with the existing policers to create dual policing rates on an interface. For
example, using dual policing, you can limit all incoming traffic rates on a given interface to 50 MBps
and can limit the rate of each flow that is part of this traffic to two MBps.
You can configure hierarchical policers with the service-policy policy-map config command. A policy
map is termed flow-based if the class map it uses matches any of the flow-based match criteria
(such as match flow ip source-address). Each child policy map inherits all the match access-group
commands of the parent.
Note You can configure only flow-based policy maps as child policy maps. A parent policy map cannot be a
flow-based policy map. Both the child policy map and parent policy map must have match-all in their
class map configuration.
To configure a flow-based policy map as a child of an individual or aggregate policer , perfo rm this task:
Command Purpose
Step 1 Switch(config)# policy-map policy_name Specifies the individual or aggregate policy
map name.
Step 2 Switch(config-pmap)# class class_name Specifies the class-map name of this policy
map.
Step 3 Switch(config-flow-cache)# service-policy
service_policy_name Specifies the name of the flow-based policy
map.