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

Table 22: Match Type Examples (continued)<br />

Prefix<br />

192.168/16<br />

exact<br />

192.168/16<br />

longer<br />

192.168/16<br />

orlonger<br />

192.168/16<br />

upto /24<br />

192.168/16<br />

through<br />

192.168.16/20<br />

192.168/16<br />

prefix length<br />

range<br />

/18 –/20<br />

192.168.0.0/16<br />

Match<br />

–<br />

Match<br />

Match<br />

Match<br />

–<br />

192.168.0.0/17<br />

–<br />

Match<br />

Match<br />

Match<br />

Match<br />

–<br />

192.168.0.0/18<br />

–<br />

Match<br />

Match<br />

Match<br />

Match<br />

Match<br />

192.168.0.0/19<br />

–<br />

Match<br />

Match<br />

Match<br />

Match<br />

Match<br />

192.168.4.0/24<br />

–<br />

Match<br />

Match<br />

Match<br />

–<br />

–<br />

192.168.5.4/30<br />

–<br />

Match<br />

Match<br />

–<br />

–<br />

–<br />

192.168.12.4/30<br />

–<br />

Match<br />

Match<br />

–<br />

–<br />

–<br />

192.168.12.128/32<br />

–<br />

Match<br />

Match<br />

–<br />

–<br />

–<br />

192.168.16.0/20<br />

–<br />

Match<br />

Match<br />

Match<br />

Match<br />

Match<br />

192.168.192.0/18<br />

–<br />

Match<br />

Match<br />

Match<br />

–<br />

Match<br />

192.168.224.0/19<br />

–<br />

Match<br />

Match<br />

Match<br />

–<br />

Match<br />

10.169.1.0/24<br />

–<br />

–<br />

–<br />

–<br />

–<br />

–<br />

10.170.0.0/16<br />

–<br />

–<br />

–<br />

–<br />

–<br />

–<br />

How Route Lists Are Evaluated in Routing <strong>Policy</strong> Match Conditions<br />

During route list evaluation, the policy framework software compares each route’s source<br />

address with the destination prefixes in the route list. The evaluation occurs in two steps:<br />

1. The policy framework software performs a longest-match lookup, which means that<br />

the software searches for the prefix in the list with the longest length.<br />

The longest-match lookup considers the prefix and prefix length only and not the<br />

match type. The following sample route list illustrates this point:<br />

from {<br />

route-filter 192.168.0.0/14 upto /24 reject;<br />

route-filter 192.168.0.0/15 exact;<br />

}<br />

then accept;<br />

The longest match is the second route-filter, 192.168.0.0/15, which is based on prefix<br />

and prefix length only.<br />

2. Once an incoming route matches a prefix (longest first), the following actions occur:<br />

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