OcNOS-RON : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : LDP Configuration : MPLS LDP PING and TRACEROUTE
MPLS LDP PING and TRACEROUTE
This example shows MPLS ping and trace route for LDP
#show ip ospf neighbor
Total number of full neighbors: 1
OSPF process 0 VRF(default):
Neighbor ID     Pri   State            Dead Time   Address         Interface           Instance ID
43.43.43.43       1   Full/DR          00:00:33    21.21.21.43     xe21                    0
RTR-29#show ldp session
Peer IP Address           IF Name    My Role    State      KeepAlive
43.43.43.43               xe21       Passive   OPERATIONAL   30
 
#show mpls  forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN,
       B - BGP FTN, K - CLI FTN,
       L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
       U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
 
Code    FEC                 FTN-ID    Tunnel-id   Pri   LSP-Type        Out-Label    Out-Intf       Nexthop
L>      43.43.43.43/32      19        0           Yes   LSP_DEFAULT     0            xe21          21.21.21.43
 
#ping mpls ldp 43.43.43.43/32 detail
Sending 5 MPLS Echos to 43.43.43.43, timeout is 5 seconds
 
Codes:
'!' - Success, 'Q' - request not sent, '.' - timeout,
'x' - Retcode 0, 'M' - Malformed Request, 'm' - Errored TLV,
'N' - LBL Mapping Err, 'D' - DS Mismatch,
'U' - Unknown Interface, 'R' - Transit (LBL Switched),
'B' - IP Forwarded, 'F' No FEC Found, 'f' - FEC Mismatch,
'P' - Protocol Error, 'X' - Unknown code,
'Z' - Reverse FEC Validation Failed
 
Type 'Ctrl+C' to abort
! seq_num = 1 43.43.43.43 1.73 ms
! seq_num = 2 43.43.43.43 1.46 ms
! seq_num = 3 43.43.43.43 0.64 ms
! seq_num = 4 43.43.43.43 0.65 ms
! seq_num = 5 43.43.43.43 0.62 ms
 
Success Rate is 100.00 percent (5/5)
round-trip min/avg/max = 0.62/1.18/1.73
 
#trace mpls ldp 43.43.43.43/32 detail
Tracing MPLS Label Switched Path to 43.43.43.43, timeout is 5 seconds
Codes:
'!' - Success, 'Q' - request not sent, '.' - timeout,
'x' - Retcode 0, 'M' - Malformed Request, 'm' - Errored TLV,
'N' - LBL Mapping Err, 'D' - DS Mismatch,
'U' - Unknown Interface, 'R' - Transit (LBL Switched),
'B' - IP Forwarded, 'F' No FEC Found, 'f' - FEC Mismatch,
'P' - Protocol Error, 'X' - Unknown code,
'Z' - Reverse FEC Validation Failed
Type 'Ctrl+C' to abort
  0 21.21.21.29 [Labels:  0]
! 1 43.43.43.43 0.69 ms
 
#ping mpls ldp 43.43.43.43/32 detail interval 5000 rep
reply-mode  repeat
#ping mpls ldp 43.43.43.43/32 detail interval 5000 repeat 50
Sending 50 MPLS Echos to 43.43.43.43, timeout is 5 seconds
 
Codes:
'!' - Success, 'Q' - request not sent, '.' - timeout,
'x' - Retcode 0, 'M' - Malformed Request, 'm' - Errored TLV,
'N' - LBL Mapping Err, 'D' - DS Mismatch,
'U' - Unknown Interface, 'R' - Transit (LBL Switched),
'B' - IP Forwarded, 'F' No FEC Found, 'f' - FEC Mismatch,
'P' - Protocol Error, 'X' - Unknown code,
'Z' - Reverse FEC Validation Failed
 
Type 'Ctrl+C' to abort
 
! seq_num = 1 43.43.43.43 0.70 ms
! seq_num = 2 43.43.43.43 0.73 ms
! seq_num = 3 43.43.43.43 0.71 ms
Success Rate is 100.00 percent (3/3)
round-trip min/avg/max = 0.70/0.71/0.73
Last modified date: 07/13/2023