policy-options
Syntax
policy-options {
as-list-group group-name {
as-list name members [as-start-as-finish., as, as-start-as-finish];
}
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;
}
damping name {
disable;
half-life minutes;
max-suppress minutes;
reuse number;
suppress number;
}
rib-list name {
rib-name;
}
policy-statement policy-name {
term term-name {
from {
as-path-neighbors (as-list | as-list-group);
as-path-origins (as-list | as-list-group);
as-path-transits (as-list | as-list-group);
family;
fpc-pfes-offline pfes-offline-per-fpc;
match-conditions;
policy subroutine-policy-name;
prefix-list name;
route-filter destination-prefix match-type <actions>;
rib-list name;
source-address-filter source-prefix match-type <actions>;
}
to {
match-conditions;
policy subroutine-policy-name;
}
then actions;
default-action (accept | reject);
prefix-segment {
index index;
node-segment;
}
}
then {
no-entropy-label-capability;
priority (high | medium | low);
}
}
prefix-list name {
ip-addresses;
}
}
Hierarchy Level
[edit], [edit dynamic-profiles profile-name]
Description
Configure routing policy.
The remaining statements are explained separately. See CLI Explorer.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Support at the [edit dynamic-profiles] hierarchy
level introduced in Junos OS Release 11.4.
as-path-neighbors, as-path-origins, and
as-path-transits statements introduced in Junos OS release
21.3R1.