The OSPF protocol is used in this example and the configuration procedure is not mentioned
here.
NOTE
The 32-bit loopback interface address used as the LSR ID must be advertised by OSPF.
After the configuration, the OSPF neighbor relation can be established between the ASBR and
the PE in the same AS. Run the display ospf peer command, and you can find that the neighbor
status is Full.
The ASBR-PE and PE in the same AS can ping each other and learn the loopback interface
address of each other.
Step 3 Configure the basic MPLS function and MPLS LDP on the MPLS backbone networks of AS
100 and AS 200 and set up the MPLS LDP LSP.
# Configure the basic MPLS function on PE1 and enable LDP on the interface connected to
ASBR-PE1.
<PE1> system-view
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface vlanif 11
[PE1-Vlanif11] mpls
[PE1-Vlanif11] mpls ldp
[PE1-Vlanif11] quit
# Configure the basic MPLS function on ASBR-PE1 and enable LDP on the interface connected
to PE1.
<ASBR-PE1> system-view
[ASBR-PE1] mpls lsr-id 2.2.2.9
[ASBR-PE1] mpls
[ASBR-PE1-mpls] quit
[ASBR-PE1] mpls ldp
[ASBR-PE1-mpls-ldp] quit
[ASBR-PE1] interface vlanif 11
[ASBR-PE1-Vlanif11] mpls
[ASBR-PE1-Vlanif11] mpls ldp
[ASBR-PE1-Vlanif11] quit
# Configure the basic MPLS function on ASBR-PE2 and enable LDP on the interface connected
to PE2.
<ASBR-PE2> system-view
[ASBR-PE2] mpls lsr-id 3.3.3.9
[ASBR-PE2] mpls
[ASBR-PE2-mpls] quit
[ASBR-PE2] mpls ldp
[ASBR-PE2-mpls-ldp] quit
[ASBR-PE2] interface vlanif 22
[ASBR-PE2-Vlanif22] mpls
[ASBR-PE2-Vlanif22] mpls ldp
[ASBR-PE2-Vlanif22] quit
# Configure the basic MPLS function on PE2 and enable LDP on the interface connected to
ASBR-PE2.
<PE2> system-view
[PE2] mpls lsr-id 4.4.4.9
[PE2] mpls
[PE2-mpls] lsp-trigger all
[PE2-mpls] quit
3 BGP/MPLS IP VPN Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
3-98 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)