16.03.2014 Views

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

Policy Framework Configuration Guide - Juniper Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 10<br />

Introduction to Traffic Policing<br />

Policer Overview<br />

The following sections describe:<br />

• Policer Overview on page 277<br />

• Policer Types on page 278<br />

• Policer Actions on page 278<br />

• Order of Policer and Firewall Filter Operations on page 279<br />

• Policer Levels on page 280<br />

• Rate Limiting on page 280<br />

• Color Modes for Three-Color Policers on page 281<br />

Policing, or rate limiting, enables you to limit the amount of traffic that passes into or out<br />

of an interface. It is an essential component of firewall filters that is designed to thwart<br />

denial-of-service (DoS) attacks. <strong>Networks</strong> police traffic by limiting the input or output<br />

transmission rate of a class of traffic on the basis of user-defined criteria. Policing traffic<br />

allows you to control the maximum rate of traffic sent or received on an interface and<br />

to partition a network into multiple priority levels or classes of service.<br />

Policers require that you apply limits to the traffic flow and set a consequence for packets<br />

that exceed these limits—usually a higher loss priority—so that if packets encounter<br />

downstream congestion, they are discarded first.<br />

Policing uses the token-bucket algorithm, which enforces a limit on average bandwidth<br />

while allowing bursts up to a specified maximum value. It offers more flexibility than the<br />

leaky bucket algorithm in allowing a certain amount of bursty traffic before it starts<br />

discarding packets.<br />

You can define specific classes of traffic on an interface and apply a set of rate limits to<br />

each. You can use a policer in one of two ways: as part of a filter configuration or as part<br />

of a logical interface (where the policer is applied to all traffic on that interface).<br />

After you have defined and named a policer, it is stored as a template. You can later use<br />

the same policer name to provide the same policer configuration each time you wish to<br />

use it. This eliminates the need to define the same policer values more than once.<br />

Copyright © 2010, <strong>Juniper</strong> <strong>Networks</strong>, Inc.<br />

277

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!