Switch 7700 Configuration Guide, v2

92 CHAPTER 5: ROUTING PROTOCOL OPERATION
By default, no default cost and tag are available when importing external routes,
and the type of the imported route is type-2. The interval of importing the external
route is 1 second. The upper limit to the external routes imported is 1000 per
second.
Configure OSPF to Import the Default Route
The import-route command cannot be used to 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.
Set OSPF Route Preference
Since it is possible for multiple dynamic routing protocols to run on one router
concurrently, the problem of route sharing and selection between routing
protocols occurs. 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
Tab le 44 Configure 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 ]
Tab le 45 Set 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 43 Configure Parameters for OSPF to Import External Routes
Operation Command