Technical data

120 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
Perform the following configuration in OSPF view.
No default cost and tag are available when importing external routes, and the type
of the imported route is type-2. The interval for importing the external route is 1
second. The upper limit to the external routes imported is 1000 per second.
Configuring OSPF to Import the Default Route
The import-route command does not import the default route. Using the
default-route-advertise command, you can import the default route into the
routing table.
Perform the following configuration in OSPF view.
By default, OSPF does not import the default route.
Setting OSPF Route Preference
Since it is possible for multiple dynamic routing protocols to run on one router
concurrently, there can be the problem of route sharing and selection between
routing protocols . The system sets a priority for each routing protocol, which is
used in tie-breaking if different protocols discover the same route.
Tab le 44 Configuring Parameters for OSPF to Import External Routes
Operation Command
Configure the minimum interval for OSPF to
import the external routes
default interval seconds
Restore the default value of the minimum
interval for OSPF to import the external routes
undo default interval
Configure the upper limit to the routes that
OSPF import each time
default limit routes
Restore the default upper limit to the external
routes that can be imported at a time
undo default limit
Configure the default cost for the OSPF to
import external routes
default cost value
Restore the default cost for the OSPF to
import external routes
undo default cost
Configure the default tag for the OSPF to
import external routes
default tag tag
Restore the default tag for the OSPF to import
external routes
undo default tag
Configure the default type of external routes
that OSPF will import
default type { 1 | 2 }
Restore the default type of the external routes
imported by OSPF
undo default type
Tab le 45 Configuring OSPF to Import the Default Route
Operation Command
Import the default route to OSPF default-route-advertise [ always ] [ cost
value ] [ type type-value ] [ route-policy
route-policy-name ]
Remove the imported default route undo default-route-advertise [ always ] [
cost ] [ type ] [ route-policy ]