Creating a routing policy

A routing policy consists of one or more statements that contain the following:

  • Match conditions, such as protocol type, AS path length, and address family, against which routes are evaluated

  • Actions, such as accept or reject, for routes that match the conditions in the statement

Each statement has a specified sequence number. If a policy has multiple statements, they are processed in sequence-number order. In addition, you can specify a default action that applies to routes that do not match any statement in the policy.