To define a routing policy, include the policy-statement statement:
-
policy-statement policy-name {
-
- term term-name {
-
- 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;
- }
- }
You can include this statement at the following hierarchy levels:
The following sections explain the components of the policy statement and provide configuration examples: