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

source-class-usage {<br />

input;<br />

}<br />

}<br />

}<br />

}<br />

}<br />

interfaces fe/1/0/1 {<br />

unit 0 {<br />

family inet {<br />

accounting {<br />

source-class-usage {<br />

output;<br />

}<br />

}<br />

}<br />

}<br />

}<br />

interfaces fe/1/0/2 {<br />

unit 0 {<br />

family inet {<br />

accounting {<br />

destination-class-usage;<br />

}<br />

}<br />

}<br />

}<br />

Example: Accepting Routes with Specific Destination Prefixes<br />

Accept routes with destination prefixes 201:db8::8000/32 and 201:db8::8001/32.<br />

[edit policy-options]<br />

policy-statement export-exact {<br />

term a {<br />

from {<br />

route-filter 201:db8::8000/32 exact;<br />

route-filter 201:db8::8001/32 exact;<br />

}<br />

then {<br />

accept;<br />

}<br />

}<br />

term b {<br />

then {<br />

reject;<br />

}<br />

}<br />

}<br />

Example: Accepting Routes from BGP with a Specific Destination Prefix<br />

Accepts routes from BGP that have destination prefix 201:db8::8000/32.<br />

[edit policy-options]<br />

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