3Com 5500-SI Switch User Manual


 
250 CHAPTER 16: IP ROUTING PROTOCOL OPERATION
By default, when importing external routes, the type of imported route is type-2, the
cost is 1 and the tag is 1. The interval of 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 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.
Setting OSPF Route Preference
Since it is possible for multiple dynamic routing protocols to run concurrently on one
router, problems of route sharing and selection between various routing protocols can
occur. The system sets a priority for each routing protocol, which will be used in
tie-breaking in the case that 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.
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
Table 243 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 244 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 242 Configuring Parameters for OSPF to Import External routes (continued)
Operation Command