OSPFv3 Code Point for MPLS LSP Ping
updates
- rfc-8287 — Label Switched Path (LSP) Ping/Traceroute for Segment Routing (SR) IGP-Prefix and IGP-Adjacency Segment Identifiers (SIDs) with MPLS Data Planes
Extracted elements (11)
A separate OSPFv3 code point (value 3) is introduced rather than reusing the existing OSPF code point (value 1) because OSPFv2 is not compatible with IPv6 addresses used by Segment ID sub-TLV Types 35 and 36, necessitating clear IGP version disambiguation.
Responders receiving Segment ID sub-TLV Types 35 or 36 with protocol value 1 (OSPF) MAY treat it as 'Any IGP Protocol' (value 0) to maintain compatibility with legacy implementations that incorrectly used value 1 to indicate OSPFv3.
The initiator MUST NOT set the protocol field of Segment ID sub-TLV Type 35 and Type 36 to OSPF (value 1), as OSPFv2 is not compatible with IPv6 addresses indicated by these sub-TLVs.
The 'OSPF' code points in the Protocol field of the Segment ID sub-TLV and DDMAP TLV SHOULD be used only for OSPFv2, updating RFC 8287.
When the protocol field in a received Segment ID sub-TLV Type 35 or 36 is OSPF (value 1), the responder MAY treat the protocol value as 'Any IGP Protocol' (value 0) to support legacy implementations that use value 1 to indicate OSPFv3.
When the protocol field of the Segment ID sub-TLV of Type 34, 35, or 36 is set to 3, the responder MUST perform FEC validation using OSPFv3 as the IGP.
OSPFv3 is assigned code point 3 in the Segment ID sub-TLV protocol field, used in sub-TLV Types 34 (IPv4 IGP-Prefix Segment ID), 35 (IPv6 IGP-Prefix Segment ID), and 36 (IGP-Adjacency Segment ID).
The protocol field of the DDMAP TLV in an echo reply is set to 7 when OSPFv3 is used to distribute the label carried in the Downstream Label field.
IANA has assigned code point 3 (OSPFv3) in the 'Protocol in the Segment ID Sub-TLV' registry under the MPLS LSP Ping Parameters registry, and added a note to code point 1 (OSPF): 'To be used for OSPFv2 only'.
IANA has assigned code point 7 (OSPFv3) in the 'Protocol in Label Stack Sub-TLV of Downstream Detailed Mapping TLV' registry under the MPLS LSP Ping Parameters registry, and added a note to code point 5 (OSPF): 'To be used for OSPFv2 only'.
This document updates RFC 8287 and does not introduce any additional security considerations. Generic security considerations for MPLS LSP Ping are covered in RFC 8029.