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

neighbor 192.168.1.1;<br />

}<br />

then {<br />

preference 10;<br />

}<br />

}<br />

term term2 {<br />

from {<br />

next-hop 10.0.0.3;<br />

}<br />

to {<br />

neighbor 192.168.1.1;<br />

}<br />

then {<br />

preference 15;<br />

}<br />

}<br />

}<br />

}<br />

Example: Importing and Exporting Access and Access-Internal Routes in a Routing<br />

<strong>Policy</strong><br />

Configure import and export of access routes and access-internal routes in a routing<br />

policy. These routes are used by the DHCP application on a video services router to<br />

represent either the end users or the networks behind the attached video services router.<br />

(For more information about configuring DHCP relay on the router, see Junos Subscriber<br />

Access <strong>Configuration</strong> <strong>Guide</strong>.)<br />

An access route represents a network behind an attached video services router, and is<br />

set to a preference of 13. An access-internal route is a /32 route that represents a directly<br />

attached end user, and is set to a preference of 12.<br />

[edit]<br />

policy-options {<br />

policy-statement foo {<br />

term term1 {<br />

from protocol {<br />

access;<br />

access-internal;<br />

}<br />

then accept;<br />

}<br />

}<br />

}<br />

Example: Exporting Routes to IS-IS<br />

Configure the router to export to IS-IS the routes that match the dmz and local-customers<br />

routing policies.<br />

[edit]<br />

protocols {<br />

isis {<br />

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