3Com Switch 8800 Configuration Guide Chapter 19 OSPF Configuration
19-10
The routes that can be imported include Direct, Static, RIP, IS-IS, or BGP and in
addition, the routes of other OSPF processes.
Note:
z 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.
z After you configured the import-route command on the OSPF router to import
external routing information, this OSPF router becomes an ASBR.
II. 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.
Table 19-6 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
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
By default, the type of imported route is type-2, the cost is 1 and the tag is 1 for a
imported route.