R2511-HP MSR Router Series MPLS Configuration Guide(V5)
430
[PE1-mpls] quit
[PE1] mpls ldp
[PE1-mpls-ldp] quit
[PE1] interface pos 5/0
[PE1-Pos5/0] mpls
[PE1-Pos5/0] mpls ldp
[PE1-Pos5/0] quit
# Configure the P device.
[P] mpls lsr-id 2.2.2.9
[P] mpls
[P-mpls] lsp-trigger all
[P-mpls] quit
[P] mpls ldp
[P-mpls-ldp] quit
[P] interface pos 5/0
[P-Pos5/0] mpls
[P-Pos5/0] mpls ldp
[P-Pos5/0] quit
[P] interface pos 5/1
[P-Pos5/1] mpls
[P-Pos5/1] mpls ldp
[P-Pos5/] quit
# Configure the PE-agg.
[PEagg] mpls lsr-id 3.3.3.9
[PEagg] mpls
[PEagg-mpls] lsp-trigger all
[PEagg-mpls] quit
[PEagg] mpls ldp
[PEagg-mpls-ldp] quit
[PEagg] interface pos 5/0
[PEagg-Pos5/0] mpls
[PEagg-Pos5/0] mpls ldp
[PEagg-Pos5/0] quit
c. Establish a remote LDP session between PE 1 and PE-agg:
# Configure PE 1.
[PE1] mpls ldp remote-peer 1
[PE1-mpls-ldp-remote-1] remote-ip 3.3.3.9
[PE1-mpls-ldp-remote-1] quit
# Configure the PE-agg.
[PEagg] mpls ldp remote-peer 1
[PEagg-mpls-ldp-remote-1] remote-ip 1.1.1.9
[PEagg-mpls-ldp-remote-1] quit
d. Enable L2VPN and MPLS L2VPN on PE 1 and PE-agg:
# Configure PE 1.
[PE1] l2vpn
[PE1-l2vpn] mpls l2vpn
[PE1-l2vpn] quit










