Configuring Single-Rate Traffic Policing Based On Bits Per Second - Cisco 10000 Series Configuration Manual

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

Advertisement

Configuring Traffic Policing

Configuring Single-Rate Traffic Policing Based on Bits per Second

To configure traffic policing based on bits per second (bps), 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] bps
[bc] burst-normal [pir pir] [be] burst-excess
[conform-action action] [exceed-action action]
[violate-action action]
Configuration Examples for Configuring Single-Rate Traffic Policing Based on Bits per Second
This section provides the following configuration examples:
Configuration Example for Configuring a Single Policing Rate and Burst Sizes
Example 6-3
police. In the example, the router polices group1 traffic at 8000 bits per second and allows committed
bursts of 2000 bytes and excess bursts of 4000 bytes.
Example 6-3
Router(config)# class-map group1
Router(config-cmap)# match access-group 2
Router(config-cmap)# exit
Router(config)# policy-map police
Router(config-pmap)# class group1
Router(config-pmap-c)# police 8000 2000 4000
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# interface atm 1/0/0.1 point-to-point
Router(config-subif)# service-policy input police
Cisco 10000 Series Router Quality of Service Configuration Guide
6-28
Configuration Example for Configuring a Single Policing Rate and Burst Sizes, page 6-28
Configuration Example for Configuring Single-Rate Two-Color Policing, page 6-29
Configuration Example for Configuring Single-Rate Three-Color Policing, page 6-29
Configuration Example for Policing a Priority Service, page 6-30
Configuration Example for Configuring Single-Rate Policing in a Hierarchical Policy, page 6-30
Configuration Example for Policing PPPoE over ATM Sessions, page 6-31
shows how to configure a policing rate for the class named group1 in the policy map named
Configuring a Policing Rate Based on Bits per Second
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 bits per second-based traffic policing.
For more information, see the
(Single-Rate)" section on page 6-6
(Two-Rate)" section on page
Chapter 6
Policing Traffic
"police Command
or the
"police Command
6-9.
OL-7433-09

Advertisement

Table of Contents
loading

Table of Contents