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

match-conditions;<br />

policy subroutine-policy-name;<br />

}<br />

then actions;<br />

default-action (accept | reject);<br />

}<br />

}<br />

prefix-list name {<br />

ip-addresses;<br />

}<br />

}<br />

protocols {<br />

protocol-name {<br />

export [ policy-names ];<br />

import [ policy-names ];<br />

}<br />

}<br />

Minimum Routing <strong>Policy</strong> <strong>Configuration</strong><br />

To define and apply a routing policy, you must include at least the following statements<br />

at the [edit policy-options] and [edit protocols] hierarchy levels. At the [edit protocols]<br />

hierarchy level, you can define one or more policy names.<br />

[edit]<br />

policy-options {<br />

policy-statement policy-name {<br />

term term-name {<br />

from {<br />

family family-name;<br />

match-conditions;<br />

prefix-list name;<br />

route-filter destination-prefix match-type ;<br />

source-address-filter source-prefix match-type ;<br />

}<br />

to {<br />

match-conditions;<br />

}<br />

then actions;<br />

}<br />

}<br />

}<br />

protocols {<br />

protocol-name {<br />

import [ policy-names ];<br />

export [ policy-names ];<br />

}<br />

}<br />

Minimum Routing <strong>Policy</strong> Chain <strong>Configuration</strong><br />

To define and apply a routing policy chain, you must include at least the following<br />

statements at the [edit policy-options] and [edit protocols] hierarchy levels. At the [edit<br />

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