3com 8807 Guía De Referencia

Descargar
Página de 1099
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 ]*
undo import-route protocol
View
OSPF view
Parameter
protocol: Specifies the source routing protocol that can be imported. At present, it 
includes directripisisbgpospf-aseospf-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.
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.