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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Junos 10.4 <strong>Policy</strong> <strong>Framework</strong> <strong>Configuration</strong> <strong>Guide</strong><br />

traffic received through TCP with the IP precedence fields internet-control or routine.<br />

IPv4 traffic that matches these characteristics has rate limiting performed, as defined in<br />

the shared-police1 policer, which is applied as an action to the term tcp-police-2.<br />

[edit firewall]<br />

family inet {<br />

filter inet-filter {<br />

physical-interface-filter;<br />

term tcp-police-1 {<br />

from {<br />

precedence [ critical-ecp immediate priority ];<br />

protocol tcp;<br />

}<br />

then policer shared-police1;<br />

}<br />

term tcp-police-2 {<br />

from {<br />

precedence [ internet-control routine ];<br />

protocol tcp;<br />

}<br />

then policer shared-police1<br />

}<br />

}<br />

}<br />

Applying Firewall Filters That Reference Physical Interface Policers<br />

After you configure a firewall filter that references a physical interface policer, you apply<br />

it as an input or an output filter to a logical interface.<br />

To apply a firewall filter that references a physical interface policer as an input filter:<br />

• Include the input filter-name statement at the [edit interfaces interface-name unit<br />

logical-unit-number family family-name filter] hierarchy level.<br />

To apply a firewall filter that references a physical interface policer as an output filter:<br />

• Include the output filter-name statement at the [edit interfaces interface-name unit<br />

logical-unit-number family family-name] hierarchy level.<br />

In the following example, firewall filter inet-filter is applied to family inet on interface<br />

ge-1/2/0.0. The filter is applied to incoming IPv4 traffic on the interface.<br />

[edit]<br />

interfaces {<br />

ge-1/2/0 {<br />

unit 0 {<br />

family inet {<br />

filter {<br />

input inet-filter;<br />

}<br />

address 10.100.16.2/24<br />

}<br />

}<br />

}<br />

308<br />

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

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

Saved successfully!

Ooh no, something went wrong!