Return to the system view.
l The BGP routes are imported to IGP.
Perform the following steps on the peer ASBR:
1. Run:
system-view
The system view is displayed.
2. Run:
ospf process-id
The OSPF view is displayed.
3. Run:
import-route bgp [ cost cost ] [ route-policy route-policy-name ]
The BGP routes are imported to IGP.
4. Run:
quit
Return to the system view.
----End
3.9.4 Enabling the Capability of Exchanging Labeled IPv4 Routes
To establish an inter-AS BGP LSP, enable labeled IPv4 route exchange between ASBRs.
Procedure
l Creating a routing policy.
Perform the following steps on ASBRs:
1. Run:
system-view
The system view is displayed.
2. Run:
route-policy route-policy-name permit node seq-number
The routing policy applied to advertise routes to the remote ASBR is configured.
3. Run:
apply mpls-label
Labels for IPv4 routes are distributed.
4. Run:
quit
Return to the system view.
l Applying a Routing Policy
Perform the following steps on ASBRs.
1. Run:
system-view
The system view is displayed.
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
115