MPLS OAM supports segment routing extensions to LSP ping and LSP traceroute as specified in draft-ietf-mpls-spring-lsp-ping.
Segment routing (SR) performs both shortest path and source-based routing. When the data plane uses MPLS encapsulation, the MPLS OAM and SAA lsp-ping and lsp-trace commands can be used to check connectivity and trace the path to any midpoint or endpoint of an SR-ISIS tunnel, SR-OSPF tunnel, or SR-TE LSP.
Configurable options for thelsp-ping and lsp-trace commands in the oam and config>saa>test>type contexts are available for the following types of segment routing tunnels:
SR-ISIS and SR-OSPF node segment ID (SID) tunnels
SR-TE LSPs