In MPLS, the control panel used for setting up an LSP cannot detect data forwarding failures on the LSP. This makes network maintenance difficult.
MPLS ping checks LSP connectivity, and MPLS traceroute locates network faults in addition to checking LSP connectivity.
MPLS ping and MPLS traceroute can be performed in any view. MPLS ping and MPLS traceroute do not support packet fragmentation.
By default, the device is enabled to respond to MPLS Echo Request packets.
By default, the device does not filter MPLS Echo Request packets based on their source IP addresses.
Run the ping lsp [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m interval | -r reply-mode | -s packet-size | -t time-out | -v ] * ip destination-address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ] command to perform an MPLS ping test.
If draft6 is specified, the command is implemented according to draft-ietf-mpls-lsp-ping-06. By default, the command is implemented according to RFC 4379.
Run the tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | -t time-out | -v ] * ip destination-address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ] command to perform an MPLS traceroute test.
If draft6 is specified, the command is implemented according to draft-ietf-mpls-lsp-ping-06. By default, the command is implemented according to RFC 4379.
Run the display lspv statistics command to check the LSPV test statistics. A large amount of statistical information is saved in the system after MPLS ping or traceroute tests are performed multiple times, which is unhelpful for problem analysis. To obtain more accurate statistics, run the reset lspv statistics command to clear LSPV test statistics before running the display lspv statistics command.
Run the undo lspv mpls-lsp-ping echo enable command to disable response to MPLS Echo Request packets. It is recommended that you run this command after completing an MPLS ping or traceroute test to save system resources.
Run the display lspv configuration command to check the current LSPV configuration.