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.

Chapter 9: Firewall Filter <strong>Configuration</strong><br />

[edit]<br />

logical-systems {<br />

ls1 {<br />

interfaces {<br />

fe-0/3/2 {<br />

unit 0 {<br />

family inet {<br />

filter {<br />

input-list [ filter1 fred ];<br />

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

family inet {<br />

filter fred {<br />

term one {<br />

from {<br />

source-address 10.1.0.0/16;<br />

}<br />

then {<br />

log;<br />

reject host-unknown;<br />

}<br />

}<br />

}<br />

}<br />

}<br />

}<br />

}<br />

firewall {<br />

policer pol1 {<br />

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

259

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

Saved successfully!

Ooh no, something went wrong!