<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="exp" docName="draft-ietf-bfd-stability-21" number="9978" updates="" obsoletes="" ipr="trust200902" consensus="true" submissionType="IETF" tocInclude="true" symRefs="true" sortRefs="true" tocDepth="3" xml:lang="en" prepTime="2026-06-29T22:48:28" indexInclude="true" scripts="Common,Latin">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-bfd-stability-21" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc9978" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="BFD Stability">Bidirectional Forwarding Detection (BFD) Stability</title>
    <seriesInfo name="RFC" value="9978" stream="IETF"/>
    <author fullname="Ashesh Mishra" initials="A." surname="Mishra">
      <organization showOnFrontPage="true">Aalyria Technologies</organization>
      <address>
        <email>ashesh@aalyria.com</email>
      </address>
    </author>
    <author fullname="Mahesh Jethanandani" initials="M." surname="Jethanandani">
      <organization showOnFrontPage="true">Arrcus, Inc.</organization>
      <address>
        <postal>
          <country>United States of America</country>
        </postal>
        <email>mjethanandani@gmail.com</email>
      </address>
    </author>
    <author fullname="Ankur Saxena" initials="A." surname="Saxena">
      <organization showOnFrontPage="true">Ciena Corporation</organization>
      <address>
        <postal>
          <street>3939 North 1st Street</street>
          <city>San Jose</city>
          <region>CA</region>
          <code>95134</code>
          <country>United States of America</country>
        </postal>
        <email>ankurpsaxena@gmail.com</email>
        <uri>www.ciena.com</uri>
      </address>
    </author>
    <author fullname="Santosh Pallagatti" initials="S." surname="Pallagatti">
      <organization showOnFrontPage="true">Zscaler</organization>
      <address>
        <postal>
          <city>Bangalore</city>
          <region>Karnataka</region>
          <code>560103</code>
          <country>India</country>
        </postal>
        <email>santosh.pallagatti@gmail.com</email>
      </address>
    </author>
    <author fullname="Mach(Guoyi) Chen" initials="M." surname="Chen">
      <organization showOnFrontPage="true">Huawei</organization>
      <address>
        <email>mach.chen@huawei.com</email>
      </address>
    </author>
    <date month="06" year="2026"/>
    <area>RTG</area>
    <workgroup>bfd</workgroup>
    <keyword>packet loss</keyword>
    <keyword>lost packet</keyword>
    <keyword>loss measurement</keyword>
    <keyword>dropped packets</keyword>
    <keyword>out-of-order packets</keyword>
    <keyword>data loss</keyword>
    <keyword>datapath failure</keyword>
    <keyword>fault detection</keyword>
    <keyword>meticulously increasing sequence number</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">
	This document describes extensions to the Bidirectional
	Forwarding Detection (BFD) protocol to measure BFD
	Stability. Specifically, it describes a mechanism for
	the detection of BFD packet loss.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This document is not an Internet Standards Track specification; it is
            published for examination, experimental implementation, and
            evaluation.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document defines an Experimental Protocol for the Internet
            community.  This document is a product of the Internet Engineering
            Task Force (IETF).  It represents the consensus of the IETF community.
            It has received public review and has been approved for publication
            by the Internet Engineering Steering Group (IESG).  Not all documents
            approved by the IESG are candidates for any level of Internet
            Standard; see Section 2 of RFC 7841. 
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc9978" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2026 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Revised BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Revised BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-use-cases">Use Cases</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-functionality">Functionality</xref></t>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-null-auth-type">NULL Auth Type</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-theory-of-operation">Theory of Operation</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-loss-measurement">Loss Measurement</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.2">
                <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-out-of-order-packets">Out-of-Order Packets</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="7" format="counter" sectionFormat="of" target="section-7"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-stability-yang-module">Stability YANG Module</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.7.2">
              <li pn="section-toc.1-1.7.2.1">
                <t indent="0" pn="section-toc.1-1.7.2.1.1"><xref derivedContent="7.1" format="counter" sectionFormat="of" target="section-7.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-data-model-overview">Data Model Overview</xref></t>
              </li>
              <li pn="section-toc.1-1.7.2.2">
                <t indent="0" pn="section-toc.1-1.7.2.2.1"><xref derivedContent="7.2" format="counter" sectionFormat="of" target="section-7.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-module">YANG Module</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="8" format="counter" sectionFormat="of" target="section-8"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.8.2">
              <li pn="section-toc.1-1.8.2.1">
                <t indent="0" pn="section-toc.1-1.8.2.1.1"><xref derivedContent="8.1" format="counter" sectionFormat="of" target="section-8.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-auth-type">Auth Type</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.2">
                <t indent="0" pn="section-toc.1-1.8.2.2.1"><xref derivedContent="8.2" format="counter" sectionFormat="of" target="section-8.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ietf-xml-registry">IETF XML Registry</xref></t>
              </li>
              <li pn="section-toc.1-1.8.2.3">
                <t indent="0" pn="section-toc.1-1.8.2.3.1"><xref derivedContent="8.3" format="counter" sectionFormat="of" target="section-8.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-yang-module-names-regis">The "YANG Module Names" Registry</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="9" format="counter" sectionFormat="of" target="section-9"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.9.2">
              <li pn="section-toc.1-1.9.2.1">
                <t indent="0" pn="section-toc.1-1.9.2.1.1"><xref derivedContent="9.1" format="counter" sectionFormat="of" target="section-9.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-bfd-null-auth-type-security">BFD NULL Auth Type Security Considerations</xref></t>
              </li>
              <li pn="section-toc.1-1.9.2.2">
                <t indent="0" pn="section-toc.1-1.9.2.2.1"><xref derivedContent="9.2" format="counter" sectionFormat="of" target="section-9.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-security-consideration">YANG Security Considerations</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="10" format="counter" sectionFormat="of" target="section-10"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.10.2">
              <li pn="section-toc.1-1.10.2.1">
                <t indent="0" pn="section-toc.1-1.10.2.1.1"><xref derivedContent="10.1" format="counter" sectionFormat="of" target="section-10.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.10.2.2">
                <t indent="0" pn="section-toc.1-1.10.2.2.1"><xref derivedContent="10.2" format="counter" sectionFormat="of" target="section-10.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-experimental-status">Experimental Status</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="Appendix B" format="default" sectionFormat="of" target="section-appendix.b"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-examples">Examples</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.12.2">
              <li pn="section-toc.1-1.12.2.1">
                <t indent="0" pn="section-toc.1-1.12.2.1.1"><xref derivedContent="B.1" format="counter" sectionFormat="of" target="section-appendix.b.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-single-hop-bfd-configuratio">Single Hop BFD Configuration</xref></t>
              </li>
              <li pn="section-toc.1-1.12.2.2">
                <t indent="0" pn="section-toc.1-1.12.2.2.1"><xref derivedContent="B.2" format="counter" sectionFormat="of" target="section-appendix.b.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-use-of-the-null-auth-type">Use of the NULL Auth Type</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.13">
            <t indent="0" pn="section-toc.1-1.13.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.14">
            <t indent="0" pn="section-toc.1-1.14.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-contributors">Contributors</xref></t>
          </li>
          <li pn="section-toc.1-1.15">
            <t indent="0" pn="section-toc.1-1.15.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.e"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">The Bidirectional Forwarding Detection (BFD) <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/> protocol operates by transmitting and
      receiving BFD control packets, generally at a high frequency, over the
      datapath being monitored. In order to prevent significant data loss due
      to a datapath failure, BFD session Detection Time as defined in <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/> is set to the smallest feasible value.</t>
      <t indent="0" pn="section-1-2">
	A BFD session <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/> will remain in the Up state as long as it receives at
	least one BFD packet within the Detection Time interval. However,
	additional packet loss within that time interval is not noted by the
	BFD state machinery. Noting the other missed packets provides a
	valuable indicator of systemic issues or a deteriorating network that
	may warrant preventive action.
      </t>
      <t indent="0" pn="section-1-3">
	This document proposes an experimental mechanism to detect
	packet loss in a BFD session and describes the datapath
	fault detection mechanisms of BFD.  Such a mechanism, combined
	with 'receive-packet-count' defined in "YANG Data Model for Bidirectional Forwarding Detection (BFD)" <xref target="RFC9314" format="default" sectionFormat="of" derivedContent="RFC9314"/> permits operators to measure the
	stability of BFD sessions. The details of the motivation for
	the Experimental status of this document can be found in <xref target="experimental-status" format="default" sectionFormat="of" derivedContent="Appendix A"/>. Implementations may also do
	additional analysis of the packet loss over a time
	interval. Such an analysis is outside the scope of this
	document.
      </t>
      <t indent="0" pn="section-1-4">
	This document does not propose any BFD extension to measure
	data traffic loss or delay on a link or tunnel, and the scope
	is limited to BFD packets.
      </t>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-2">
      <name slugifiedName="name-terminology">Terminology</name>
      <t indent="0" pn="section-2-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>",
    "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be
    interpreted as described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> when, and only when, they appear in all capitals, as
    shown here.
      </t>
      <t indent="0" pn="section-2-2">
	The reader is expected to be familiar with BFD <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/>. In particular, the term
	"meticulous" as specified in "Meticulous Keyed ISAAC for Bidirectional Forwarding Detection (BFD) Optimized Authentication" <xref target="RFC9986" format="default" sectionFormat="of" derivedContent="RFC9986"/> means that the
	sequence number is incremented on every new packet that is
	sent.
      </t>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-3">
      <name slugifiedName="name-use-cases">Use Cases</name>
      <t indent="0" pn="section-3-1">
	Bidirectional Forwarding Detection (BFD), as defined in <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/>, cannot detect any BFD packet loss
	if the loss does not last for the Detection Time. This
	document proposes a method to detect dropped packets on the
	receiver. For example, if the receiver receives BFD control
	packet k at time t, but receives packet k+3 at time t+10 ms, and
	never receives packet k+1 and/or k+2, then it has experienced
	a packet loss.
      </t>
      <t indent="0" pn="section-3-2">This proposal enables BFD implementations to generate
	diagnostic information on the health of each BFD session. This information
	could be used to preempt the probability of a failure on a
	datapath that BFD was monitoring by allowing time for a
	corrective action to be taken.
      </t>
      <t indent="0" pn="section-3-3">
	In a faulty datapath scenario, an operator can use BFD health
	information to trigger the delay and loss measurement Operations, Administration, and Maintenance (OAM)
	protocol Connectivity Fault Management
	(CFM) <xref target="Y-1731" format="default" sectionFormat="of" derivedContent="Y-1731"/> or packet loss and delay measurement for MPLS networks <xref target="RFC6374" format="default" sectionFormat="of" derivedContent="RFC6374"/> to further isolate the
	issue.
      </t>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-4">
      <name slugifiedName="name-functionality">Functionality</name>
      <t indent="0" pn="section-4-1">
        BFD Stability measurement requires that a BFD Meticulous authentication
        type be configured.
      </t>
      <t indent="0" pn="section-4-2">
        The "ietf-bfd-stability" YANG data model, defined in this document, provides
        the ability to configure the BFD Stability measurement for BFD sessions by
        configuring the 'stability' flag. The 'lost‑packet‑count' leaf permits
        monitoring of stability issues as defined in this document for BFD
        sessions that have the 'stability' flag enabled.
      </t>
      <t indent="0" pn="section-4-3">
        The configuration of the BFD Stability measurement and monitoring using
        other methods than the attached YANG data model is out of scope of this
        document.
      </t>
    </section>
    <section anchor="null-auth-type" numbered="true" removeInRFC="false" toc="include" pn="section-5">
      <name slugifiedName="name-null-auth-type">NULL Auth Type</name>
      <t indent="0" pn="section-5-1">
	The NULL Auth Type, defined in this document, can be
	used to provide a meticulously increasing sequence number
	<xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/> for stability measurement.
	It provides none of the protections desired for authentication
	and is used only to provide BFD Stability services to BFD
	sessions that otherwise have no authentication in use.</t>
      <t indent="0" pn="section-5-2">If the Authentication Present (A) bit is set in the header
      as defined in <xref target="RFC5880" sectionFormat="of" section="4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5880#section-4" derivedContent="RFC5880"/>,
      and the Authentication Type field contains 6, the
      Authentication Section has the following format:
      </t>
      <figure align="left" suppress-title="false" pn="figure-1">
        <name slugifiedName="name-null-auth-type-2">NULL Auth Type</name>
        <artwork align="center" pn="section-5-3.1">
 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Auth Type   |   Auth Len    |  Auth Key ID  |   Reserved    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                        Sequence Number                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+</artwork>
      </figure>
      <t indent="0" pn="section-5-4">where:</t>
      <dl spacing="normal" newline="false" indent="3" pn="section-5-5">
        <dt pn="section-5-5.1">Auth Type (8 bits):</dt>
        <dd pn="section-5-5.2">The Authentication Type, which in this
	case is 6 (NULL).</dd>
        <dt pn="section-5-5.3">Auth Len (8 bits):</dt>
        <dd pn="section-5-5.4">The length of the NULL Auth Type in bytes (i.e., 8 bytes).</dd>
        <dt pn="section-5-5.5">Auth Key ID (8 bits):</dt>
        <dd pn="section-5-5.6">The authentication key ID in use for this
	packet. It <bcp14>MUST</bcp14> be set to zero and <bcp14>MUST</bcp14> be ignored on receipt.</dd>
        <dt pn="section-5-5.7">Reserved (8 bits):</dt>
        <dd pn="section-5-5.8">This byte <bcp14>MUST</bcp14> be set to zero on transmit
	and <bcp14>MUST</bcp14> be ignored on receipt.</dd>
        <dt pn="section-5-5.9">Sequence Number (32 bits):</dt>
        <dd pn="section-5-5.10">The sequence number for this
	packet.  This value is incremented for each successive packet
	transmitted for a session.  Implementations will use sequence
	numbers (bfd.XmitAuthSeq) as defined in <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/>.</dd>
      </dl>
      <t indent="0" pn="section-5-6">
	If bfd.AuthSeqKnown is 1, and the received Sequence Number
	field is not equal to bfd.RcvAuthSeq + 1 (in a circular number
	space), then the loss count is incremented by the difference
	between the received sequence number and bfd.RcvAuthSeq, and
	bfd.RcvAuthSeq is set to the received sequence number.
      </t>
      <t indent="0" pn="section-5-7">
	Otherwise (bfd.AuthSeqKnown is 0), bfd.AuthSeqKnown <bcp14>MUST</bcp14> be
	set to 1, and bfd.RcvAuthSeq <bcp14>MUST</bcp14> be set to the value of the
	received Sequence Number field as defined in <xref target="RFC5880" sectionFormat="comma" section="6.8.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5880#section-6.8.1" derivedContent="RFC5880"/>, and the packet <bcp14>MUST</bcp14>
	be accepted.
      </t>
      <t indent="0" pn="section-5-8">
	According to <xref target="RFC5880" sectionFormat="of" section="6.7.3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5880#section-6.7.3" derivedContent="RFC5880"/>, a receiver <bcp14>MUST</bcp14> discard a received
	packet that lies outside the range of bfd.RcvAuthSeq and
	bfd.RcvAuthSeq + (3 * Detect Multi). If it is within that
	range, but is missing a packet, it can be used to detect a
	loss. In case of NULL authentication where packets containing
	sequence numbers are accepted on receipt, an attacker with an
	unauthenticated sequence number could move the sequence number
	forward. Meanwhile, the actual BFD neighbor that continues to
	send packets will find them discarded and the session would
	drop. To prevent such an attack, the received sequence number
	<bcp14>MUST NOT</bcp14> be compared with bfd.RcvAuthSeq for the purpose of
	discarding the BFD packets.
      </t>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-6">
      <name slugifiedName="name-theory-of-operation">Theory of Operation</name>
      <t indent="0" pn="section-6-1">This mechanism allows operators to measure the loss of BFD control
      packets.  A BFD authentication type carrying a meticulously increasing
      sequence number is required to support this loss measurement.
      Authentication types that provide for meticulously increasing sequence
      numbers include:</t>
      <ul bare="false" empty="false" indent="3" spacing="normal" pn="section-6-2">
        <li pn="section-6-2.1">
          Meticulously Keyed MD5 and SHA1, defined in
          <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/>.
        </li>
        <li pn="section-6-2.2">
          Meticulously Keyed ISAAC, defined in
          <xref target="RFC9986" format="default" sectionFormat="of" derivedContent="RFC9986"/>.
        </li>
        <li pn="section-6-2.3">
          The NULL authentication mechanism, which does not provide for
          authentication but carries a meticulously increasing sequence number, is
          defined in this document.
        </li>
      </ul>
      <t indent="0" pn="section-6-3">
	Other authentication types that provide for meticulously increasing
	sequence numbers appropriate for this mechanism may be defined in future
	specifications.
      </t>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-6.1">
        <name slugifiedName="name-loss-measurement">Loss Measurement</name>
        <t indent="0" pn="section-6.1-1">
	  Loss measurement counts the number of BFD control packets
	  missed at the receiver during any Detection Time period (see <xref target="RFC5880" section="6.8.4" sectionFormat="comma" format="default" derivedLink="https://rfc-editor.org/rfc/rfc5880#section-6.8.4" derivedContent="RFC5880"/>). The loss is detected
	  by comparing the Sequence Number field in successive BFD
	  control packets. The sequence number in each successive
	  control packet generated on a BFD session by the transmitter
	  is incremented by one. This loss count can then be exposed
	  using the YANG module defined in the subsequent section. See
	  discussion on out-of-order packets in <xref target="out-of-order-packets" format="default" sectionFormat="of" derivedContent="Section 6.2"/> of this document.
        </t>
        <t indent="0" pn="section-6.1-2">
	  The first BFD Authentication Section with a non-zero
	  sequence number, in a valid BFD control packet, processed by
	  the receiver, is used for bootstrapping the logic.
        </t>
      </section>
      <section anchor="out-of-order-packets" numbered="true" removeInRFC="false" toc="include" pn="section-6.2">
        <name slugifiedName="name-out-of-order-packets">Out-of-Order Packets</name>
        <t indent="0" pn="section-6.2-1">
	  Some transmission mechanisms, for example, Link Aggregate Groups
	  (LAGs) or Equal Cost Multipath (ECMP), can result in out-of-order
	  packet delivery.  In circumstances where BFD packets are not lost, but
	  are delivered out of order, strict comparison of increasing sequence
	  numbers may result in classifying the out-of-order packets as packet
	  loss.
        </t>
        <t indent="0" pn="section-6.2-2">
	  Implementations <bcp14>MAY</bcp14> provide mechanisms wherein all expected
	  packets received across an expected interval, but delivered
	  out of order, are not considered lost packets.
        </t>
      </section>
    </section>
    <section anchor="yang-module" numbered="true" removeInRFC="false" toc="include" pn="section-7">
      <name slugifiedName="name-stability-yang-module">Stability YANG Module</name>
      <section anchor="data-model-overview" numbered="true" removeInRFC="false" toc="include" pn="section-7.1">
        <name slugifiedName="name-data-model-overview">Data Model Overview</name>
        <t indent="0" pn="section-7.1-1">
	  This YANG module augments the base BFD YANG module to add
	  attributes such as the 'stability' flag related
	  to the experiment of BFD Stability. The feature statement
	  'stability' needs to be enabled to indicate that BFD
	  Stability is supported by the implementation. In addition, a
	  loss count per-session or a Label Switched Path (LSP) for BFD packets that are lost
	  has also been added in this model.
        </t>
        <sourcecode type="yangtree" markers="false" pn="section-7.1-2">
