Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 3 OSPF Configuration Commands
3Com Corporation
3-35
undo import-route protocol
View
OSPF view
Parameter
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.
Description
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.
For an redistributed class 1 route, its metric equals the metric for this router to reach the
router where the route is advertised plus the cost assigned to the route. For an
redistributed class 2 route, its metric equals the cost assigned to it.
Set the arguments cost, type, and tag at a time instead of setting them using the
command for several times, because the latest configuration will overwrite the previous
one.










