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 4: Routing <strong>Policy</strong> <strong>Configuration</strong><br />

You can reference the same routing policy one or more times in the same or a different<br />

export statement.<br />

For information about how the policy framework software evaluates a routing policy, see<br />

“How a Routing <strong>Policy</strong> Is Evaluated” on page 29.<br />

You can apply export policies to routes being exported from the routing table into the<br />

forwarding table for the following features:<br />

• Per-packet load balancing<br />

• Class of service (CoS)<br />

Configuring Dynamic Routing Policies<br />

For more information about per-packet load balancing, see “Configuring Per-Packet<br />

Load Balancing” on page 143. For more information about CoS, see the Junos OS Class of<br />

Service <strong>Configuration</strong> <strong>Guide</strong>.<br />

The verification process required to commit configuration changes can entail a significant<br />

amount of overhead and time. For example, changing a prefix in one line of a routing<br />

policy that is 20,000 lines long can take up to 20 seconds to commit. It can be useful to<br />

be able to commit routing policy changes much more quickly.<br />

In Junos OS Release 9.5 and later, you can configure routing policies and certain routing<br />

policy objects in a dynamic database that is not subject to the same verification required<br />

in the standard configuration database. As a result, the time it takes to commit changes<br />

to the dynamic database is much shorter than for the standard configuration database.<br />

You can then reference these policies and policy objects in routing policies you configure<br />

in the standard database. BGP is the only protocol to which you can apply routing policies<br />

that reference policies and policy objects configured in the dynamic database. After you<br />

configure and commit a routing policy based on the objects configured in the dynamic<br />

database, you can quickly update any existing routing policy by making changes to the<br />

dynamic database configuration.<br />

CAUTION: Because the Junos OS does not validate configuration changes<br />

to the dynamic database, when you use this feature, you should test and<br />

verify all configuration changes before committing them.<br />

This section discusses the following topics:<br />

• Configuring Routing Policies and <strong>Policy</strong> Objects in the Dynamic Database on page 66<br />

• Configuring Routing Policies Based on Dynamic Database <strong>Configuration</strong> on page 66<br />

• Applying Dynamic Routing Policies to BGP on page 68<br />

• Preventing Reestablishment of BGP Peering Sessions After NSR Routing Engine<br />

Switchover on page 68<br />

• Example: Configuring a BGP Export <strong>Policy</strong> That References a Dynamic Routing<br />

<strong>Policy</strong> on page 69<br />

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

65

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

Saved successfully!

Ooh no, something went wrong!