SR extensions for LSP ping and LSP trace

This section describes how MPLS OAM models the SR tunnel types.

An SR shortest path tunnel, SR-ISIS, or SR-OSPF tunnel, uses a single FEC element in the Target FEC Stack TLV. The FEC corresponds to the prefix of the node SID in a specific IGP instance.

Figure: IPv4 IGP-prefix segment ID illustrates the format for the IPv4 IGP-prefix segment ID:

Figure: IPv4 IGP-prefix segment ID

In this format, the fields are as follows:

Figure: IPv6 IGP prefix segment ID illustrates the format for the IPv6 IGP prefix segment ID:

Figure: IPv6 IGP prefix segment ID

In this format, the fields are as follows:

An SR-TE LSP, as a hierarchical LSP, uses the Target FEC Stack TLV, which contains a FEC element for each node SID and for each adjacency SID in the path of the SR-TE LSP. Because the SR-TE LSP does not instantiate state in the LSR other than the ingress LSR, MPLS OAM is just testing a hierarchy of node SID and adjacency SID segments toward the destination of the SR-TE LSP. The format of the node-SID is as illustrated above. Figure: IGP-Adjacency segment ID illustrates the format for the IGP-Adjacency segment ID is as follows:

Figure: IGP-Adjacency segment ID

In this format, the fields are as follows:

Both lsp-ping and lsp-trace apply to the following contexts: