As shown in Figure 6, you use import routing policies to control which routes routing protocols place in the routing table, and export routing policies to control which routes a routing protocol advertises from the routing table to its neighbors.
![]()
To create a routing policy, you must define the following components:
- Match conditions—Criteria that a route must match. If a route matches all of the criteria, one or more actions are applied to the route.
- Actions—What to do if a route matches. The actions can specify whether to accept or reject the route, control how a series of policies is evaluated, and manipulate the characteristics associated with a route. You can configure one or more actions.
You typically define match conditions and actions within a term. Figure 7 shows the routing policy components, including the term.
![]()
After defining a routing policy, you then apply it to a routing protocol or to the forwarding table.
This section provides more information about creating routing policies: