Applying a Routing Policy
To apply a routing policy to a routing protocol, include the
importandexportstatements:import [policy-names];export [policy-names];You can include the statements at the following hierarchy levels:
In the
importstatement, list the name of the routing policy to be evaluated when routes are imported into the routing table from the routing protocol.In the
exportstatement, list the name of the routing policy to be evaluated when routes are being exported from the routing table into a dynamic routing protocol. Only active routes are exported from the routing table.You can reference the same routing policy one or more times in the same or different
importandexportstatements.For information about how the policy framework software evaluates a routing policy, see How a Routing Policy Is Evaluated.