<?xml version="1.0" encoding="US-ASCII"?>
<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com)
     by Daniel M Kohn (private) -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY rfc2119 PUBLIC "" "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
]>
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-wang-lsr-prefix-unreachable-annoucement-13"
     ipr="trust200902">
  <front>
    <title abbrev="PUAM">Prefix Unreachable Announcement</title>

    <author fullname="Aijun Wang" initials="A" surname="Wang">
      <organization>China Telecom</organization>

      <address>
        <postal>
          <street>Beiqijia Town, Changping District</street>

          <city>Beijing</city>

          <code>102209</code>

          <country>China</country>
        </postal>

        <email>wangaj3@chinatelecom.cn</email>
      </address>
    </author>

    <author fullname="Zhibo Hu" initials="Z" surname="Hu">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street>Huawei Bld., No.156 Beiqing Rd.</street>

          <city>Beijing</city>

          <code>100095</code>

          <country>China</country>
        </postal>

        <email>huzhibo@huawei.com</email>
      </address>
    </author>

    <author fullname="Jinsong" initials="J" surname="Sun">
      <organization>ZTE Corporation</organization>

      <address>
        <postal>
          <street>No. 68, Ziijnhua Road</street>

          <city>Nanjing</city>

          <code>210012</code>

          <country>China</country>
        </postal>

        <email>sun.jinsong@zte.com.cn</email>
      </address>
    </author>

    <author fullname="Changwang" initials="C" surname="Lin">
      <organization>New H3C Technologies</organization>

      <address>
        <postal>
          <street/>

          <city>Beijing</city>

          <code/>

          <country>China</country>
        </postal>

        <email>linchangwang.04414@h3c.com</email>
      </address>
    </author>

    <date day="23" month="April" year="2025"/>

    <area>RTG Area</area>

    <workgroup>LSR Working Group</workgroup>

    <keyword>RFC</keyword>

    <abstract>
      <t>This document describes a mechanism that can trigger the switchover
      of the services which rely on the reachability of the peer endpoints,
      for example the BGP or the tunnel services. It is mainly used in the
      scenarios that the summary prefixes are advertised at the border routers
      whereas the services endpoints are located in different IGP areas or
      levels, whose reachabilities are covered by the summary prefixes.</t>

      <t>It introduces a new signaling mechanism using a negative prefix
      announcement called Prefix Unreachable Announcement Mechanism(PUAM),
      utilized to detect a link or node down event and signal the overlay
      services that the communication endpoint is unreachabe to force the
      overlay service headend switchover immediately.</t>
    </abstract>
  </front>

  <middle>
    <section anchor="intro" title="Introduction">
      <t>As part of an operator optimized design, a critical requirement is to
      limit Shortest Path First (SPF) churn which occurs within a single OSPF
      area or IS-IS level. This is accomplished by sub-dividing the IGP domain
      into multiple areas for flood reduction of intra area prefixes so they
      are contained within each discrete area to avoid domain wide
      flooding.</t>

      <t>OSPF and IS-IS have a default and summary route mechanism which is
      performed on the OSPF area border router or IS-IS L1-L2 node. The
      summary route is triggered to be advertised conditionally when at least
      one component prefix exists within the attached area or Level.</t>

      <t>Operators have historically relied on MPLS architecture which is
      based on exact match host route for single area. LDP inter-area
      extension <xref target="RFC5283"/> provides the ability to LPM(Longest
      Prefix Match), so now it can be a summary match of a host route of the
      egress PE for an inter-area LSP to be instantiated.</t>

      <t>SRV6 routing framework utilities the IPv6 data plane standard IGP
      LPM, such summarization will influence the forwarding of traffic when a
      link or node failure event occurs for a component prefix within the
      summary range, result in black hole routing of traffic.</t>

      <t>The motivation behind this draft is for either MPLS LPM FEC binding,
      SRv6 etc. tunnel ,or BGP overlay service that are using LPM forwarding
      plane where the IGP domain has been carved up into OSPF areas or IS-IS
      levels and summarization is utilized. In such scenario, a link or node
      failure can result in a black hole of traffic when the summary
      advertisement that covers the failure prefixes still exists.</t>

      <t>PUAM can track the unreachabilities of the important component
      prefixes to ensure traffic is not black hole sink routed for the above
      overlay services.</t>
    </section>

    <section title="Conventions used in this document">
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
      "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
      document are to be interpreted as described in <xref target="RFC2119"/>
      .</t>
    </section>

    <section title="Scenario Description">
      <t>Figure 1 illustrates the topology scenario when OSPF or IS-IS is
      running in multi areas. R0-R4 are routers in backbone area, S1-S4,T1-T4
      are internal routers in area 1 and area 2 respectively. R1 and R3 are
      area border routers between area 0 and area 1. R2 and R4 are area border
      routers between area 0 and area 2.</t>

      <t>S1/S4 and T2/T4 PEs peer to customer CEs for overlay VPNs. Ps1/Ps4 is
      the loopback0 address of S1/S4 and Pt2/Pt4 is the loopback0 address of
      T2/T4.</t>

      <t><figure>
          <artwork align="center"><![CDATA[                 
 +---------------------+------+--------+-----+--------------+
 | +--+        +--+   ++-+   ++-+    +-++   + -+        +--+|
 | |S1+--------+S2+---+R1+---|R0+----+R2+---+T1+--------+T2||
 | +-++Ps1     +-++   ++-+   +--+    +-++   ++++    Pt2 +-++|
 |   |           |     |               |     ||           | |
 |   |           |     |               |     ||           | |
 | +-++Ps4     +-++   ++-+           +-++   ++++     Pt4+-++|
 | |S4+--------+S3+---+R3+-----------+R4+---+T3+--------+T4||
 | +--+        +--+   ++-+           +-++   ++-+        +--+|
 |                     |               |                    |
 |                     |               |                    |
 |         Area 1      |     Area 0    |      Area 2        |
 +---------------------+---------------+--------------------+

Figure 1: OSPF Inter-Area Prefix Unreachable Announcement Scenario
]]></artwork>
        </figure></t>

      <section anchor="Inter-Area_Node_Failure"
               title="Inter-Area Node Failure Scenario">
        <t>If the area border router R2/R4 does the summary action, then one
        summary address that cover the prefixes of area 2 will be announced to
        area 0 and area 1, instead of the detail address.</t>

        <t>When the node T2 is down, Pt2 becomes unreachable while the summary
        prefix continues to be advertised into the backbone area. Except the
        border router R2/R4, the other routers within area 0 and area 1 do not
        know the unreachable status of the Pt2 prefix. Traffic will continue
        to forward via LPM match to prefix Pt2 and will be dropped on the ABR
        node, resulting in black hole routing and connectivity loss. Even the
        customer overlay VPN are dual homed to both S1/S4 and T2/R4, traffic
        will not be able to fail-over to alternate egress PE(T4) due to the
        summarization.</t>
      </section>

      <section anchor="inter-area-link-failure"
               title="Inter-Area Links Failure Scenario">
        <t>In a link failure scenario, if the links between T1/T2 and T1/T3
        are down, R2 will not be able to reach node T2. But as R2 and R4 do
        the summary announcement, and the summary address covers the prefix of
        Pt2, other nodes in area 0 and area 1 will still send traffic to T2
        via the border router R2, thus black hole sink routing the
        traffic.</t>

        <t>In such a situation, the border router R2 should notify other
        routers that it can't reach the prefix Pt2, and lets the other
        ABRs(R4) being selected as the next hop to reach prefix Pt2.</t>
      </section>
    </section>

    <section anchor="PUA_Procedures"
             title="PUAM (Prefix Unreachable Advertisement Mechanism) Procedures">
      <t><xref target="RFC7794"/> and <xref target="RFC9084"/> define sub-TLV
      to announce the originator information of the one prefix from a
      specified node. This draft utilizes such sub-TLV for OSPF and IS-IS to
      signal the negative prefix in the perspective PUAM when a link or node
      goes down.</t>

      <t>When OSPF ABR or IS-IS L1-L2 border node detects link or node down,
      the ABR should announce one new summary LSA or LSP which includes the
      information about the down prefix, with the prefix originator sub-TLV
      set to NULL(0.0.0.0). The LSA or LSP will be propagated with standard
      flooding procedures.</t>

      <t>If the nodes in the area receive the PUAM message for one prefix from
      all of its ABR routers, they will know that the specified prefix is
      unreachable and start overlay services switchover process if such
      services rely on unreachable prefix. Without the PUAM forced switchover,
      the summary prefix will yield black hole routing and results in loss of
      connectivity.</t>

      <t>When only some of the ABRs can't reach the failure node/link, as that
      described in <xref target="inter-area-link-failure"/>, along with the
      PUAM message for the associated prefixe from these ABRs, the ABR that
      can reach the PUAM prefix should advertise the specific route to this
      prefix. The internal routers within another area can then bypass the
      ABRs that can't reach the PUAM prefix, to reach the prefix that
      advertised in PUAM message.</t>
    </section>

    <section title="PUAM Capabilities Announcement">
      <t>When not all of the nodes in one area support the PUAM information,
      there are possibilities the nodes misbehavior when they don't support
      the received PUAM message.</t>

      <t>To avoid this happen, the ABR should know the capabilities of each
      node within one area via the newly defined capabilities bits, and
      advertise PUAM message with some additional information when
      necessary.</t>

      <t>For OSPFv2, this bit (Bit number TBD, suggest bit 6, 0x20) should be
      carried in "OSPF Router-LSA Option", as that described in <xref
      target="RFC2328"/>.</t>

      <t>For OSPFv3, one bit (Bit number TBD, suggest bit 8) should be defined
      to indicate the router's capabilities to support PUAM that described in
      this draft, the defined bit should be carried in "OSPF Router
      Informational Capabilities" TLV, which is described in <xref
      target="RFC7770"/>.</t>

      <t>For IS-IS, one new sub-TLV(Type TBD, suggest 29), PUAM Capabilities
      sub-TLV, which is included in the "IS-IS Router CAPABILITY TLV" <xref
      target="RFC7981"/> is defined in the followings:</t>

      <t><figure>
          <artwork align="center"><![CDATA[   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Type        |     Length    |            Flags              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   Type: TBD, Suggested value 29, to be assigned by IANA
   Length: 2
   Flags: 2 octets
   The following flags are defined:
           0                   1
           0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
           |P|                             |
           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   where:
      P-flag: If set, the router supports PUAM information.

   Figure 2: PUAM Capabilities sub-TLV format
]]></artwork>
        </figure></t>

      <t>If all of nodes within one area support the PUAM capabilites, the
      PUAM message can be safely advertised within the IGP domain.</t>
    </section>

    <section title="Implementation Consideration">
      <t>Considering the balances of reachable information and unreachable
      information announcements, the implementation of this mechanism should
      set one MAX_Address_Announcement (MAA) threshold value that can be
      configurable. Then, the ABR should make the following decisions to
      announce the prefixes:</t>

      <t>1. If the number of unreachable prefixes is less than MAA, the ABR
      should advertise the summary address and the PUAM.</t>

      <t>2. If the number of reachable address is less than MAA, the ABR
      should advertise the detail reachable address only.</t>

      <t>3. If the number of reachable prefixes and unreachable prefixes
      exceed MAA, then advertise the MAA unreachable prefixes, and also the
      summary address with MAX(LSInfiity-1) metric. At the same time, the ABR
      should notify the operators there are severe incident occurs within the
      network.</t>
    </section>

    <section title="Deployment Considerations">
      <t>To support the PUAM advertisement, the ABRs should be upgraded
      according to the procedures described in <xref
      target="PUA_Procedures"/>. The nodes that want to accomplish the
      services switchover should also be upgraded to act upon the receive of
      the PUAM message. Other nodes within the network can ignore such PUAM
      message if they don't care.</t>

      <t>As described in <xref target="PUA_Procedures"/>, the ABR will
      advertise the PUAM message once it detects there is link or node down
      within the summary address. In order to reduce the unnecessary
      advertisements of PUAM messages on ABRs, the ABRs should support the
      configuration of the tracked prefixes. Based on such information, the
      ABR will only advertise the PUAM message when the tracked prefixes(for
      example, the loopback addresses of PEs that run BGP) that within the
      summary address is missing.</t>

      <t>The advertisement of PUAM message should only last one configurable
      period to allow the services that run on the failure prefixes are
      switchovered.</t>

      <t>If one prefix is missed before the PUAM takes effect, the ABR will
      not declare its absence via the PUAM.</t>
    </section>

    <section title="Security Considerations">
      <t>Advertisement of PUAM information follow the same procedure of
      traditional LSA. The action based on the PUAM is depended on the overlay
      services and is out of the scope of this document.</t>

      <t>There is no changes to the forward behavior of other internal
      routers.</t>
    </section>

    <section title="IANA Considerations">
      <t>IANA is requested to register the following in the "OSPF Router
      Properties Registry" and "OSPF Router Informational Capability Bits
      Registry" respectively.</t>

      <t><figure>
          <artwork align="center"><![CDATA[   +------------+------------------+-------------+
   | Bit Number | Capability Name  |  Reference  |
   +============+==================+=============+
   | TBD(0x20)  | OSPF PUAM Support|this document|
   +------------+------------------+-------------+
   Table 1: P-Bit in OSPFv2 Router-LSA Option

   +------------+------------------+-------------+
   | Bit Number | Capability Name  |  Reference  |
   +============+==================+=============+
   | TBD(bit 8) | OSPF PUAM Support|this document|
   +------------+------------------+-------------+
  Table 2: OSPFv3 Router PUAM Capability Support Bit

   IANA is requested to register the following in "Sub-TLVs for
   TLV242(IS-IS Router CAPABILITY TLV)

   Type: 29 (Suggested - to be assigned by IANA)

   Description: PUAM Support Capabilities
]]></artwork>
        </figure></t>
    </section>

    <section title="Acknowledgement">
      <t>Thanks Peter Psenak, Les Ginsberg, Bruno Decraene, Acee Lindem,
      Shraddha Hegde, Robert Raszuk, Tony Li, Jeff Tantsura and Tony
      Przygienda for their suggestions and comments on this draft.</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <?rfc include="reference.RFC.2119"?>

      <?rfc include="reference.RFC.2328"?>

      <?rfc include="reference.RFC.7770"?>

      <?rfc include="reference.RFC.7794"?>

      <?rfc include="reference.RFC.7981"?>

      <?rfc include="reference.RFC.5283"?>

      <?rfc include="reference.RFC.9084"?>
    </references>
  </back>
</rfc>
