To configure policy options, use the following statements at the [edit policy-options] hierarchy level. Statements exclusively for J-series and SRX-series devices running JUNOS software are shown in bold font and are documented in this chapter.
Shared JUNOS statements in the policy-options hierarchy are shown in normal font and are documented in the JUNOS Policy Framework Configuration Guide.
- policy-options {
- as-path
name regular-expression ;
- as-path-group group-name;
-
- community name {
- invert-match;
- members [ community-ids];
- }
-
-
condition condition-name {
- if-route-exists address table table-name;
-
route-active-on (node0 | node1);
- }
-
- damping
name{
- disable;
- half-life minutes;
- max-suppress minutes;
- reuse
number;
- suppress number;
- }
-
- policy-statement policy-name {
-
- term
term-name {
- default-action (accept |
reject);
-
- from {
- family
family-name;
-
match-conditions;
- policy
subroutine- policy-name;
- prefix-list name;
- route-filter destination-prefix match-type < actions>;
- source-address-filter destination-prefix match-type <actions>;
- }
-
- to {
-
match-conditions;
- policy
subroutine- policy-name;
- }
- then
actions;
- }
- }
-
- prefix-list name {
-
ip-addresses;
- }
- }