HP MSR2000/3000/4000 Router Series MPLS Configuration Guide

253
2. Configure basic MPLS and enable MPLS LDP on each MPLS backbone to establish LDP LSPs:
# Configure basic MPLS on PE 1 and enable MPLS LDP for both PE 1 and the interface connected
to ASBR-PE 1.
<PE1> system-view
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls ldp
[PE1-ldp] quit
[PE1] interface pos 5/0
[PE1-POS5/0] mpls enable
[PE1-POS5/0] mpls ldp enable
[PE1-POS5/0] quit
# Configure basic MPLS on ASBR-PE 1 and enable MPLS LDP for both ASBR-PE 1 and the interface
connected to PE 1.
<ASBR-PE1> system-view
[ASBR-PE1] mpls lsr-id 2.2.2.9
[ASBR-PE1] mpls ldp
[ASBR-PE1-ldp] quit
[ASBR-PE1] interface pos 5/0
[ASBR-PE1-POS5/0] mpls enable
[ASBR-PE1-POS5/0] mpls ldp enable
[ASBR-PE1-POS5/0] quit
# Configure basic MPLS on ASBR-PE 2 and enable MPLS LDP for both ASBR-PE 2 and the interface
connected to PE 2.
<ASBR-PE2> system-view
[ASBR-PE2] mpls lsr-id 3.3.3.9
[ASBR-PE2] mpls ldp
[ASBR-PE2-ldp] quit
[ASBR-PE2] interface pos 5/0
[ASBR-PE2-POS5/0] mpls enable
[ASBR-PE2-POS5/0] mpls ldp enable
[ASBR-PE2-POS5/0] quit
# Configure basic MPLS on PE 2 and enable MPLS LDP for both PE 2 and the interface connected
to ASBR-PE 2.
<PE2> system-view
[PE2] mpls lsr-id 4.4.4.9
[PE2] mpls ldp
[PE2-ldp] quit
[PE2] interface pos 5/0
[PE2-POS5/0] mpls enable
[PE2-POS5/0] mpls ldp enable
[PE2-POS5/0] quit
After the configurations, each PE and the ASBR PE in the same AS can establish an LDP neighbor
relationship. Execute the display mpls ldp session command on the routers. The output shows that
the session status is Operational.
3. Configure a VPN instance on the PEs:
For the same VPN, the route targets for the VPN instance on the PE must match those for the VPN
instance on the ASBR-PE in the same AS. This is not required for PEs in different ASs.