Police – Enterasys Networks X-Pedition XSR CLI User Manual

Page 485

Advertising
background image

Policy-Map Commands

XSR CLI Reference Guide 12-89

police

This command configures traffic policing.

Syntax

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

Syntax of the “no” Form

Traffic policing is removed by using the no form of this command:

no police

Defaults

burst‐normal: average rate multiplied by one second)

conform‐action: transmit

exceed‐action: drop

violate‐action: drop

Command is disabled by default

Mode

Policy‐Map Class configuration: 

XSR(config-pmap-c-<xx>)#

bps

Average rate ranging from 1,000 to 100,000,000 bps.

burst-normal

Normal burst size ranging from 1,000 to 51,200,000 bps. If less than 1000 
bytes burst‐normal will be set to 1000 bytes.

burst-max

Excess burst size ranging from 1,000 to 51,2000,000 bytes. Value must be 
greater than or equal to normal‐burst size. It will automatically be changed to 
the normal‐burst size if less than normal‐burst.

conform-action

Action to take on packets that conform to the rate limit. 

exceed-action

Action to take on packets that exceed the rate limit. 

violate-action

Action to take on packets that violate normal and maximum burst sizes. If 
violate‐action is set, the token bucket algorithm will use two token buckets.

action

Action to take on packets. You may specify one keyword:

drop

 ‐ Drops the packet.

set-prec-transmit new-prec

 ‐ Sets IP precedence and sends the 

packet.

set-dscp-transmit new-prec

 ‐ Sets the differentiated services code 

point (DSCP) value and sends the packet.

transmit

 ‐ Sends the packet.

Advertising