module: ietf-bfd-stability

  augment /rt:routing/rt:control-plane-protocols
            &lt;/rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh
            /bfd-ip-sh:sessions/bfd-ip-sh:session:
    +--rw stability?   boolean {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh
            /bfd-ip-mh:session-groups/bfd-ip-mh:session-group:
    +--rw stability?   boolean {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-lag:lag
            /bfd-lag:sessions/bfd-lag:session:
    +--rw stability?   boolean {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls
            /bfd-mpls:session-groups/bfd-mpls:session-group:
    +--rw stability?   boolean {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh
            /bfd-ip-sh:sessions/bfd-ip-sh:session
            /bfd-ip-sh:session-statistics:
    +--ro lost-packet-count?   yang:counter64 {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh
            /bfd-ip-mh:session-groups/bfd-ip-mh:session-group
            /bfd-ip-mh:sessions/bfd-ip-mh:session-statistics:
    +--ro lost-packet-count?   yang:counter64 {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-lag:lag
            /bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links
            /bfd-lag:micro-bfd-ipv4/bfd-lag:session-statistics:
    +--ro lost-packet-count?   yang:counter64 {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-lag:lag
            /bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links
            /bfd-lag:micro-bfd-ipv6/bfd-lag:session-statistics:
    +--ro lost-packet-count?   yang:counter64 {stability}?
  augment /rt:routing/rt:control-plane-protocols
            /rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls
            /bfd-mpls:session-groups/bfd-mpls:session-group
            /bfd-mpls:sessions/bfd-mpls:session-statistics:
    +--ro lost-packet-count?   yang:counter64 {stability}?</sourcecode>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-7.2">
        <name slugifiedName="name-yang-module">YANG Module</name>
        <t indent="0" pn="section-7.2-1">
	  This YANG module imports modules defined in "Common YANG Data Types" <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/>, "YANG Data Model for Key Chains" <xref target="RFC8177" format="default" sectionFormat="of" derivedContent="RFC8177"/>, "A YANG Data Model for Routing Management (NMDA Version)" <xref target="RFC8349" format="default" sectionFormat="of" derivedContent="RFC8349"/>, and "YANG Data Model for Bidirectional Forwarding Detection (BFD)" <xref target="RFC9314" format="default" sectionFormat="of" derivedContent="RFC9314"/>.
        </t>
        <sourcecode type="yang" markers="true" name="ietf-bfd-stability@2026-06-29.yang" pn="section-7.2-2">
module ietf-bfd-stability {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-bfd-stability";
  prefix bfd-s;

  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 9911: Common YANG Data Types";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
       (NMDA Version)";
  }
  import ietf-bfd {
    prefix bfd;
    reference
      "RFC 9314: YANG Data Model for Bidirectional
       Forwarding Detection.";
  }
  import ietf-bfd-ip-sh {
    prefix bfd-ip-sh;
    reference
      "RFC 9314: YANG Data Model for Bidirectional
       Forwarding Detection (BFD)";
  }
  import ietf-bfd-ip-mh {
    prefix bfd-ip-mh;
    reference
      "RFC 9314: YANG Data Model for Bidirectional
       Forwarding Detection (BFD)";
  }
  import ietf-bfd-lag {
    prefix bfd-lag;
    reference
      "RFC 9314: YANG Data Model for Bidirectional
       Forwarding Detection (BFD)";
  }
  import ietf-bfd-mpls {
    prefix bfd-mpls;
    reference
      "RFC 9314: YANG Data Model for Bidirectional
       Forwarding Detection (BFD)";
  }
  import ietf-key-chain {
    prefix key-chain;
    reference
      "RFC 8177: YANG Data Model for Key Chains";
  }

  organization
    "IETF BFD Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/bfd&gt;
     WG List:  &lt;rtg-bfd@ietf.org&gt;

     Authors: Mahesh Jethanandani (mjethanandani@gmail.com)
              Ashesh Mishra (mishra.ashesh@gmail.com)
              Ankur Saxena (ankurpsaxena@gmail.com)
              Santosh Pallagatti (santosh.pallagati@gmail.com)
              Mach(Guoyi) Chen (mach.chen@huawei.com).";
  description
    "This YANG module augments the base BFD YANG data model to add
     experimental attributes related to BFD Stability.
     In particular, it adds a per-session count for BFD packets
     that are lost.

     The key words 'MUST', 'MUST NOT', 'REQUIRED', 'SHALL', 'SHALL
     NOT', 'SHOULD', 'SHOULD NOT', 'RECOMMENDED', 'NOT RECOMMENDED',
     'MAY', and 'OPTIONAL' in this document are to be interpreted as
     described in BCP 14 (RFC 2119) (RFC 8174) when, and only when,
     they appear in all capitals, as shown here.

     Copyright (c) 2026 IETF Trust and the persons identified as
     authors of the code.  All rights reserved.

     Redistribution and use in source and binary forms, with or
     without modification, is permitted pursuant to, and subject to
     the license terms contained in, the Revised BSD License set
     forth in Section 4.c of the IETF Trust's Legal Provisions
     Relating to IETF Documents
     (https://trustee.ietf.org/license-info).

     This version of this YANG module is part of RFC 9978; see the
     RFC itself for full legal notices.";

  revision 2026-06-29 {
    description
      "Initial version.";
    reference
      "RFC 9978: Bidirectional Forwarding Detection (BFD) Stability";
  }

  feature stability {
    description
      "This feature enables BFD sessions to be monitored for lost
       packets.";
  }

  identity null-auth {
    base key-chain:crypto-algorithm;
    description
      "BFD NULL Auth Type defined in this document.";
    reference
      "RFC 9978: Bidirectional Forwarding Detection (BFD) Stability";
  }

  grouping lost-packet-count {
    leaf lost-packet-count {
      if-feature "stability";
      type yang:counter64;
      description
        "Number of BFD packets that were lost, where loss is
         determined by the fact that the sequence number is
         not consecutive.  This counter should be present only if
         stability is configured.";
    }
    description
      "Grouping of statistics related to BFD Stability.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
        + "bfd-ip-sh:sessions/bfd-ip-sh:session" {
    leaf stability {
      if-feature "stability";
      type boolean;
      must "../bfd-ip-sh:authentication/bfd-ip-sh:meticulous = "
         + "'true'";
      default "false";
      description
        "If set to true, this enables the BFD session to monitor
         for stability, i.e., to watch how many packets are getting
         dropped.";
    }
    description
      "Augment the 'bfd' container to add attributes related to BFD
       Stability for IP Single Hop sessions.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh/"
        + "bfd-ip-mh:session-groups/bfd-ip-mh:session-group" {
    leaf stability {
      if-feature "stability";
      type boolean;
      must "../bfd-ip-mh:authentication/bfd-ip-mh:meticulous = "
         + "'true'";
      default "false";
      description
        "If set to true, this enables the BFD session to monitor
         for stability, i.e., to watch how many packets are getting
         dropped.";
    }
    description
      "Augment the 'bfd' container to add attributes related to BFD
       Stability for Multi Hop sessions.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/"
        + "bfd-lag:sessions/bfd-lag:session" {
    leaf stability {
      if-feature "stability";
      type boolean;
      must "../bfd-lag:authentication/bfd-lag:meticulous = "
         + "'true'";
      default "false";
      description
        "If set to true, this enables the BFD session to monitor
         for stability, i.e., to watch how many packets are getting
         dropped.";
    }
    description
      "Augment the 'bfd' container to add attributes related to BFD
       Stability for LAG session.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls/"
        + "bfd-mpls:session-groups/bfd-mpls:session-group" {
    leaf stability {
      if-feature "stability";
      type boolean;
      must "../bfd-mpls:authentication/bfd-mpls:meticulous = "
         + "'true'";
      default "false";
      description
        "If set to true, this enables the BFD session to monitor
         for stability, i.e., to watch how many packets are getting
         dropped.";
    }
    description
      "Augment the 'bfd' container to add attributes related to BFD
       Stability for MPLS.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-ip-sh:ip-sh/"
        + "bfd-ip-sh:sessions/bfd-ip-sh:session/"
        + "bfd-ip-sh:session-statistics" {
    uses lost-packet-count;
    description
      "Augment the 'bfd' container to add statistics related to BFD
       Stability for IP Single Hop sessions.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-ip-mh:ip-mh/"
        + "bfd-ip-mh:session-groups/bfd-ip-mh:session-group/"
        + "bfd-ip-mh:sessions/bfd-ip-mh:session-statistics" {
    uses lost-packet-count;
    description
      "Augment the 'bfd' container to add statistics related to BFD
       Stability for IP Multi Hop sessions.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/"
        + "bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links/"
        + "bfd-lag:micro-bfd-ipv4/bfd-lag:session-statistics" {
    uses lost-packet-count;
    description
      "Augment the 'bfd' container to add statistics related to BFD
       Stability for Micro BFD sessions for IPv4.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-lag:lag/"
        + "bfd-lag:sessions/bfd-lag:session/bfd-lag:member-links/"
        + "bfd-lag:micro-bfd-ipv6/bfd-lag:session-statistics" {
    uses lost-packet-count;
    description
      "Augment the 'bfd' container to add statistics related to BFD
       Stability for Micro BFD sessions for IPv6.";
  }

  augment "/rt:routing/rt:control-plane-protocols/"
        + "rt:control-plane-protocol/bfd:bfd/bfd-mpls:mpls/"
        + "bfd-mpls:session-groups/bfd-mpls:session-group/"
        + "bfd-mpls:sessions/bfd-mpls:session-statistics" {
    uses lost-packet-count;
    description
      "Augment the 'bfd' container to add statistics related to BFD
       Stability for MPLS sessions.";
  }
}</sourcecode>
      </section>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-8">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-8-1">This document registers a new authentication type in the "BFD Authentication Types" registry, 
      a new URI in the "ns" registry within the "IETF XML"
      registry group <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>, and a YANG module in the "YANG Module Names" registry.</t>
      <section anchor="auth-type" numbered="true" removeInRFC="false" toc="include" pn="section-8.1">
        <name slugifiedName="name-auth-type">Auth Type</name>
        <t indent="0" pn="section-8.1-1">
	  IANA has registered the following BFD Auth Type in the "BFD Authentication Types" registry:
        </t>
        <dl spacing="compact" newline="false" indent="3" pn="section-8.1-2">
          <dt pn="section-8.1-2.1">Address:</dt>
          <dd pn="section-8.1-2.2">6</dd>
          <dt pn="section-8.1-2.3">BFD Authentication Type Name:</dt>
          <dd pn="section-8.1-2.4">NULL</dd>
          <dt pn="section-8.1-2.5">Reference</dt>
          <dd pn="section-8.1-2.6">RFC 9978</dd>
        </dl>
      </section>
      <section anchor="ietf-xml-registry" numbered="true" removeInRFC="false" toc="include" pn="section-8.2">
        <name slugifiedName="name-ietf-xml-registry">IETF XML Registry</name>
        <t indent="0" pn="section-8.2-1">IANA has registered the following URI in the "ns" registry <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>:</t>
        <dl spacing="compact" newline="false" indent="3" pn="section-8.2-2">
          <dt pn="section-8.2-2.1">URI:</dt>
          <dd pn="section-8.2-2.2">urn:ietf:params:xml:ns:yang:ietf-bfd-stability</dd>
          <dt pn="section-8.2-2.3">Registrant Contact:</dt>
          <dd pn="section-8.2-2.4">The IESG</dd>
          <dt pn="section-8.2-2.5">XML:</dt>
          <dd pn="section-8.2-2.6">N/A; the requested URI is an XML namespace.</dd>
        </dl>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-8.3">
        <name slugifiedName="name-the-yang-module-names-regis">The "YANG Module Names" Registry</name>
        <t indent="0" pn="section-8.3-1">
	  IANA has registered the following YANG module in the "YANG Module
	  Names" registry <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/>: 
        </t>
        <dl spacing="compact" newline="false" indent="3" pn="section-8.3-2">
          <dt pn="section-8.3-2.1">Name:</dt>
          <dd pn="section-8.3-2.2">ietf-bfd-stability</dd>
          <dt pn="section-8.3-2.3">Namespace:</dt>
          <dd pn="section-8.3-2.4">urn:ietf:params:xml:ns:yang:ietf-bfd-stability</dd>
          <dt pn="section-8.3-2.5">Prefix:</dt>
          <dd pn="section-8.3-2.6">bfd-s</dd>
          <dt pn="section-8.3-2.7">Reference:</dt>
          <dd pn="section-8.3-2.8">RFC 9978</dd>
        </dl>
      </section>
    </section>
    <section numbered="true" removeInRFC="false" toc="include" pn="section-9">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-9.1">
        <name slugifiedName="name-bfd-null-auth-type-security">BFD NULL Auth Type Security Considerations</name>
        <t indent="0" pn="section-9.1-1">
	  The use of a BFD authentication mechanism that protects the
	  BFD packets is <bcp14>RECOMMENDED</bcp14>.
        </t>
        <t indent="0" pn="section-9.1-2">
	  The security considerations of <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/> for
	  unauthenticated BFD all apply to the new NULL Auth
	  Type.  The NULL Auth Type, defined in this
	  document, provides none of the properties desired for
	  authenticating BFD packets.  It is intended to provide BFD
	  sessions that otherwise would not use authentication with a
	  sequence number that can be used for the purpose of detecting
	  packet loss.
        </t>
        <t indent="0" pn="section-9.1-3">
	  The lack of a computed AuthKey/Digest over the BFD packet,
	  but the presence of a sequence number, makes this
	  authentication type susceptible to injection attacks.  BFD
	  without authentication is vulnerable to session resets; the
	  NULL Auth Type does not change this.</t>
        <t indent="0" pn="section-9.1-4">
	  When the NULL Auth Type is used for BFD Stability
	  purposes, maliciously injected packets that do not reset the
	  BFD session can resemble high packet loss. Sessions such as
	  multi-hop routed paths, tunnels without authentication, or
	  MPLS Label Switched Paths (LSPs), therefore, have security guarantees that are
	  identical to situations where BFD is run without
	  authentication.
        </t>
      </section>
      <section numbered="true" removeInRFC="false" toc="include" pn="section-9.2">
        <name slugifiedName="name-yang-security-consideration">YANG Security Considerations</name>
        <t indent="0" pn="section-9.2-1">
	  This section is modeled after the template described in <xref target="RFC9907" sectionFormat="of" section="3.7.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9907#section-3.7.1" derivedContent="RFC9907"/>.
        </t>
        <t indent="0" pn="section-9.2-2">
	  The "ietf-bfd-stability" YANG module defines a data model that is
	  designed to be accessed via YANG-based management protocols, such as
	  Network Configuration Protocol (NETCONF) <xref target="RFC6241" format="default" sectionFormat="of" derivedContent="RFC6241"/> and RESTCONF
	  <xref target="RFC8040" format="default" sectionFormat="of" derivedContent="RFC8040"/>. These YANG-based management protocols (1) have to use a
	  secure transport layer (e.g., Secure Shell (SSH) <xref target="RFC4252" format="default" sectionFormat="of" derivedContent="RFC4252"/>, TLS <xref target="RFC8446" format="default" sectionFormat="of" derivedContent="RFC8446"/>, and QUIC
	  <xref target="RFC9000" format="default" sectionFormat="of" derivedContent="RFC9000"/>) and (2) have to use mutual authentication.
        </t>
        <t indent="0" pn="section-9.2-3">
	  The Network Configuration Access Control Model (NACM) <xref target="RFC8341" format="default" sectionFormat="of" derivedContent="RFC8341"/> provides the means to restrict access for
	  particular NETCONF or RESTCONF users to a preconfigured subset of
	  all available NETCONF or RESTCONF protocol operations and content.
        </t>
        <t indent="0" pn="section-9.2-4">
	  The YANG module does not define any
	  writable/creatable/deletable data nodes that can have an
	  adverse impact on a BFD session.
        </t>
        <t indent="0" pn="section-9.2-5">
   Some of the readable data nodes in this YANG module may be considered                                            
   sensitive or vulnerable in some network environments. It is thus important to                                    
   control read access (e.g., via get, get-config, or notification) to these data                                   
   nodes. Specifically, the following subtrees and data nodes have particular                                       
   sensitivities/vulnerabilities: 
        </t>
        <t indent="0" pn="section-9.2-6">
	  The model defines a read-only node to indicate the number of
	  packets that were lost. Access to this information may allow
	  a malicious user information on which links are experiencing
	  issues. In addition, and as stated in <xref target="out-of-order-packets" format="default" sectionFormat="of" derivedContent="Section 6.2"/>,
	  on links such as LAG or ECMP, there is a possibility of
	  packets being delivered out-of-order. A strict comparison of
	  increasing sequence numbers may result in classifying those
	  out-of-order packets as packet loss.
        </t>
        <t indent="0" pn="section-9.2-7">The YANG module does not define any RPC operations.</t>
      </section>
    </section>
  </middle>
  <back>
    <references pn="section-10">
      <name slugifiedName="name-references">References</name>
      <references pn="section-10.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t indent="0">In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC3688" target="https://www.rfc-editor.org/info/rfc3688" quoteTitle="true" derivedAnchor="RFC3688">
          <front>
            <title>The IETF XML Registry</title>
            <author fullname="M. Mealling" initials="M." surname="Mealling"/>
            <date month="January" year="2004"/>
            <abstract>
              <t indent="0">This document describes an IANA maintained registry for IETF standards which use Extensible Markup Language (XML) related items such as Namespaces, Document Type Declarations (DTDs), Schemas, and Resource Description Framework (RDF) Schemas.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="81"/>
          <seriesInfo name="RFC" value="3688"/>
          <seriesInfo name="DOI" value="10.17487/RFC3688"/>
        </reference>
        <reference anchor="RFC4252" target="https://www.rfc-editor.org/info/rfc4252" quoteTitle="true" derivedAnchor="RFC4252">
          <front>
            <title>The Secure Shell (SSH) Authentication Protocol</title>
            <author fullname="T. Ylonen" initials="T." surname="Ylonen"/>
            <author fullname="C. Lonvick" initials="C." role="editor" surname="Lonvick"/>
            <date month="January" year="2006"/>
            <abstract>
              <t indent="0">The Secure Shell Protocol (SSH) is a protocol for secure remote login and other secure network services over an insecure network. This document describes the SSH authentication protocol framework and public key, password, and host-based client authentication methods. Additional authentication methods are described in separate documents. The SSH authentication protocol runs on top of the SSH transport layer protocol and provides a single authenticated tunnel for the SSH connection protocol. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4252"/>
          <seriesInfo name="DOI" value="10.17487/RFC4252"/>
        </reference>
        <reference anchor="RFC5880" target="https://www.rfc-editor.org/info/rfc5880" quoteTitle="true" derivedAnchor="RFC5880">
          <front>
            <title>Bidirectional Forwarding Detection (BFD)</title>
            <author fullname="D. Katz" initials="D." surname="Katz"/>
            <author fullname="D. Ward" initials="D." surname="Ward"/>
            <date month="June" year="2010"/>
            <abstract>
              <t indent="0">This document describes a protocol intended to detect faults in the bidirectional path between two forwarding engines, including interfaces, data link(s), and to the extent possible the forwarding engines themselves, with potentially very low latency. It operates independently of media, data protocols, and routing protocols. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="5880"/>
          <seriesInfo name="DOI" value="10.17487/RFC5880"/>
        </reference>
        <reference anchor="RFC6020" target="https://www.rfc-editor.org/info/rfc6020" quoteTitle="true" derivedAnchor="RFC6020">
          <front>
            <title>YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)</title>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <date month="October" year="2010"/>
            <abstract>
              <t indent="0">YANG is a data modeling language used to model configuration and state data manipulated by the Network Configuration Protocol (NETCONF), NETCONF remote procedure calls, and NETCONF notifications. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6020"/>
          <seriesInfo name="DOI" value="10.17487/RFC6020"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8341" target="https://www.rfc-editor.org/info/rfc8341" quoteTitle="true" derivedAnchor="RFC8341">
          <front>
            <title>Network Configuration Access Control Model</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">The standardization of network configuration interfaces for use with the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires a structured and secure operating environment that promotes human usability and multi-vendor interoperability. There is a need for standard mechanisms to restrict NETCONF or RESTCONF protocol access for particular users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. This document defines such an access control model.</t>
              <t indent="0">This document obsoletes RFC 6536.</t>
            </abstract>
          </front>
          <seriesInfo name="STD" value="91"/>
          <seriesInfo name="RFC" value="8341"/>
          <seriesInfo name="DOI" value="10.17487/RFC8341"/>
        </reference>
        <reference anchor="RFC8349" target="https://www.rfc-editor.org/info/rfc8349" quoteTitle="true" derivedAnchor="RFC8349">
          <front>
            <title>A YANG Data Model for Routing Management (NMDA Version)</title>
            <author fullname="L. Lhotka" initials="L." surname="Lhotka"/>
            <author fullname="A. Lindem" initials="A." surname="Lindem"/>
            <author fullname="Y. Qu" initials="Y." surname="Qu"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document specifies three YANG modules and one submodule. Together, they form the core routing data model that serves as a framework for configuring and managing a routing subsystem. It is expected that these modules will be augmented by additional YANG modules defining data models for control-plane protocols, route filters, and other functions. The core routing data model provides common building blocks for such extensions -- routes, Routing Information Bases (RIBs), and control-plane protocols.</t>
              <t indent="0">The YANG modules in this document conform to the Network Management Datastore Architecture (NMDA). This document obsoletes RFC 8022.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8349"/>
          <seriesInfo name="DOI" value="10.17487/RFC8349"/>
        </reference>
        <reference anchor="RFC9314" target="https://www.rfc-editor.org/info/rfc9314" quoteTitle="true" derivedAnchor="RFC9314">
          <front>
            <title>YANG Data Model for Bidirectional Forwarding Detection (BFD)</title>
            <author fullname="M. Jethanandani" initials="M." role="editor" surname="Jethanandani"/>
            <author fullname="R. Rahman" initials="R." role="editor" surname="Rahman"/>
            <author fullname="L. Zheng" initials="L." role="editor" surname="Zheng"/>
            <author fullname="S. Pallagatti" initials="S." surname="Pallagatti"/>
            <author fullname="G. Mirsky" initials="G." surname="Mirsky"/>
            <date month="September" year="2022"/>
            <abstract>
              <t indent="0">This document defines a YANG data model that can be used to configure and manage Bidirectional Forwarding Detection (BFD).</t>
              <t indent="0">The YANG modules in this document conform to the Network Management Datastore Architecture (NMDA) (RFC 8342). This document updates "YANG Data Model for Bidirectional Forwarding Detection (BFD)" (RFC 9127).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9314"/>
          <seriesInfo name="DOI" value="10.17487/RFC9314"/>
        </reference>
        <reference anchor="RFC9911" target="https://www.rfc-editor.org/info/rfc9911" quoteTitle="true" derivedAnchor="RFC9911">
          <front>
            <title>Common YANG Data Types</title>
            <author fullname="J. Schönwälder" initials="J." role="editor" surname="Schönwälder"/>
            <date month="December" year="2025"/>
            <abstract>
              <t indent="0">This document defines a collection of common data types to be used with the YANG data modeling language. It includes several new type definitions and obsoletes RFC 6991.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9911"/>
          <seriesInfo name="DOI" value="10.17487/RFC9911"/>
        </reference>
      </references>
      <references pn="section-10.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="RFC6241" target="https://www.rfc-editor.org/info/rfc6241" quoteTitle="true" derivedAnchor="RFC6241">
          <front>
            <title>Network Configuration Protocol (NETCONF)</title>
            <author fullname="R. Enns" initials="R." role="editor" surname="Enns"/>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <author fullname="J. Schoenwaelder" initials="J." role="editor" surname="Schoenwaelder"/>
            <author fullname="A. Bierman" initials="A." role="editor" surname="Bierman"/>
            <date month="June" year="2011"/>
            <abstract>
              <t indent="0">The Network Configuration Protocol (NETCONF) defined in this document provides mechanisms to install, manipulate, and delete the configuration of network devices. It uses an Extensible Markup Language (XML)-based data encoding for the configuration data as well as the protocol messages. The NETCONF protocol operations are realized as remote procedure calls (RPCs). This document obsoletes RFC 4741. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6241"/>
          <seriesInfo name="DOI" value="10.17487/RFC6241"/>
        </reference>
        <reference anchor="RFC6374" target="https://www.rfc-editor.org/info/rfc6374" quoteTitle="true" derivedAnchor="RFC6374">
          <front>
            <title>Packet Loss and Delay Measurement for MPLS Networks</title>
            <author fullname="D. Frost" initials="D." surname="Frost"/>
            <author fullname="S. Bryant" initials="S." surname="Bryant"/>
            <date month="September" year="2011"/>
            <abstract>
              <t indent="0">Many service provider service level agreements (SLAs) depend on the ability to measure and monitor performance metrics for packet loss and one-way and two-way delay, as well as related metrics such as delay variation and channel throughput. This measurement capability also provides operators with greater visibility into the performance characteristics of their networks, thereby facilitating planning, troubleshooting, and network performance evaluation. This document specifies protocol mechanisms to enable the efficient and accurate measurement of these performance metrics in MPLS networks. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6374"/>
          <seriesInfo name="DOI" value="10.17487/RFC6374"/>
        </reference>
        <reference anchor="RFC8040" target="https://www.rfc-editor.org/info/rfc8040" quoteTitle="true" derivedAnchor="RFC8040">
          <front>
            <title>RESTCONF Protocol</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <date month="January" year="2017"/>
            <abstract>
              <t indent="0">This document describes an HTTP-based protocol that provides a programmatic interface for accessing data defined in YANG, using the datastore concepts defined in the Network Configuration Protocol (NETCONF).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8040"/>
          <seriesInfo name="DOI" value="10.17487/RFC8040"/>
        </reference>
        <reference anchor="RFC8177" target="https://www.rfc-editor.org/info/rfc8177" quoteTitle="true" derivedAnchor="RFC8177">
          <front>
            <title>YANG Data Model for Key Chains</title>
            <author fullname="A. Lindem" initials="A." role="editor" surname="Lindem"/>
            <author fullname="Y. Qu" initials="Y." surname="Qu"/>
            <author fullname="D. Yeung" initials="D." surname="Yeung"/>
            <author fullname="I. Chen" initials="I." surname="Chen"/>
            <author fullname="J. Zhang" initials="J." surname="Zhang"/>
            <date month="June" year="2017"/>
            <abstract>
              <t indent="0">This document describes the key chain YANG data model. Key chains are commonly used for routing protocol authentication and other applications requiring symmetric keys. A key chain is a list containing one or more elements containing a Key ID, key string, send/accept lifetimes, and the associated authentication or encryption algorithm. By properly overlapping the send and accept lifetimes of multiple key chain elements, key strings and algorithms may be gracefully updated. By representing them in a YANG data model, key distribution can be automated.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8177"/>
          <seriesInfo name="DOI" value="10.17487/RFC8177"/>
        </reference>
        <reference anchor="RFC8446" target="https://www.rfc-editor.org/info/rfc8446" quoteTitle="true" derivedAnchor="RFC8446">
          <front>
            <title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
            <author fullname="E. Rescorla" initials="E." surname="Rescorla"/>
            <date month="August" year="2018"/>
            <abstract>
              <t indent="0">This document specifies version 1.3 of the Transport Layer Security (TLS) protocol. TLS allows client/server applications to communicate over the Internet in a way that is designed to prevent eavesdropping, tampering, and message forgery.</t>
              <t indent="0">This document updates RFCs 5705 and 6066, and obsoletes RFCs 5077, 5246, and 6961. This document also specifies new requirements for TLS 1.2 implementations.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8446"/>
          <seriesInfo name="DOI" value="10.17487/RFC8446"/>
        </reference>
        <reference anchor="RFC9000" target="https://www.rfc-editor.org/info/rfc9000" quoteTitle="true" derivedAnchor="RFC9000">
          <front>
            <title>QUIC: A UDP-Based Multiplexed and Secure Transport</title>
            <author fullname="J. Iyengar" initials="J." role="editor" surname="Iyengar"/>
            <author fullname="M. Thomson" initials="M." role="editor" surname="Thomson"/>
            <date month="May" year="2021"/>
            <abstract>
              <t indent="0">This document defines the core of the QUIC transport protocol. QUIC provides applications with flow-controlled streams for structured communication, low-latency connection establishment, and network path migration. QUIC includes security measures that ensure confidentiality, integrity, and availability in a range of deployment circumstances. Accompanying documents describe the integration of TLS for key negotiation, loss detection, and an exemplary congestion control algorithm.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9000"/>
          <seriesInfo name="DOI" value="10.17487/RFC9000"/>
        </reference>
        <reference anchor="RFC9907" target="https://www.rfc-editor.org/info/rfc9907" quoteTitle="true" derivedAnchor="RFC9907">
          <front>
            <title>Guidelines for Authors and Reviewers of Documents Containing YANG Data Models</title>
            <author fullname="A. Bierman" initials="A." surname="Bierman"/>
            <author fullname="M. Boucadair" initials="M." role="editor" surname="Boucadair"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <date month="March" year="2026"/>
            <abstract>
              <t indent="0">This document provides guidelines for authors and reviewers of specifications containing YANG data models, including IANA-maintained YANG modules. Recommendations and procedures are defined, which are intended to increase interoperability and usability of Network Configuration Protocol (NETCONF) and RESTCONF protocol implementations that utilize YANG modules.</t>
              <t indent="0">This document obsoletes RFC 8407; it also updates RFC 8126 by providing additional guidelines for writing the IANA considerations for RFCs that specify IANA-maintained YANG modules.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="216"/>
          <seriesInfo name="RFC" value="9907"/>
          <seriesInfo name="DOI" value="10.17487/RFC9907"/>
        </reference>
        <reference anchor="RFC9986" target="https://www.rfc-editor.org/info/rfc9986" quoteTitle="true" derivedAnchor="RFC9986">
          <front>
            <title>Meticulous Keyed ISAAC for Bidirectional Forwarding Detection (BFD) Optimized Authentication</title>
            <author fullname="A. DeKok" initials="A." surname="DeKok"/>
            <author fullname="M. Jethanandani" initials="M." surname="Jethanandani"/>
            <author fullname="S. Agarwal" initials="S." surname="Agarwal"/>
            <author fullname="A. Mishra" initials="A." surname="Mishra"/>
            <author fullname="J. Haas" initials="J." surname="Haas"/>
            <date month="June" year="2026"/>
            <abstract>
              <t indent="0">This document describes a Bidirectional Forwarding Detection (BFD) Optimized Authentication Mode known as Meticulous Keyed ISAAC Authentication. This mode can be used to authenticate some BFD packets with less CPU time cost than using MD5 or SHA-1 with the trade-off of decreased security. This mechanism cannot be used to signal state changes, but it can be used to maintain a session in the Up state.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9986"/>
          <seriesInfo name="DOI" value="10.17487/RFC9986"/>
        </reference>
        <reference anchor="Y-1731" target="https://www.itu.int/rec/T-REC-G.8013-202306-I/en" quoteTitle="true" derivedAnchor="Y-1731">
          <front>
            <title>Operation, administration and maintenance (OAM) functions and mechanisms for Ethernet-based networks</title>
            <author>
              <organization showOnFrontPage="true">ITU-T</organization>
            </author>
            <date month="June" year="2023"/>
          </front>
          <seriesInfo name="ITU-T Recommendation" value="G.8013/Y.1731"/>
        </reference>
      </references>
    </references>
    <section anchor="experimental-status" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.a">
      <name slugifiedName="name-experimental-status">Experimental Status</name>
      <t indent="0" pn="section-appendix.a-1">
	This document describes an experiment that will present a
	candidate solution to predict whether a given BFD session <xref target="RFC5880" format="default" sectionFormat="of" derivedContent="RFC5880"/> will continue to be
	stable. The experiment will use the packet lost count and the
	'receive-packet-count' defined in "YANG Data Model for Bidirectional Forwarding Detection (BFD)" <xref target="RFC9314" format="default" sectionFormat="of" derivedContent="RFC9314"/> to determine how stable the
	session is. The reason this document is on the Experimental track is because there are no known
	implementations or proof of concept. As a result, the authors
	are not clear whether a simple lost count is enough to predict
	the stability or if there will be a need to be a more granular
	count.
      </t>
      <t indent="0" pn="section-appendix.a-2">
	This document is classified as Experimental and is not part of
	the IETF Standards Track.
      </t>
    </section>
    <section anchor="examples" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.b">
      <name slugifiedName="name-examples">Examples</name>
      <t indent="0" pn="section-appendix.b-1">
	This section tries to show some examples of how the model can
	be configured for stability.
      </t>
      <section anchor="example-a.1.1" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.b.1">
        <name slugifiedName="name-single-hop-bfd-configuratio">Single Hop BFD Configuration</name>
        <t indent="0" pn="section-appendix.b.1-1">
          This example demonstrates how a single hop BFD session can
          be configured to enable monitoring of a session for
          stability.
        </t>
        <sourcecode markers="false" pn="section-appendix.b.1-2">
=============== NOTE: '\' line wrapping per RFC 8792 ===============

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;key-chains
    xmlns="urn:ietf:params:xml:ns:yang:ietf-key-chain"
    xmlns:kc="urn:ietf:params:xml:ns:yang:ietf-key-chain"&gt;
  &lt;key-chain&gt;
    &lt;name&gt;bfd-stability-config&lt;/name&gt;
    &lt;description&gt;"An example for BFD Stability configuration."&lt;/de\
scription&gt;
    &lt;key&gt;
      &lt;key-id&gt;55&lt;/key-id&gt;
      &lt;lifetime&gt;
        &lt;send-lifetime&gt;
          &lt;start-date-time&gt;2025-01-01T00:00:00Z&lt;/start-date-time&gt;
          &lt;end-date-time&gt;2025-02-01T00:00:00Z&lt;/end-date-time&gt;
        &lt;/send-lifetime&gt;
        &lt;accept-lifetime&gt;
          &lt;start-date-time&gt;2024-12-31T23:59:55Z&lt;/start-date-time&gt;
          &lt;end-date-time&gt;2025-02-01T00:00:05Z&lt;/end-date-time&gt;
        &lt;/accept-lifetime&gt;
      &lt;/lifetime&gt;
      &lt;crypto-algorithm&gt;kc:sha-1&lt;/crypto-algorithm&gt;
    &lt;/key&gt;
  &lt;/key-chain&gt;
&lt;/key-chains&gt;
&lt;interfaces
    xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"
    xmlns:if-type="urn:ietf:params:xml:ns:yang:iana-if-type"&gt;
  &lt;interface&gt;
    &lt;name&gt;eth0&lt;/name&gt;
    &lt;type&gt;if-type:ethernetCsmacd&lt;/type&gt;
  &lt;/interface&gt;
&lt;/interfaces&gt;
&lt;routing
    xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"
    xmlns:bfd-types="urn:ietf:params:xml:ns:yang:ietf-bfd-types"
    xmlns:stability="urn:ietf:params:xml:ns:yang:ietf-bfd-stability\
"&gt;
  &lt;control-plane-protocols&gt;
    &lt;control-plane-protocol&gt;
      &lt;type&gt;bfd-types:bfdv1&lt;/type&gt;
      &lt;name&gt;name:BFD&lt;/name&gt;
      &lt;bfd xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd"&gt;
        &lt;ip-sh xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh"&gt;
          &lt;sessions&gt;
            &lt;session&gt;
              &lt;interface&gt;eth0&lt;/interface&gt;
              &lt;dest-addr&gt;2001:db8:0:113::101&lt;/dest-addr&gt;
              &lt;desired-min-tx-interval&gt;10000&lt;/desired-min-tx-interv\
al&gt;
              &lt;required-min-rx-interval&gt;
                10000
              &lt;/required-min-rx-interval&gt;
              &lt;stability:stability&gt;true&lt;/stability:stability&gt;
              &lt;authentication&gt;
                &lt;key-chain&gt;bfd-stability-config&lt;/key-chain&gt;
                &lt;meticulous&gt;true&lt;/meticulous&gt;
              &lt;/authentication&gt;
            &lt;/session&gt;
          &lt;/sessions&gt;
        &lt;/ip-sh&gt;
      &lt;/bfd&gt;
    &lt;/control-plane-protocol&gt;
  &lt;/control-plane-protocols&gt;
&lt;/routing&gt;</sourcecode>
      </section>
      <section anchor="example-a.1.2" numbered="true" removeInRFC="false" toc="include" pn="section-appendix.b.2">
        <name slugifiedName="name-use-of-the-null-auth-type">Use of the NULL Auth Type</name>
        <t indent="0" pn="section-appendix.b.2-1">
          This example demonstrates how to configure the NULL Auth Type
          to enable monitoring of a session for stability.
        </t>
        <sourcecode markers="false" pn="section-appendix.b.2-2">
=============== NOTE: '\' line wrapping per RFC 8792 ===============

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;key-chains
    xmlns="urn:ietf:params:xml:ns:yang:ietf-key-chain"
    xmlns:stability="urn:ietf:params:xml:ns:yang:ietf-bfd-stability\
"&gt;
  &lt;key-chain&gt;
    &lt;name&gt;bfd-stability-config&lt;/name&gt;
    &lt;description&gt;"An example for BFD Stability configuration."&lt;/des\
cription&gt;
    &lt;key&gt;
      &lt;key-id&gt;55&lt;/key-id&gt;
      &lt;lifetime&gt;
        &lt;send-lifetime&gt;
          &lt;start-date-time&gt;2025-01-01T00:00:00Z&lt;/start-date-time&gt;
          &lt;end-date-time&gt;2025-02-01T00:00:00Z&lt;/end-date-time&gt;
        &lt;/send-lifetime&gt;
        &lt;accept-lifetime&gt;
          &lt;start-date-time&gt;2024-12-31T23:59:55Z&lt;/start-date-time&gt;
          &lt;end-date-time&gt;2025-02-01T00:00:05Z&lt;/end-date-time&gt;
        &lt;/accept-lifetime&gt;
      &lt;/lifetime&gt;
      &lt;crypto-algorithm&gt;stability:null-auth&lt;/crypto-algorithm&gt;
    &lt;/key&gt;
  &lt;/key-chain&gt;
&lt;/key-chains&gt;
&lt;interfaces
    xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"
    xmlns:if-type="urn:ietf:params:xml:ns:yang:iana-if-type"&gt;
  &lt;interface&gt;
    &lt;name&gt;eth0&lt;/name&gt;
    &lt;type&gt;if-type:ethernetCsmacd&lt;/type&gt;
  &lt;/interface&gt;
&lt;/interfaces&gt;
&lt;routing
    xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"
    xmlns:bfd-types="urn:ietf:params:xml:ns:yang:ietf-bfd-types"
    xmlns:stability="urn:ietf:params:xml:ns:yang:ietf-bfd-stability\
"&gt;
  &lt;control-plane-protocols&gt;
    &lt;control-plane-protocol&gt;
      &lt;type&gt;bfd-types:bfdv1&lt;/type&gt;
      &lt;name&gt;name:BFD&lt;/name&gt;
      &lt;bfd xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd"&gt;
        &lt;ip-sh xmlns="urn:ietf:params:xml:ns:yang:ietf-bfd-ip-sh"&gt;
          &lt;sessions&gt;
            &lt;session&gt;
              &lt;interface&gt;eth0&lt;/interface&gt;
              &lt;dest-addr&gt;2001:db8:0:113::101&lt;/dest-addr&gt;
              &lt;desired-min-tx-interval&gt;10000&lt;/desired-min-tx-interv\
al&gt;
              &lt;required-min-rx-interval&gt;
                10000
              &lt;/required-min-rx-interval&gt;
              &lt;stability:stability&gt;true&lt;/stability:stability&gt;
              &lt;authentication&gt;
                &lt;key-chain&gt;bfd-stability-config&lt;/key-chain&gt;
                &lt;meticulous&gt;true&lt;/meticulous&gt;
              &lt;/authentication&gt;
            &lt;/session&gt;
          &lt;/sessions&gt;
        &lt;/ip-sh&gt;
      &lt;/bfd&gt;
    &lt;/control-plane-protocol&gt;
  &lt;/control-plane-protocols&gt;
&lt;/routing&gt;</sourcecode>
      </section>
    </section>
    <section numbered="false" removeInRFC="false" toc="include" pn="section-appendix.c">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.c-1">
	The authors would like to thank <contact fullname="Nobo Akiya"/>, <contact fullname="Dileep Singh"/>, <contact fullname="Basil Saji"/>, <contact fullname="Sagar Soni"/>, <contact fullname="Albert Fu"/>, <contact fullname="Peng Fang"/>, and <contact fullname="Mallik Mudigonda"/> for
	contributing to this document. Thanks to <contact fullname="Christian  Huitema"/> for the SECDIR review and <contact fullname="Ebben Aries"/> for
	the YANG Doctors review.
      </t>
      <t indent="0" pn="section-appendix.c-2">
	Thanks to <contact fullname="Reshad Rehman"/> for being the shepherd
	of the document.
      </t>
    </section>
    <section numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-contributors">Contributors</name>
      <t indent="0" pn="section-appendix.d-1">
	The authors would like to acknowledge <contact fullname="Jeff  Haas"/> as a contributor to this document. His contribution lead
	to significant improvements of the document. In addition,
	<contact fullname="Manav Bhatia"/> contributed to this document.
      </t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.e">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Ashesh Mishra" initials="A." surname="Mishra">
        <organization showOnFrontPage="true">Aalyria Technologies</organization>
        <address>
          <email>ashesh@aalyria.com</email>
        </address>
      </author>
      <author fullname="Mahesh Jethanandani" initials="M." surname="Jethanandani">
        <organization showOnFrontPage="true">Arrcus, Inc.</organization>
        <address>
          <postal>
            <country>United States of America</country>
          </postal>
          <email>mjethanandani@gmail.com</email>
        </address>
      </author>
      <author fullname="Ankur Saxena" initials="A." surname="Saxena">
        <organization showOnFrontPage="true">Ciena Corporation</organization>
        <address>
          <postal>
            <street>3939 North 1st Street</street>
            <city>San Jose</city>
            <region>CA</region>
            <code>95134</code>
            <country>United States of America</country>
          </postal>
          <email>ankurpsaxena@gmail.com</email>
          <uri>www.ciena.com</uri>
        </address>
      </author>
      <author fullname="Santosh Pallagatti" initials="S." surname="Pallagatti">
        <organization showOnFrontPage="true">Zscaler</organization>
        <address>
          <postal>
            <city>Bangalore</city>
            <region>Karnataka</region>
            <code>560103</code>
            <country>India</country>
          </postal>
          <email>santosh.pallagatti@gmail.com</email>
        </address>
      </author>
      <author fullname="Mach(Guoyi) Chen" initials="M." surname="Chen">
        <organization showOnFrontPage="true">Huawei</organization>
        <address>
          <email>mach.chen@huawei.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
