3com 8807 Guía De Referencia
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
442
C
HAPTER
25: OSPF C
ONFIGURATION
C
OMMANDS
import-route
Syntax
import-route protocol [ cost value | type value | tag value | route-policy
route-policy-name ]*
route-policy-name ]*
undo import-route protocol
View
OSPF view
Parameter
protocol: Specifies the source routing protocol that can be imported. At present, it
includes direct, rip, isis, bgp, ospf-ase, ospf-nssa and static.
includes direct, rip, isis, bgp, ospf-ase, ospf-nssa and static.
cost value: Specifies the cost of imported route.
type value: Specifies the cost type of imported external routes. The value ranges
from 1 to 2.
from 1 to 2.
tag value: Specifies the value of tag for imported external routes.
route-policy route-policy-name: Configures only to import the routes matching
the specified Route-policy.
the specified Route-policy.
Description
Use the import-route command to import routes from another routing protocol.
Use the undo import-route command to disable OSPF to import routes from the
specified routing protocol.
Use the undo import-route command to disable OSPF to import routes from the
specified routing protocol.
By default, the routing information of other protocols is not imported.
n
You are recommended to configure the route type, cost and tag together in one
command. Otherwise, the new configuration overwrites the old one.
command. Otherwise, the new configuration overwrites the old one.
Example
# Specify an imported RIP route as the route of type 2, with the route tag as 33
and the route cost as 50.
and the route cost as 50.
[3Com-ospf-1] import-route rip type 2 tag 33 cost 50
import-route-limit
Syntax
import-route-limit num
undo import-route-limit
View
OSPF view
Parameter
num: Specifies the maximum number of exterior routes allowed to be imported.