To create routing policy, you can include the following statements in the configuration:
[edit]
policy-options {
as-path name regular-expression;
community name members [community-ids];
damping name {
half-life minutes;
max-suppress minutes;
reuse number;
suppress number;
}
policy-statement policy-name {
term term-name {
from {
match-conditions;
route-filter destination-prefix match-type <actions>;
prefix-list name;
}
to {
match-conditions;
}
then actions;
}
}
prefix-list name {
ip-addresses;
}