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.

Junos 10.4 <strong>Policy</strong> <strong>Framework</strong> <strong>Configuration</strong> <strong>Guide</strong><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 />

If, however, the [edit logical-systems logical-system-name] hierarchy does not contain<br />

any firewall statements, then the main firewall configuration is used for any filter or policer<br />

references. For example, the following configuration is also allowed:<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 />

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

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