Command Reference Guide

3Com Router 5000 Family and Router 6000 Family import-route 163
Command Reference
import-route
Purpose Use the import-route command to redistribute the routes of other protocols into
RIP.
Use the undo import-route command to cancel the routes redistributed from
other protocols.
Syntax import-route protocol [ allow-ibgp ] [ cost value ] [ route-policy
route-policy-name ]
undo import-route protocol
Parameters protocol
Specifies the source routing protocol to be
redistributed by RIP. At present, RIP can redistribute the
following routes: direct, ospf, ospf-ase, ospf-nssa,
static, and bgp and isis.
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.
value
Cost value of the route to be redistributed. Valid values
are 1 to 16.
route-policy
route-policy-name
Configured to redistribute the route matching the
condition of the specified Route-policy only.
Default By default, RIP does not redistribute any other routes.
Example redistribute a static route with cost being 4.
[3Com -rip] import-route static cost 4
Set the default cost and redistribute an OSPF route with the default cost.
[3Com -rip] default cost 3
[3Com -rip] import-route ospf
View This command can be used in the following views:
RIP view