Police, Police 4-215 – Alcatel Carrier Internetworking Solutions OmniStack 6300-24 User Manual

Page 427

Advertising
background image

Quality of Service Commands

4-215

4

Default Setting

None

Command Mode

Policy Map Class Configuration

Example

This example sets the DSCP value to 3 for all traffic assigned to this policy class.

police

This command defines an policer for classified traffic. Use the no form to remove a
policer.

Syntax

[no] police rate-bps burst-byte [exceed-action {drop | set}]

rate-bps - Rate in kilobits per second. (Range: 1-100000 Kbps or maximum

port speed, whichever is lower)

burst-byte - Burst in bytes. (Range: 64-1522 bytes)
drop - Drop packet when specified rate or burst are exceeded.
set - Set DSCP service to the specified value. (Range: 0-63)

Default Setting

Drop out-of-profile packets.

Command Mode

Policy Map Class Configuration

Command Usage

• You can configure up to 8 policers on Fast Ethernet ingress ports, and up to

128 policers on Gigabit Ethernet ingress ports.

• Policing is based on a token bucket, where bucket depth (i.e., the maximum

burst before the bucket overflows) is by specified the burst-byte field, and the
average rate tokens are removed from the bucket is by specified by the
rate-bps option.

Console(config)#policy-map rd_policy
Console(config-pmap-c)#class rd_class
Console(config-pmap-c)#set ip dscp 3
Console(config-pmap-c)#

Advertising