Command Reference Guide

3Com Router 5000 Family and Router 6000 Family import-route ospf 41
Command Reference
import-route ospf
Purpose Use the import-route ospf command to enable to import OSPF route.
Use the
undo import-route ospf command to disable to import OSPF route.
Syntax import-route { ospf | ospf-ase | ospf-nssa } [ process-id ] [ med value
| route-policy route-policyname ]
undo import-route { ospf | ospf-ase | ospf-nssa } [ process-id ]
Parameters process-id
OSPF process ID. By default, it is 1.
ospf
Imports only the ASE internal route discovered by OSPF
process with process-id as the external route
information.
ospf-ase
Imports only the OSPF-ASE route discovered by OSPF
process with process-id as the external route
information.
ospf-nssa
Imports only the OSPF-NSSA route discovered by OSPF
process with process-id as the external route
information.
med value
Route cost value
route-policyname
Route policy name
Example Enable to import an OSPF route with process ID 100.
[3Com ] ip vpn-instance sphinx
[3Com -vpn-sphinx] route-distinguisher 168.168.55.1:85
[3Com -vpn-sphinx] quit
[3Com ] bgp 352
[3Com -bgp] ip vpn-instance sphinx
[3Com -bgp-af-vpn-instance] import-route ospf 100
View This command can be used in the following views:
BGP Unicast/Multicast view
MBGP VPN-Instance Address Family view
CAUTION: By default, the process ID is 1.