Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Chapter 4 OSPF Configuration
Huawei Technologies Proprietary
4-19
Table 4-21 Configuring OSPF to Import Routes of Other Protocols
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
By default, OSPF will not import the routing information of other protocols. The default
type of the imported route is 2, cost is 1, and tag is 1.
protocol specifies a source routing protocol that can be imported. By far, it can be Direct,
Static, RIP or BGP.
 Note:
You are recommended to configure both the route type, cost and tag together in one
command; otherwise, the new configuration overwrites the old one.
4.2.22 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, etc. Route ID 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 4-22 Configuring Parameters for OSPF to Import External Routes
Operation Command
Configure the minimum interval for OSPF to import the
external routes
default interval
seconds
Restore the default value of the minimum interval for
OSPF to import the external routes
undo default interval
Configure the upper limit to the routes that OSPF import
each time
default limit routes
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