Command Reference Guide

3Com Router 5000 Family and Router 6000 Family import-route 165
Command Reference
import-route
Purpose Use the import-route command to redistribute the information of another
routing protocol.
Use the undo import-route command to cancel the redistributed external
routing information.
Syntax import-route protocol [ allow-ibgp ] [ cost value ] [ type value ] [ tag
value ] [ route-policy route-policy-name ]
undo import-route protocol
Parameters protocol
Specifies the source routing protocol that can be
redistributed. At present, it includes direct, rip, bgp,
isis, static, ospf, ospf-ase, and ospf-nssa.
ospf process-id
Redistributes only the internal routes found by OSPF
process-id as external routing information. If no
process number is specified, the OSPF default process
number 1 is used.
ospf-ase process-id
Redistributes only the ASE external routes found by
OSPF process-id as external routing information. If
no process number is specified, the OSPF default
process number 1 is used.
ospf-nssa process-id
Redistributes only the NSSA external routes found by
OSPF process-id as external routing information. If
no process number is specified, the OSPF default
process number 1 is used.
allow-ibgp
Optional when the protocol argument is set to BGP.
Whereas the import-route bgp command redistributes
only EBGP routes, the import-route bgp allow-ibgp
command redistributes IBGP routes in addition and as
such, must be used with cautions.
cost value
Cost of the redistributed routes.
type value
Type of the routes to be redistributed by OSPF. value
takes 1 or 2; type 1 represents class 1 external routes,
and type 2 (default) represents class 2 external routes.
tag value
Tags the redistributed routes.
route-policy
route-policy-name
Redistributes only the routes matching the specified
Route-policy.
Default By default, the routing information of other protocols is not redistributed.