R3303-HP HSR6800 Routers MPLS Configuration Guide
38
[RouterC] mpls
[RouterC-mpls] quit
[RouterC] mpls ldp
[RouterC-mpls-ldp] quit
[RouterC] interface serial 2/1/0
[RouterC-Serial2/1/0] mpls
[RouterC-Serial2/1/0] mpls ldp
[RouterC-Serial2/1/0] quit
After the configuration is complete, two local LDP sessions are established, one between Router A
and Router B and the other between Router B and Router C.
# Execute the display mpls ldp session command on each router to view the LDP session
information, and execute the display mpls ldp peer command to view the LDP peer information.
Take Router A as an example:
[RouterA] display mpls ldp session
LDP Session(s) in Public Network
Total number of sessions: 1
----------------------------------------------------------------
Peer-ID Status SsnRole FT MD5 KA-Sent/Rcv
----------------------------------------------------------------
2.2.2.9:0 Operational Passive Off Off 5/5
----------------------------------------------------------------
FT : Fault Tolerance
[RouterA] display mpls ldp peer
LDP Peer Information in Public network
Total number of peers: 1
-----------------------------------------------------------------
Peer-ID Transport-Address Discovery-Source
----------------------------------------------------------------
2.2.2.9:0 2.2.2.9 Serial2/1/0
----------------------------------------------------------------
4. Allow all static routes and IGP routes to trigger establishment of LSPs:
# Configure the LSP establishment triggering policy on Router A.
[RouterA] mpls
[RouterA-mpls] lsp-trigger all
[RouterA-mpls] quit
# Configure the LSP establishment triggering policy on Router B.
[RouterB] mpls
[RouterB-mpls] lsp-trigger all
[RouterB-mpls] quit
# Configure the LSP establishment triggering policy on Router C.
[RouterC] mpls
[RouterC-mpls] lsp-trigger all
[RouterC-mpls] quit
Verifying the configuration:
# Execute the display mpls ldp lsp command on each router to view LDP LSP information. Take
Router A as an example:
[RouterA] display mpls ldp lsp