R0106-HP MSR Router Series MPLS Configuration Guide(V7)

330
[PE1] mpls ldp
[PE1-ldp] quit
[PE1] interface pos 2/1/0
[PE1-Pos2/1/0] mpls enable
[PE1-Pos2/1/0] mpls ldp enable
[PE1-Pos2/1/0] quit
# Configure the P router.
[P] mpls lsr-id 2.2.2.9
[P] mpls ldp
[P-ldp] quit
[P] interface pos 2/1/0
[P-Pos2/1/0] mpls enable
[P-Pos2/1/0] mpls ldp enable
[P-Pos2/1/0] quit
[P] interface pos 2/1/1
[P-Pos2/1/1] mpls enable
[P-Pos2/1/1] mpls ldp enable
[P-Pos2/1/1] quit
# Configure PE 2.
[PE2] mpls lsr-id 3.3.3.9
[PE2] mpls ldp
[PE2-ldp] quit
[PE2] interface pos 2/1/0
[PE2-Pos2/1/0] mpls enable
[PE2-Pos2/1/0] mpls ldp enable
[PE2-Pos2/1/0] quit
# On PE 1, verify that LDP sessions in Operational state have been established between PE 1, P,
and PE 2.
[PE1] display mpls ldp peer
Total number of peers: 1
Peer LDP ID State LAM Role GR MD5 KA Sent/Rcvd
2.2.2.9:0 Operational DU Passive Off Off 5/5
# On PE 1, verify that the LSPs have been established by LDP.
[PE1] display mpls ldp lsp
Status codes: * - stale, L - liberal
FECs: 3 Ingress: 2 Transit: 2 Egress: 1
FEC In/Out Label Nexthop OutInterface
1.1.1.9/32 3/-
-/1151(L)
2.2.2.9/32 -/3 172.1.1.2 POS2/1/0
1151/3 172.1.1.2 POS2/1/0
3.3.3.9/32 -/1150 172.1.1.2 POS2/1/0
1150/1150 172.1.1.2 POS2/1/0
3. Configure IPv6 VPN instances on the PEs to allow CE access:
# Configure PE 1.
[PE1] ip vpn-instance vpn1