Configuring Two-Rate Policing; Configuration Example For Configuring Two-Rate Three-Color Policing - Cisco 10000 Series Configuration Manual

Quality of service configuration guide
Hide thumbs Also See for 10000 Series:
Table of Contents

Advertisement

Chapter 6
Policing Traffic

Configuring Two-Rate Policing

To configure policing based on a committed information rate (CIR) and a peak information rate (PIR),
enter the following commands beginning in global configuration mode:
Command
Step 1
Router(config)# policy-map policy-map-name
Step 2
Router(config-pmap)# class class-map-name
Step 3
Router(config-pmap-c)# police {cir cir}
[bc] burst-normal [pir pir]
[be] peak-burst [conform-action action]
[exceed-action action] [violate-action
action]

Configuration Example for Configuring Two-Rate Three-Color Policing

Example 6-14
policy map named Business. In the example, the committed information rate (CIR) is 512 kbps and the
peak information rate (PIR) is 1 Mbps. Traffic that conforms to the CIR is sent as is. Traffic that exceeds
the CIR, but not the PIR is marked with IP precedence 4. Traffic that exceeds the PIR is dropped. The
burst parameters are set to 10,000 bytes.
Example 6-14 Configuring Two-Rate Three-Color Policing
Router(config)# class-map match-all Premium
Router(config-cmap)# match access-group 106
Router(config-cmap)# exit
Router(config)# policy-map Business
Router(config-pmap)# class Premium
Router(config-pmap-c)# police cir 512000 bc 10000 pir 1000000 be 10000 conform-action
transmit exceed-action set-prec-transmit 4 violate-action drop
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface atm 3/0/0
Router(config-if)# service-policy output Business
OL-7433-09
Purpose
Specifies the name of the policy map and enters policy-map
configuration mode.
policy-map-name is the name of the policy map.
Assigns the traffic class you specify to the policy map. Enters
policy-map class configuration mode.
class-map-name is the name of a previously configured class map
and is the traffic class for which you want to define QoS actions.
Configures two-rate traffic policing by specifying both the
committed information rate (CIR) and the peak information rate
(PIR).
For more information, see the
section on page
shows how to configure two-rate three-color policing for the Premium traffic class in the
Cisco 10000 Series Router Quality of Service Configuration Guide
Configuring Traffic Policing
"police Command (Two-Rate)"
6-9.
6-35

Advertisement

Table of Contents
loading

Table of Contents