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

Examples: Classifying Traffic<br />

policer 1Mbps-policer;<br />

subnet-prefix-length 24;<br />

source-prefix-length 32;<br />

}<br />

}<br />

filter limit-all-hosts {<br />

term one {<br />

from {<br />

source-address {<br />

10.10.10/24;<br />

10.11/16;<br />

}<br />

}<br />

then prefix-action per-source-policer;<br />

}<br />

}<br />

}<br />

Classify expedited forwarding traffic:<br />

[edit]<br />

firewall {<br />

policer ef-policer {<br />

if-exceeding {<br />

bandwidth-limit 300k;<br />

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

}<br />

then {<br />

discard;<br />

}<br />

}<br />

term ef-multifield {<br />

then {<br />

loss-priority low;<br />

forwarding-class expedited-forwarding;<br />

policer ef-policer;<br />

}<br />

}<br />

}<br />

Classify assured forwarding traffic:<br />

firewall {<br />

policer af-policer {<br />

if-exceeding {<br />

bandwidth-limit 300k;<br />

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

}<br />

then {<br />

loss-priority high;<br />

}<br />

}<br />

term af-multifield {<br />

then {<br />

loss-priority low;<br />

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