For routes that are accepted into the routing table as defined by the
policy, you can define a new cost metric value for the route, or you
can adjust the existing cost metric using one of these operators:
+ adds the specified number to the existing cost metric
- subtracts the specified number from the existing cost metric
* multiplies the specified number by the existing cost metric
/ divides the existing cost metric by the specified number
% modulo divides the existing cost metric by the specified number
and returns the remainder
The routes are then accepted into the routing table with the cost
metric that has been defined by the import policy.
In case multiple policies match the same route, you can also assign an
administrative weight to define an order of precedence.
Import Policies at a Glance
Table 80 lists the possible import policy configurations.
Table 80 OSPF Import Policies
Route
Route Subnet
Address
Mask
0.0.0.0
N/A
A
Subnet mask for
route A
0.0.0.0
N/A
A
Subnet mask for
route A
Policy
Metric
Action
Adjustment
Accept
C
Accept
C
Reject
N/A
Reject
N/A
OSPF Routing Policies
Description
Adds all external routes to
routing table and assigns a cost
of C to each
Adds Type 1 and Type 2 Route A
to the routing table with an
associated cost of C
Does not add any external routes
to the routing table
Does not add Type 1 or Type 2
Route A to the routing table
495