3Com 3.01.01 Switch User Manual


 
OSPF 97
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.
Perform the following configuration in OSPF view.
By default, the OSPF preference is 10, and the imported external routing protocol
is 150.
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
Table 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 ]
Table 46 Setting OSPF Route Preference
Operation Command
Configure a priority for OSPF for comparing
with the other routing protocols
preference [ ase ] preference
Restore the default protocol priority undo preference [ ase ]
Table 44 Configuring Parameters for OSPF to Import External Routes
Operation Command