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 7: Summary of Routing <strong>Policy</strong> <strong>Configuration</strong> Statements<br />

policy-statement<br />

Syntax policy-statement policy-name {<br />

term term-name {<br />

from {<br />

family family-name;<br />

match-conditions;<br />

policy subroutine-policy-name;<br />

prefix-list prefix-list-name;<br />

prefix-list-filter prefix-list-name match-type ;<br />

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

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

}<br />

to {<br />

match-conditions;<br />

policy subroutine-policy-name;<br />

}<br />

then actions;<br />

}<br />

}<br />

Hierarchy Level<br />

[edit dynamic policy-options],<br />

[edit logical-systems logical-system-name policy-options],<br />

[edit policy-options]<br />

Release Information Statement introduced before Junos OS Release 7.4.<br />

Statement introduced in Junos OS Release 9.0 for EX Series switches.<br />

Support for configuration in the dynamic database introduced in Junos OS Release 9.5.<br />

Support for configuration in the dynamic database introduced in Junos OS Release 9.5<br />

for EX Series switches.<br />

inet-mdt option introduced in Junos OS Release 10.0R2.<br />

Description<br />

Define a routing policy, including subroutine policies.<br />

Options<br />

actions—(Optional) One or more actions to take if the conditions match. The actions are<br />

described in “Configuring Flow Control Actions” on page 49.<br />

family family-name—(Optional) Specify an address family protocol. Specify inet for IPv4.<br />

Specify inet6 for 128-bit IPv6, and to enable interpretation of IPv6 router filter<br />

addresses. For IS-IS traffic, specify iso. For IPv4 multicast VPN traffic, specify<br />

inet-mvpn. For IPv6 multicast VPN traffic, specify inet6-mvpn. For<br />

multicast-distribution-tree (MDT) IPv4 traffic, specify inet-mdt.<br />

NOTE: When family is not specified, the routing device uses the default IPv4<br />

setting.<br />

from—(Optional) Match a route based on its source address.<br />

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

177

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

Saved successfully!

Ooh no, something went wrong!