After the routes of the loopback interface on a PE in an AS are advertised to the remote PE in another AS, the MP-EBGP peer relationship is established between PEs.
Perform the following steps on each ASBR:
Perform the following steps on the peer ASBR:
If OSPF runs between the PE and ASBR:
Run system-view
The system view is displayed.
Run ospf process-id
The OSPF view is displayed.
Run import-route bgp [ cost cost ] [ route-policy route-policy-name ]
BGP routes are imported to OSPF.
Run quit
Return to the system view.
Run commit
The configuration is committed.
If IS-IS runs between the PE and ASBR:
Run system-view
The system view is displayed.
Run isis process-id
The IS-IS view is displayed.
Run import-route bgp [ cost-type { external | internal } | cost cost | tag tag | route-policy route-policy-name | [ level-1 | level-2 | level-1-2 ] ] *
BGP routes are imported to IS-IS.
If the IS-IS level is not specified in the command, BGP routes will be imported into the Level-2 IS-IS routing table.
Run quit
Return to the system view.
Run commit
The configuration is committed.