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

Configuring Routing Policies and <strong>Policy</strong> Objects in the Dynamic Database<br />

Junos OS Release 9.5 and later support a configuration database, the dynamic database,<br />

which can be edited in a similar way to the standard configuration database but which<br />

is not subject to the same verification process to commit configuration changes. As a<br />

result, the time it takes to commit a configuration change is much faster. The policies<br />

and policy objects defined in the dynamic database can then be referenced in routing<br />

policies configured in the standard configuration. The dynamic database is stored in the<br />

/var/run/db/juniper.dyn directory.<br />

To configure the dynamic database, enter the configure dynamic command to enter the<br />

configuration mode for the dynamic database:<br />

user@host> configure dynamic<br />

Entering configuration mode<br />

[edit dynamic]<br />

user@host#<br />

In this dynamic configuration database, you can configure the following statements at<br />

the [edit policy-options] hierarchy level:<br />

• as-path name<br />

• as-path-group group-name<br />

• community community-name<br />

• condition condition-name<br />

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

• policy-statement policy-statement-name<br />

NOTE: No other configuration is supported at the [edit dynamic] hierarchy<br />

level.<br />

Use the policy-statement policy-statement-name statement to configure routing policies<br />

as you would in the standard configuration database.<br />

To exit configuration mode for the dynamic database, issue the exit configuration-mode<br />

command from any level within the [edit dynamic] hierarchy, or use the exit command<br />

from the top level.<br />

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

In the standard configuration mode, you can configure routing policies that reference<br />

policies and policy objects configured at the [edit dynamic] hierarchy level in the dynamic<br />

database. To define a routing policy that references the dynamic database configuration,<br />

include the dynamic-db statement at the [edit policy-options policy-statement<br />

policy-statement-name] hierarchy level:<br />

[edit policy-options]<br />

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