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 />

}<br />

}<br />

}<br />

}<br />

firewall {<br />

policer pol1 {<br />

if-exceeding {<br />

bandwidth-limit 401k;<br />

burst-size-limit 50k;<br />

}<br />

then discard;<br />

}<br />

filter filter1 {<br />

term one {<br />

from {<br />

source-address 12.1.0.0/16;<br />

}<br />

then {<br />

reject host-unknown;<br />

}<br />

}<br />

term two {<br />

from {<br />

source-address 12.2.0.0/16;<br />

}<br />

then policer pol1;<br />

}<br />

}<br />

}<br />

}<br />

}<br />

firewall {<br />

policer pol1 {<br />

if-exceeding {<br />

bandwidth-limit 701k;<br />

burst-size-limit 70k;<br />

}<br />

then discard;<br />

}<br />

family inet {<br />

filter fred {<br />

term one {<br />

from {<br />

source-address 11.1.0.0/16;<br />

}<br />

then {<br />

log;<br />

reject host-unknown;<br />

}<br />

}<br />

}<br />

}<br />

}<br />

To fix this example, define filter fred under logical system ls1. In this case, the filter fred<br />

applied to interface fe-0/3/2 looks for source address 10.1.0.0/16 rather than 11.1.0.0/16.<br />

258<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!