[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
How a Routing Policy Chain Is Evaluated
Figure 9 shows how a chain
of routing policies is evaluated. These routing policies consist of
multiple terms. Each term consists of match conditions and actions
to apply to matching routes. Each route is evaluated against the policies
as follows:
- The route is evaluated against the first term in the first
routing policy. If it matches, the specified action is taken. If the
action is to accept or reject the route, that action is taken and
the evaluation of the route ends. If the next term action is specified,
if no action is specified, or if the route does not match, the evaluation
continues as described in Step 2. If the next policy action is specified,
any accept or reject action specified in this term is skipped, all
remaining terms in this policy are skipped, all other actions are
taken, and the evaluation continues as described in Step 3.
- The route is evaluated against the second
term in the first routing policy. If it matches, the specified action
is taken. If the action is to accept or reject the route, that action
is taken and the evaluation of the route ends. If the next term action
is specified, if no action is specified, or if the route does not
match, the evaluation continues in a similar manner against the last
term in the first routing policy. If the next policy action is specified,
any accept or reject action specified in this term is skipped, all
remaining terms in this policy are skipped, all other actions are
taken, and the evaluation continues as described in Step 3.
- If the route does not match a term or matches a term with
a next policy action in the first routing policy, it is evaluated
against the first term in the second routing policy.
- The evaluation continues until the route matches a term
with an accept or reject action defined or until there are no more
routing policies to evaluate. If there are no more routing policies,
then the accept or reject action specified by the default policy is
taken. For more information about default routing policies, see Default Routing Policies and Actions.
Figure 9: Routing Policy Chain Evaluation

[Contents]
[Prev]
[Next]
[Index]
[Report an Error]