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 11: Policer <strong>Configuration</strong><br />

Apply the aggregate policer to rate-limit IPv4 and IPv6 traffic on interface fe-0/1/1:<br />

Physical Interface Policer Overview<br />

[edit interfaces fe-0/1/1 unit 0 family inet]<br />

policer new-police1;<br />

[edit interfaces fe-0/1/1 unit 0 family inet6]<br />

policer new-police1;<br />

Physical interface policers enable you to configure a single aggregate policer that can<br />

be shared across all the protocol families and logical interfaces configured on a physical<br />

interface. This single policer is referenced in one or more firewall filters, and the filters,<br />

which are defined for a specific protocol family, are then applied to one or more logical<br />

interfaces configured on the physical interface. As a result, a single physical interface<br />

policer can apply to multiple routing instances because that policer includes all the logical<br />

interfaces and protocol families configured on the physical interface even if they belong<br />

to different instances. This feature is useful when you want to perform aggregate policing<br />

for different protocol families and different logical interfaces on the same physical<br />

interface. For example, a provider edge (PE) router has numerous logical interfaces, each<br />

corresponding to a different customer, configured on the same link to a customer edge<br />

(CE) device. A customer wants to apply rate limits aggregately on a single physical<br />

interface for certain types of traffic. A single aggregate policer for the physical interface<br />

would include all the logical interfaces configured and apply to all the routing instances<br />

to which those interfaces belong.<br />

Physical interface policing is defined within a firewall filter for each protocol family. The<br />

supported protocol families include ipv4, ipv6, vpls, mpls, and circuit cross-connect (ccc).<br />

The physical interface policer is also applied an action to each firewall filter term that<br />

references the policer. That firewall filter is then applied on a logical interface as an output<br />

or input filter.<br />

The following limitations apply:<br />

• You cannot apply a firewall filter that references a physical interface policer to logical<br />

interfaces that do not belong to the physical interface for which the policer has been<br />

defined.<br />

• You cannot define a firewall filter as both a physical interface filter and as a logical<br />

interface filter using the interface-specific statement.<br />

• You cannot define a firewall filter configured with family any as a physical interface<br />

filter. A physical interface firewall filter must be defined for a specific protocol family.<br />

• A firewall filer that is defined as physical interface filter must reference a physical<br />

interface policer. The filter cannot reference policer configured with the interface-specific<br />

statement.<br />

Related<br />

Documentation<br />

• Physical Interface Policers <strong>Configuration</strong> on page 306<br />

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

305

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

Saved successfully!

Ooh no, something went wrong!