3Com Switch 8800 Family Configuration Guide
Configuring OSPF 315
By default, OSPF will not import the routing information of other protocols. For an
imported route, type is 2, cost is 1, and tag is 1 by default.
The routes that can be imported include Direct, Static, rip, is-is, and bgp. In
addition, the routes of other OSPF processes can also be imported.
n
■ It is recommended to configure the imported route type, cost and tag for the
import-route command simultaneously. Otherwise, the later configuration
will overwrite the former configuration.
■ After you configured the import-route command on the OSPF router to
import external routing information, this OSPF router becomes an ASBR.
Configuring the maximum number of imported exterior routes
Perform the following configuration in OSPF view.
By default, the maximum number of imported exterior routes is 20K.
Configuring parameters for OSPF to import external routes
When the OSPF imports the routing information discovered by other routing
protocols in the autonomous system, some additional parameters need
configuring, such as default route cost and default tag of route distribution. Route
tag can be used to identify the protocol-related information. For example, OSPF
can use it to identify the AS number when receiving BGP.
Perform the following configuration in OSPF view.
Tab le 274 Configure OSPF to import external routes
Operation Command
Configure OSPF to import routes of other
protocols
import-route protocol [ cost value | type
value | tag value | route-policy
route-policy-name ]*
Cancel importing routing information of other
protocols
undo import-route protocol
Tab le 275 Configure the maximum number of imported exterior routes
Operation Command
Configure the maximum number of imported
exterior routes
import-route-limit num
Restore the default value of the maximum
number of imported exterior routes
undo import-route-limit
Tab le 276 Configure parameters for OSPF to import external routes
Operation Command
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