442
C
25: OSPF C
C
HAPTER
ONFIGURATION
OMMANDS
import-route
Syntax
import-route protocol [ cost value | type value | tag value | route-policy
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.
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.
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.
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.
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.
Example
# Specify an imported RIP route as the route of type 2, with the route tag as 33
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.
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers