O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

police — policy-map

Synopsis

police bps [burst-normal] [burst-max] conform-action action exceed-action
action [violate-action action]
no police bps [burst-normal] [burst-max] conform-action action exceed-action
action [violate-action action]

Configures

Traffic policing

Default

Disabled

Description

This command configures traffic policing within a map class. By defining the average bit rate (bps) and a normal and maximum burst rates, you can define actions for packets that conform to, exceed, or violate those rates.

bps

Defines the average rate in bits per second (bps). The value must be defined in increments of 8 Kbps. The value can be from 8,000 to 2,000,000,000.

burst-normal

Normal burst size in bytes. This value can be from 1,000 to 512,000,000. Default normal burst size is 1,500 bytes.

burst-max

Excess burst-size in bytes. This value can be from 1,000 to 512,000,000.

conform-action

The action to take on packets that conform to the rate limit (see Table 17-16).

exceed-action

The action to take on packets that exceed the rate limit (see Table 17-16).

violate-action

Optional. The action to take on packets that violate the normal and maximum burst sizes (see Table 17-16).

Table 17-16. Traffic policing actions

Action

Meaning

drop

Drop the packet

set-discard-class-transmit

Set the DSCP discard class value and transmit the packet

set-dscp-transmit

Set the DSCP value and transmit the packet

set-frde-transmit

Set the Frame Relay Discard Eligibility bit and transmit the packet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required