R2511-HP MSR Router Series MPLS Configuration Guide(V5)

184
[Spoke-PE1] interface pos 5/0
[Spoke-PE1-POS5/0] mpls
[Spoke-PE1-POS5/0] mpls ldp
[Spoke-PE1-POS5/0] quit
# Configure Spoke-PE 2.
[Spoke-PE2] mpls lsr-id 3.3.3.9
[Spoke-PE2] mpls
[Spoke-PE2-mpls] quit
[Spoke-PE2] mpls ldp
[Spoke-PE2-mpls-ldp] quit
[Spoke-PE2] interface pos 5/0
[Spoke-PE2-POS5/0] mpls
[Spoke-PE2-POS5/0] mpls ldp
[Spoke-PE2-POS5/0] quit
# Configure the Hub-PE.
[Hub-PE] mpls lsr-id 2.2.2.9
[Hub-PE] mpls
[Hub-PE-mpls] quit
[Hub-PE] mpls ldp
[Hub-PE-mpls-ldp] quit
[Hub-PE] interface pos 5/0
[Hub-PE-POS5/0] mpls
[Hub-PE-POS5/0] mpls ldp
[Hub-PE-POS5/0] quit
[Hub-PE] interface pos 5/1
[Hub-PE-POS5/1] mpls
[Hub-PE-POS5/1] mpls ldp
[Hub-PE-POS5/1] quit
# Execute the display mpls ldp session command to verify that LDP sessions in Operational state
have been established between Spoke-PE 1 and Hub-PE, and between Spoke-PE 2 and Hub-PE.
Execute the display mpls ldp lsp command to verify the LSPs have been established by LDP. This
example uses Spoke-PE 1.
[Spoke-PE1] display mpls ldp session
LDP Session(s) in Public Network
Total number of sessions: 1
----------------------------------------------------------------
Peer-ID Status LAM SsnRole FT MD5 KA-Sent/Rcv
---------------------------------------------------------------
2.2.2.9:0 Operational DU Passive Off Off 5/5
---------------------------------------------------------------
LAM : Label Advertisement Mode FT : Fault Tolerance
[Spoke-PE1] display mpls ldp lsp
LDP LSP Information
------------------------------------------------------------------
SN DestAddress/Mask In/OutLabel Next-Hop In/Out-Interface
------------------------------------------------------------------
1 1.1.1.9/32 3/NULL 127.0.0.1 -------/InLoop0
2 2.2.2.9/32 NULL/3 172.1.1.2 -------/POS5/0