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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Junos 10.4 <strong>Policy</strong> <strong>Framework</strong> <strong>Configuration</strong> <strong>Guide</strong><br />

NOTE: If you are downgrading the Junos OS to Junos OS Release 9.4 or earlier,<br />

you must first delete any routing policies that reference the dynamic database.<br />

That is, you must delete any routing policies or policy objects configured with<br />

the dynamic-db statement.<br />

Applying Dynamic Routing Policies to BGP<br />

BGP is the only routing protocol to which you can apply routing policies that reference<br />

the dynamic database configuration. You must apply these policies in the standard<br />

configuration. Dynamic policies can be applied to BGP export or import policy. They can<br />

also be applied at the global, group, or neighbor hierarchy level.<br />

To apply a BGP export policy, include the export [ policy-names ] statement at the [edit<br />

protocols bgp], [edit protocols bgp group group-name], or [edit protocols bgp group<br />

group-name neighbor address] hierarchy level.<br />

[edit]<br />

protocols<br />

bgp {<br />

export [ policy-names ];<br />

}<br />

}<br />

To apply a BGP import policy, include the import [ policy-names ] statement at the [edit<br />

protocols bgp], [edit protocols bgp group group-name], or [edit protocols bgp group<br />

group-name neighbor address] hierarchy level.<br />

[edit]<br />

protocols<br />

bgp {<br />

import [ policy-names ];<br />

}<br />

}<br />

Include one or more policy names configured in that standard configuration at the [edit<br />

policy-options policy-statement] hierarchy level that reference policies configured in the<br />

dynamic database. For more general information about configuring BGP import and<br />

export policy, see the Junos Routing Protocols <strong>Configuration</strong> <strong>Guide</strong>.<br />

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

If you have active nonstop routing (NSR) enabled, the dynamic database is not<br />

synchronized with the backup Routing Engine. As a result, if a switchover to a backup<br />

Routing Engine occurs, import and export policies running on the master Routing Engine<br />

at the time of the switchover might no longer be available. Therefore, you might want to<br />

prevent a BGP peering session from automatically being reestablished as soon as a<br />

switchover occurs.<br />

You can configure the router not to reestablish a BGP peering session after an active<br />

nonstop routing switchover either for a specified period or until you manually reestablish<br />

the session. Include the idle-after-switch-over (seconds | forever) statement at the [edit<br />

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