<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" ipr="trust200902" docName="draft-ietf-mboned-amt-yang-09" number="10083" category="std" consensus="true" submissionType="IETF" xml:lang="en" tocInclude="true" sortRefs="true" symRefs="true" prepTime="2026-11-29T21:46:32" indexInclude="true" scripts="Common,Latin" tocDepth="3">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-mboned-amt-yang-09" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc10083" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="YANG Data Model for AMT">A YANG Data Model for Automatic Multicast Tunneling (AMT)</title>
    <seriesInfo name="RFC" value="10083" stream="IETF"/>
    <author initials="Y." surname="Liu" fullname="Yisong Liu" role="editor">
      <organization showOnFrontPage="true">China Mobile</organization>
      <address>
        <postal>
          <street>32 Xuanwumen West Street</street>
          <city>Beijing</city>
          <region>Xicheng District</region>
          <code>100053</code>
          <country>China</country>
        </postal>
        <email>liuyisong@chinamobile.com</email>
      </address>
    </author>
    <author initials="C." surname="Lin" fullname="Changwang Lin" role="editor">
      <organization showOnFrontPage="true">New H3C Technologies</organization>
      <address>
        <postal>
          <street>8 Yongjia North Road</street>
          <city>Beijing</city>
          <region>Haidian District</region>
          <code>100094</code>
          <country>China</country>
        </postal>
        <email>linchangwang.04414@h3c.com</email>
      </address>
    </author>
    <author initials="Z." surname="Zhang" fullname="Zheng (Sandy) Zhang">
      <organization showOnFrontPage="true">ZTE Corporation</organization>
      <address>
        <postal>
          <country>China</country>
        </postal>
        <email>zhang.zheng@zte.com.cn</email>
      </address>
    </author>
    <author initials="X." surname="Geng" fullname="Xuesong Geng">
      <organization showOnFrontPage="true">Huawei Technologies</organization>
      <address>
        <postal>
          <country>China</country>
        </postal>
        <email>gengxuesong@huawei.com</email>
      </address>
    </author>
    <author initials="V." surname="Kumar Nagaraj" fullname="Vinod Kumar Nagaraj">
      <organization showOnFrontPage="true">Juniper Networks</organization>
      <address>
        <email>vinkumar@juniper.net</email>
      </address>
    </author>
    <date month="11" year="2026"/>
    <area>OPS</area>
    <workgroup>mboned</workgroup>
    <keyword>YANG</keyword>
    <keyword>AMT</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">This document defines a YANG data model for the management of
   Automatic Multicast Tunneling (AMT) protocol operations.</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 is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            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).  Further
            information on Internet Standards is available in 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/rfc10083" 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" 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-and-notation-co">Terminology and Notation Conventions</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.2.2">
              <li pn="section-toc.1-1.2.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.1.1"><xref derivedContent="2.1" format="counter" sectionFormat="of" target="section-2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-conventions">Conventions</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.2">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.2.1"><xref derivedContent="2.2" format="counter" sectionFormat="of" target="section-2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-terminology">Terminology</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.3">
                <t indent="0" pn="section-toc.1-1.2.2.3.1"><xref derivedContent="2.3" format="counter" sectionFormat="of" target="section-2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-tree-diagrams">Tree Diagrams</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" 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-data-model-overview">Data Model Overview</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-amt-yang-module">AMT YANG Module</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-prefixes">Prefixes</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-tree-view">Tree View</xref></t>
                <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2.2.2">
                  <li pn="section-toc.1-1.4.2.2.2.1">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.1.1"><xref derivedContent="4.2.1" format="counter" sectionFormat="of" target="section-4.2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-overall-structure">Overall Structure</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.2">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.2.1"><xref derivedContent="4.2.2" format="counter" sectionFormat="of" target="section-4.2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-relay">Relay</xref></t>
                  </li>
                  <li pn="section-toc.1-1.4.2.2.2.3">
                    <t indent="0" pn="section-toc.1-1.4.2.2.2.3.1"><xref derivedContent="4.2.3" format="counter" sectionFormat="of" target="section-4.2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-gateway">Gateway</xref></t>
                  </li>
                </ul>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-yang-module">YANG Module</xref></t>
              </li>
            </ul>
          </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-operational-considerations">Operational Considerations</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-security-considerations">Security Considerations</xref></t>
          </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-iana-considerations">IANA Considerations</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-ietf-xml-registry">IETF XML Registry</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-names-registry">YANG Module Names Registry</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-references">References</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-normative-references">Normative References</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-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-full-tree">Full Tree</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="Appendix B" format="default" sectionFormat="of" target="section-appendix.b"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-data-model-example">Data Model Example</xref></t>
          </li>
          <li pn="section-toc.1-1.11">
            <t indent="0" pn="section-toc.1-1.11.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgments">Acknowledgments</xref></t>
          </li>
          <li pn="section-toc.1-1.12">
            <t indent="0" pn="section-toc.1-1.12.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1"><xref target="RFC7450" format="default" sectionFormat="of" derivedContent="RFC7450"/> introduces the protocol definition of Automatic
   Multicast Tunneling (AMT) for delivering multicast traffic from
   sources in a multicast-enabled network to receivers that lack
   multicast connectivity to the source network. AMT uses UDP
   encapsulation and unicast replication to provide this functionality.</t>
      <t indent="0" pn="section-1-2"><xref target="RFC8777" format="default" sectionFormat="of" derivedContent="RFC8777"/> updates <xref target="RFC7450" format="default" sectionFormat="of" derivedContent="RFC7450"/> by modifying the Relay Discovery process.
   It defines the DNS Reverse IP AMT Discovery (DRIAD) mechanism for AMT
   Gateways to discover AMT Relays that are capable of forwarding
   multicast traffic from a known source IP address.</t>
      <t indent="0" pn="section-1-3">This document defines a YANG data model for managing the AMT protocol.
   This model is classified as a device model (<xref section="3.5.1" sectionFormat="of" target="RFC9907" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9907#section-3.5.1" derivedContent="RFC9907"/>).</t>
    </section>
    <section anchor="terminology-notation-conventions" numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-terminology-and-notation-co">Terminology and Notation Conventions</name>
      <section anchor="conventions" numbered="true" toc="include" removeInRFC="false" pn="section-2.1">
        <name slugifiedName="name-conventions">Conventions</name>
        <t indent="0" pn="section-2.1-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>
      </section>
      <section anchor="terminology" numbered="true" toc="include" removeInRFC="false" pn="section-2.2">
        <name slugifiedName="name-terminology">Terminology</name>
        <t indent="0" pn="section-2.2-1">The terminology for describing YANG data models is found in <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/>
   (which defines YANG version 1) and <xref target="RFC7950" format="default" sectionFormat="of" derivedContent="RFC7950"/> (which defines YANG version 1.1), including:</t>
        <ul spacing="compact" bare="false" empty="false" indent="3" pn="section-2.2-2">
          <li pn="section-2.2-2.1">
            <t indent="0" pn="section-2.2-2.1.1">augment</t>
          </li>
          <li pn="section-2.2-2.2">
            <t indent="0" pn="section-2.2-2.2.1">data model</t>
          </li>
          <li pn="section-2.2-2.3">
            <t indent="0" pn="section-2.2-2.3.1">data node</t>
          </li>
          <li pn="section-2.2-2.4">
            <t indent="0" pn="section-2.2-2.4.1">identity</t>
          </li>
          <li pn="section-2.2-2.5">
            <t indent="0" pn="section-2.2-2.5.1">module</t>
          </li>
        </ul>
        <t indent="0" pn="section-2.2-3">The following AMT terms are used in this document:</t>
        <dl spacing="normal" indent="3" newline="false" pn="section-2.2-4">
          <dt pn="section-2.2-4.1">Gateway:</dt>
          <dd pn="section-2.2-4.2">A functional entity that acts as an endpoint for
  AMT tunnels on the receiver's domain. Its primary role is to
  discover AMT Relays, establish AMT tunnels to them, receive
  multicast traffic over these tunnels, and then forward that
  traffic directly within its local domain.</dd>
          <dt pn="section-2.2-4.3">Relay:</dt>
          <dd pn="section-2.2-4.4">A functional entity located in the source's domain
  or a multicast-enabled part of the Internet. Its primary role is
  to listen for requests from AMT Gateways, replicate multicast
  traffic from standard multicast routing domains, and encapsulate/forward this traffic through established AMT tunnels to requesting
  Gateways.</dd>
          <dt pn="section-2.2-4.5">Tunnel:</dt>
          <dd pn="section-2.2-4.6">A unidirectional, UDP-based encapsulation tunnel
  established between an AMT Gateway (the tunnel head) and an AMT
  Relay (the tunnel tail). It is used to transport multicast
  packets from the Relay to the Gateway over networks that do not
  support built-in IP multicast.</dd>
          <dt pn="section-2.2-4.7">Pseudo-Interface:</dt>
          <dd pn="section-2.2-4.8">A logical interface within the AMT Gateway or
  Relay that represents the endpoint of an AMT tunnel. Multicast
  routing protocols interact with this interface as if it were a
  physical interface receiving standard multicast traffic.</dd>
          <dt pn="section-2.2-4.9">Gateway Service:</dt>
          <dd pn="section-2.2-4.10">The functional component in the AMT protocol
  architecture. It interacts downstream with local multicast
  receivers and upstream with AMT Relays. It implements the
  complete service functionality of the AMT protocol, including
  processing multicast subscription requests, establishing tunnels,
  decapsulating data, and forwarding multicast traffic.</dd>
          <dt pn="section-2.2-4.11">Relay Service:</dt>
          <dd pn="section-2.2-4.12">The central component in the AMT protocol
  architecture. It establishes and manages tunnels between
  multicast sources and AMT Gateways, enabling the conversion and
  forwarding of multicast traffic from multicast networks to unicast
  networks.</dd>
          <dt pn="section-2.2-4.13">Secret Key Rotation Interval:</dt>
          <dd pn="section-2.2-4.14">The maximum recommended validity period or
  rotation interval for the private secret (or key) used by an AMT
  Relay to compute Response Message Authentication Code (MAC) values,
  according to <xref section="5.3.6" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-5.3.6" derivedContent="RFC7450"/>.</dd>
        </dl>
      </section>
      <section anchor="tree-diagrams" numbered="true" toc="include" removeInRFC="false" pn="section-2.3">
        <name slugifiedName="name-tree-diagrams">Tree Diagrams</name>
        <t indent="0" pn="section-2.3-1">Tree diagrams used in this document follow the notation defined in
   <xref target="RFC8340" format="default" sectionFormat="of" derivedContent="RFC8340"/>.</t>
      </section>
    </section>
    <section anchor="data-model-overview" numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-data-model-overview">Data Model Overview</name>
      <t indent="0" pn="section-3-1">The AMT protocol mainly includes two components, as illustrated in
   <xref target="fig-cpt" format="default" sectionFormat="of" derivedContent="Figure 1"/>. The two components are Relay and Gateway entities, each
   with its own internal modules (Discovery, Tunnel Management, and Multicast
   Forwarding).</t>
      <figure anchor="fig-cpt" align="left" suppress-title="false" pn="figure-1">
        <name slugifiedName="name-amt-protocol-components">AMT Protocol Components</name>
        <artwork align="left" pn="section-3-2.1">
         +------------------------------------------------+
         |            AMT Protocol Components             |
         +------------------------------------------------+
         |  .-----------------.      .-----------------.  |
         |  |   AMT Relay     |&lt;----&gt;|   AMT Gateway   |  |
         |  |                 |      |                 |  |
         |  |  .-----------.  |      |  .-----------.  |  |
         |  |  | Discovery |  |      |  | Discovery |  |  |
         |  |  |  Service  |&lt;-+------+--|  Service  |  |  |
         |  |  '-----+-----'  |      |  '-----+-----'  |  |
         |  |        |        |      |        |        |  |
         |  |  .-----+-----.  |      |  .-----+-----.  |  |
         |  |  |   Tunnel  |  |      |  |   Tunnel  |  |  |
         |  |  | Management|&lt;-+------+--| Management|  |  |
         |  |  '-----+-----'  |      |  '-----+-----'  |  |
         |  |        |        |      |        |        |  |
         |  |  .-----+-----.  |      |  +-----+-----+  |  |
         |  |  | Multicast |  |      |  | Multicast |  |  |
         |  |  | Forwarding|  |      |  | Forwarding|  |  |
         |  |  '-----------'  |      |  +-----------+  |  |
         |  '-----------------'      '-----------------'  |
         +------------------------------------------------+
</artwork>
      </figure>
      <t indent="0" pn="section-3-3">The AMT data model provides methods for managing the AMT protocol,
   covering all its core functional components as illustrated in
   <xref target="fig-cpt" format="default" sectionFormat="of" derivedContent="Figure 1"/>. It includes:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-3-4">
        <li pn="section-3-4.1">
          <t indent="0" pn="section-3-4.1.1">Parameters of the AMT Relay service, such as Relay Discovery Address
(<xref section="4.1.5" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-4.1.5" derivedContent="RFC7450"/>), Relay Address (<xref section="4.1.5" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-4.1.5" derivedContent="RFC7450"/>),
the maximum number of tunnels, and the secret key rotation interval.</t>
        </li>
        <li pn="section-3-4.2">
          <t indent="0" pn="section-3-4.2.1">Parameters of the AMT Gateway service, such as Relay Discovery Address
(<xref section="4.1.5" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-4.1.5" derivedContent="RFC7450"/>), Relay Address (<xref section="4.1.5" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-4.1.5" derivedContent="RFC7450"/>),
Discovery Timeout (<xref section="5.2.2.4" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-5.2.2.4" derivedContent="RFC7450"/>),
Request Timeout (<xref section="5.2.2.4" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-5.2.2.4" derivedContent="RFC7450"/>), Maximum
Relay Discovery Retransmission Count (<xref section="5.2.2.4" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-5.2.2.4" derivedContent="RFC7450"/>), and Maximum
Request Retransmission Count (<xref section="5.2.2.4" sectionFormat="of" target="RFC7450" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7450#section-5.2.2.4" derivedContent="RFC7450"/>).</t>
        </li>
        <li pn="section-3-4.3">
          <t indent="0" pn="section-3-4.3.1">AMT tunnel information, such as the endpoint IP address and UDP port
number and the local IP address and UDP port number.</t>
        </li>
        <li pn="section-3-4.4">
          <t indent="0" pn="section-3-4.4.1">DNS Resource Record (RR) used by an AMT Relay service.</t>
        </li>
      </ul>
    </section>
    <section anchor="amt-yang-module" numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-amt-yang-module">AMT YANG Module</name>
      <section anchor="prefixes" numbered="true" toc="include" removeInRFC="false" pn="section-4.1">
        <name slugifiedName="name-prefixes">Prefixes</name>
        <t indent="0" pn="section-4.1-1"><xref target="tab-prefixes" format="default" sectionFormat="of" derivedContent="Table 1"/> summarizes the prefixes used in this document.</t>
        <table anchor="tab-prefixes" align="center" pn="table-1">
          <name slugifiedName="name-prefixes-and-corresponding-">Prefixes and Corresponding YANG Modules</name>
          <thead>
            <tr>
              <th align="left" colspan="1" rowspan="1">Prefix</th>
              <th align="left" colspan="1" rowspan="1">YANG Module</th>
              <th align="left" colspan="1" rowspan="1">Reference</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td align="left" colspan="1" rowspan="1">inet</td>
              <td align="left" colspan="1" rowspan="1">ietf-inet-types</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">rt-types</td>
              <td align="left" colspan="1" rowspan="1">ietf-routing-types</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8294" format="default" sectionFormat="of" derivedContent="RFC8294"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">rt</td>
              <td align="left" colspan="1" rowspan="1">ietf-routing</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8349" format="default" sectionFormat="of" derivedContent="RFC8349"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">yang</td>
              <td align="left" colspan="1" rowspan="1">ietf-yang-types</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/></td>
            </tr>
            <tr>
              <td align="left" colspan="1" rowspan="1">if</td>
              <td align="left" colspan="1" rowspan="1">ietf-interfaces</td>
              <td align="left" colspan="1" rowspan="1">
                <xref target="RFC8343" format="default" sectionFormat="of" derivedContent="RFC8343"/></td>
            </tr>
          </tbody>
        </table>
      </section>
      <section anchor="tree-view" numbered="true" toc="include" removeInRFC="false" pn="section-4.2">
        <name slugifiedName="name-tree-view">Tree View</name>
        <t indent="0" pn="section-4.2-1">The full tree diagram of the "ietf-amt" YANG module is provided in
   <xref target="full-tree" format="default" sectionFormat="of" derivedContent="Appendix A"/>. The following subsections list the subtree structures.</t>
        <section anchor="overall-structure" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.1">
          <name slugifiedName="name-overall-structure">Overall Structure</name>
          <t indent="0" pn="section-4.2.1-1">The overall tree structure of the AMT YANG module is shown in
   <xref target="fig-overall-tree" format="default" sectionFormat="of" derivedContent="Figure 2"/>.</t>
          <t indent="0" pn="section-4.2.1-2">The AMT YANG module augments the core routing YANG module "ietf-routing"
   specified in <xref target="RFC8349" format="default" sectionFormat="of" derivedContent="RFC8349"/>. Specifically, the AMT YANG module
   augments "/rt:routing/rt:control-plane-protocols".</t>
          <figure anchor="fig-overall-tree" align="left" suppress-title="false" pn="figure-2">
            <name slugifiedName="name-overall-amt-tree-structure">Overall AMT Tree Structure</name>
            <sourcecode type="yangtree" markers="false" pn="section-4.2.1-3.1">
module: ietf-amt
  augment /rt:routing/rt:control-plane-protocols:
    +--rw amt!
       +--rw relay {amt-relay}?
       |  ...
       +--rw gateway {amt-gateway}?
          ...
</sourcecode>
          </figure>
          <t indent="0" pn="section-4.2.1-4">The 'amt' container encapsulates all AMT functionality and serves as
   the primary entry point for its configuration and state. The 'amt'
   container consists of two functional components: the 'relay' and the
   'gateway'. Support of an AMT Relay or an AMT Gateway is indicated by
   dedicated YANG features.</t>
          <t indent="0" pn="section-4.2.1-5">The 'relay' container manages the AMT Relay function on the multicast
   source side. It provides the configuration and operational state for
   AMT Relay devices that receive multicast traffic, tunnel it to AMT
   Gateways over unicast, and act as tunnel termination points. This
   container is conditionally present only if the device implements the
   'amt-relay' feature, typically on service provider edge routers or data
   center gateways.</t>
          <t indent="0" pn="section-4.2.1-6">The 'gateway' container manages the AMT Gateway function on the
   multicast receiver side. It provides the configuration and
   operational state for AMT Gateway devices that discover AMT Relays,
   establish tunnels to receive multicast traffic, and forward it to
   local receivers. This container is conditionally present only if the
   device implements the 'amt-gateway' feature, typically on enterprise
   edge routers or Customer Premises Equipment (CPE).</t>
        </section>
        <section anchor="relay" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.2">
          <name slugifiedName="name-relay">Relay</name>
          <t indent="0" pn="section-4.2.2-1">The overall structure of 'relay' is shown in <xref target="fig-relay-subtree" format="default" sectionFormat="of" derivedContent="Figure 3"/>.</t>
          <figure anchor="fig-relay-subtree" align="left" suppress-title="false" pn="figure-3">
            <name slugifiedName="name-amt-relay-subtree-structure">AMT Relay Subtree Structure</name>
            <sourcecode type="yangtree" markers="false" pn="section-4.2.2-2.1">
module: ietf-amt
  augment /rt:routing/rt:control-plane-protocols:
    +--rw amt!
       +--rw relay {amt-relay}?
       |  +--rw addresses
       |  |  +--rw address* [family]
       |  |     +--rw family              identityref
       |  |     +--rw anycast-prefix?     inet:ip-prefix
       |  |     +--rw local-address?      inet:ip-address
       |  +--rw tunnel-limit?             uint32
       |  +--rw secret-key-rotation-interval?      uint32
       |  +--rw relay-dns-resource-records
       |  |  +--rw record* [source-address]
       |  |     +--rw source-address         inet:ip-address
       |  |     +--rw precedence?            uint32
       |  |     +--rw d-bit?                 boolean
       |  |     +--rw relay-type?            enumeration
       |  |     +--rw discovery-address?     inet:ip-address
       |  |     +--rw domain-name?           inet:domain-name
       |  +--ro tunnels
       |  |  ...
       |  +--ro relay-message-statistics
       |     ...
       +--rw gateway {amt-gateway}?
          ...
</sourcecode>
          </figure>
          <t indent="0" pn="section-4.2.2-3">The 'relay' data nodes are described as follows:</t>
          <dl spacing="normal" indent="3" newline="false" pn="section-4.2.2-4">
            <dt pn="section-4.2.2-4.1">'addresses':</dt>
            <dd pn="section-4.2.2-4.2">
              <t indent="0" pn="section-4.2.2-4.2.1">Indicates the core address configurations for the AMT Relay.</t>
              <t indent="0" pn="section-4.2.2-4.2.2">This data node includes 'family', 'anycast-prefix', and 'local-address'.
   The 'family' indicates the address family (IPv4 or IPv6).
   The 'anycast-prefix' indicates the address prefix used by the Gateway
   to discover the Relay. The 'local-address' indicates the local
   interface address the Relay actually listens on and sends AMT
   messages on or the actual communication address after the tunnel is
   established.</t>
            </dd>
            <dt pn="section-4.2.2-4.3">'tunnel-limit':</dt>
            <dd pn="section-4.2.2-4.4">
              <t indent="0" pn="section-4.2.2-4.4.1">Indicates the maximum number of endpoint Gateways
   that a Relay can serve simultaneously.</t>
            </dd>
            <dt pn="section-4.2.2-4.5">'secret-key-rotation-interval':</dt>
            <dd pn="section-4.2.2-4.6">
              <t indent="0" pn="section-4.2.2-4.6.1">Indicates the maximum recommended validity
   period or rotation interval for the private secret (or key) used by an
   AMT Relay to compute Response MAC values. In addition, the private
   secret (or key) is known only to the AMT Relay, and the provisioning
   of the private secret (or key) is out of scope.</t>
            </dd>
            <dt pn="section-4.2.2-4.7">'relay-dns-resource-records':</dt>
            <dd pn="section-4.2.2-4.8">
              <t indent="0" pn="section-4.2.2-4.8.1">Indicates the DNS RR configuration for
   AMT Relay Discovery. Each DNS RR configuration ('record') includes
   the specific multicast source IP address to which this DNS RR applies
   ('source-address'), the priority value of this DNS RR ('precedence'),
   the discovery optional flag ('d-bit'), the type of AMT Relay Address
   ('relay-type'), the directly specified IP address of the AMT Relay
   Discovery Address ('discovery-address'), and the wire-encoded domain
   name of the AMT Relay ('domain-name').</t>
            </dd>
            <dt pn="section-4.2.2-4.9">'tunnels' (<xref target="fig-tunnel-subtree" format="default" sectionFormat="of" derivedContent="Figure 4"/>):</dt>
            <dd pn="section-4.2.2-4.10">
              <t indent="0" pn="section-4.2.2-4.10.1">Indicates tunnel information from various AMT Gateways
   connected to this AMT Relay.</t>
              <t indent="0" pn="section-4.2.2-4.10.2">Each tunnel entry ('tunnel') includes
   the IP address and port number of the opposite end of the tunnel ('gateway')
   ('gateway-address' and 'gateway-port'), the local IP address and UDP port number
   used by the local ('relay') end for this tunnel ('local-address' and 'local-port'),
   the tunnel status ('state'), the multicast flow information
   ('multicast-flows') carried by the tunnel, the number of different
   multicast groups currently carried by this tunnel ('multicast-group-num'),
   the message counters carried by the tunnel ('request-message-count',
   'membership-query-message-count', and 'membership-update-message-count'),
   and the time on the most recent occasion at which
   any one or more of the tunnel's counters suffered a discontinuity
   ('discontinuity-time').</t>
              <t indent="0" pn="section-4.2.2-4.10.3">Each multicast flow entry ('flow') has a
   multicast source address ('source-address') and a multicast group
   address ('group-address').</t>
            </dd>
          </dl>
          <aside pn="section-4.2.2-5">
            <t indent="0" pn="section-4.2.2-5.1">Design note: The four data nodes ('gateway-address', 'gateway-port',
'local-address', and 'local-port') do not reuse the standard
"udp-client" grouping defined in <xref target="RFC9984" format="default" sectionFormat="of" derivedContent="RFC9984"/>
because AMT requires the Gateway to be a specific IP address (inet:ip-address),
while the "udp-client" grouping allows the use of domain names (inet:host).
Reuse could lead to configuration errors or runtime risks, so a custom structure
must be defined to enforce this constraint.</t>
          </aside>
          <figure anchor="fig-tunnel-subtree" align="left" suppress-title="false" pn="figure-4">
            <name slugifiedName="name-amt-relay-tunnel-subtree-st">AMT Relay Tunnel Subtree Structure</name>
            <sourcecode type="yangtree" markers="false" pn="section-4.2.2-6.1">
module: ietf-amt
  augment /rt:routing/rt:control-plane-protocols:
    +--rw amt!
       +--rw relay {amt-relay}?
       |  ...
       |  +--ro tunnels
       |  |  +--ro tunnel* [gateway-address gateway-port]
       |  |     +--ro gateway-address     inet:ip-address
       |  |     +--ro gateway-port        inet:port-number
       |  |     +--ro local-address?      inet:ip-address
       |  |     +--ro local-port?         inet:port-number
       |  |     +--ro state?              identityref
       |  |     +--ro multicast-flows
       |  |     |  +--ro flow* [source-address
       |  |     |     |         group-address]
       |  |     |     +--ro source-address
       |  |     |     |         ip-multicast-source-address
       |  |     |     +--ro group-address
       |  |     |               rt-types:ip-multicast-group-address
       |  |     +--ro multicast-group-num?       yang:gauge32
       |  |     +--ro request-message-count?
       |  |     |              yang:zero-based-counter64
       |  |     +--ro membership-query-message-count?
       |  |     |              yang:zero-based-counter64
       |  |     +--ro membership-update-message-count?
       |  |     |              yang:zero-based-counter64
       |  |     +--ro discontinuity-time?        yang:date-and-time
       |  +--ro relay-message-statistics
       |     ...
       +--rw gateway {amt-gateway}?
          ...
</sourcecode>
          </figure>
          <dl spacing="normal" indent="3" newline="false" pn="section-4.2.2-7">
            <dt pn="section-4.2.2-7.1">'relay-message-statistics':</dt>
            <dd pn="section-4.2.2-7.2">
              <t indent="0" pn="section-4.2.2-7.2.1">Indicates statistics for various messages and errors
   handled by the AMT Relay, as shown in <xref target="fig-stats-subtree" format="default" sectionFormat="of" derivedContent="Figure 5"/>.</t>
            </dd>
          </dl>
          <figure anchor="fig-stats-subtree" align="left" suppress-title="false" pn="figure-5">
            <name slugifiedName="name-amt-relay-statistics-subtre">AMT Relay Statistics Subtree Structure</name>
            <sourcecode type="yangtree" markers="false" pn="section-4.2.2-8.1">
module: ietf-amt
  augment /rt:routing/rt:control-plane-protocols:
    +--rw amt!
       +--rw relay {amt-relay}?
       |  ...
       |  +--ro tunnels
       |  |  ...
       |  +--ro relay-message-statistics
       |     +--ro received
       |     |  +--ro relay-discovery?      yang:zero-based-counter64
       |     |  +--ro request?              yang:zero-based-counter64
       |     |  +--ro membership-update?    yang:zero-based-counter64
       |     |  +--ro teardown?             yang:zero-based-counter64
       |     +--ro sent
       |     |  +--ro relay-advertisement? yang:zero-based-counter64
       |     |  +--ro membership-query?     yang:zero-based-counter64
       |     +--ro error
       |     |  +--ro incomplete-packet?    yang:zero-based-counter64
       |     |  +--ro invalid-mac?          yang:zero-based-counter64
       |     |  +--ro unexpected-type?      yang:zero-based-counter64
       |     |  +--ro invalid-relay-discovery-address?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro invalid-membership-request-address?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro invalid-membership-update-address?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro incomplete-relay-discovery-messages?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro incomplete-membership-request-messages?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro incomplete-membership-update-messages?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro no-active-gateway?    yang:zero-based-counter64
       |     |  +--ro invalid-inner-header-checksum?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro gateways-timed-out?   yang:zero-based-counter64
       |     +--ro discontinuity-time?      yang:date-and-time
       +--rw gateway {amt-gateway}?
          ...
</sourcecode>
          </figure>
        </section>
        <section anchor="gateway" numbered="true" toc="include" removeInRFC="false" pn="section-4.2.3">
          <name slugifiedName="name-gateway">Gateway</name>
          <t indent="0" pn="section-4.2.3-1">The structure of 'gateway' is shown in <xref target="fig-gateway-subtree" format="default" sectionFormat="of" derivedContent="Figure 6"/>.</t>
          <figure anchor="fig-gateway-subtree" align="left" suppress-title="false" pn="figure-6">
            <name slugifiedName="name-amt-gateway-subtree-structu">AMT Gateway Subtree Structure</name>
            <sourcecode type="yangtree" markers="false" pn="section-4.2.3-2.1">
module: ietf-amt
  augment /rt:routing/rt:control-plane-protocols:
    +--rw amt!
       +--rw relay {amt-relay}?
       |  ...
       +--rw gateway {amt-gateway}?
          +--rw pseudo-interfaces
          |  +--rw interface* [name]
          |     +--rw name                      if:interface-ref
          |     +--rw discovery-method?         identityref
          |     +--rw relay-discovery-address?  inet:ip-address
          |     +--rw relay-address?            inet:ip-address
          |     +--rw relay-port?               inet:port-number
          |     +--ro local-address?            inet:ip-address
          |     +--ro local-port?               inet:port-number
          |     +--rw upstream-interface?       if:interface-ref
          |     +--rw discovery-timeout?        uint32
          |     +--rw discovery-retrans-count?  uint32
          |     +--rw request-timeout?          uint32
          |     +--rw request-retrans-count?    uint32
          |     +--rw dest-unreach-retry-count? uint32
          |     +--ro tunnel-state?             identityref
          |     +--ro relay-discovery-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro relay-advertisement-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro request-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro membership-query-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro membership-update-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro discontinuity-time?     yang:date-and-time
          +--ro gateway-message-statistics
             +--ro discontinuity-time?        yang:date-and-time
             +--ro received
             |  +--ro relay-advertisement? yang:zero-based-counter64
             |  +--ro membership-query? yang:zero-based-counter64
             +--ro sent
                +--ro relay-discovery? yang:zero-based-counter64
                +--ro request?           yang:zero-based-counter64
                +--ro membership-update? yang:zero-based-counter64
                +--ro teardown?          yang:zero-based-counter64
</sourcecode>
          </figure>
          <t indent="0" pn="section-4.2.3-3">The 'gateway' data nodes are described as follows:</t>
          <dl spacing="normal" indent="3" newline="false" pn="section-4.2.3-4">
            <dt pn="section-4.2.3-4.1">'pseudo-interfaces':</dt>
            <dd pn="section-4.2.3-4.2">
              <t indent="0" pn="section-4.2.3-4.2.1">Indicates the configuration and operational
   state of pseudo-interfaces used to establish AMT tunnels between
   Gateways and Relays.</t>
            </dd>
            <dt pn="section-4.2.3-4.3">'gateway-message-statistics':</dt>
            <dd pn="section-4.2.3-4.4">
              <t indent="0" pn="section-4.2.3-4.4.1">Indicates the message statistics of the
   AMT Gateway. It has the time on the most recent occasion at which
   any one or more of the AMT Gateway message counters suffered a discontinuity
   ('discontinuity-time'), the received message statistics of the AMT Gateway
   ('received'), and the sent message statistics of the AMT Gateway ('sent').</t>
              <t indent="0" pn="section-4.2.3-4.4.2">The 'received' container includes the number of AMT Relay Advertisement
   messages received ('relay-advertisement') and the number of AMT
   Membership Query messages received ('membership-query').</t>
              <t indent="0" pn="section-4.2.3-4.4.3">The 'sent' container includes the number of AMT Relay Discovery messages sent
   ('relay-discovery'), the number of AMT Request messages sent
   ('request'), the number of AMT Membership Update messages sent
   ('membership-update'), and the number of AMT Teardown messages sent
   ('teardown').</t>
            </dd>
          </dl>
        </section>
      </section>
      <section anchor="yang-module" numbered="true" toc="include" removeInRFC="false" pn="section-4.3">
        <name slugifiedName="name-yang-module">YANG Module</name>
        <t indent="0" pn="section-4.3-1">This document imports modules defined in <xref target="RFC8294" format="default" sectionFormat="of" derivedContent="RFC8294"/>, <xref target="RFC8343" format="default" sectionFormat="of" derivedContent="RFC8343"/>,
	<xref target="RFC8349" format="default" sectionFormat="of" derivedContent="RFC8349"/>, and <xref target="RFC9911" format="default" sectionFormat="of" derivedContent="RFC9911"/>.</t>
        <sourcecode type="yang" markers="true" name="ietf-amt@2026-11-29.yang" pn="section-4.3-2">
module ietf-amt {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-amt";
  prefix amt;

  import ietf-inet-types {
    prefix inet;
    reference
      "RFC 9911: Common YANG Data Types, Section 4";
  }
  import ietf-yang-types {
    prefix yang;
    reference
      "RFC 9911: Common YANG Data Types, Section 3";
  }
  import ietf-routing-types {
    prefix rt-types;
    reference
      "RFC 8294: Common YANG Data Types for the Routing Area";
  }
  import ietf-interfaces {
    prefix if;
    reference
      "RFC 8343: A YANG Data Model for Interface Management";
  }
  import ietf-routing {
    prefix rt;
    reference
      "RFC 8349: A YANG Data Model for Routing Management
                 (NMDA Version)";
  }

  organization
    "IETF MBONE Deployment (MBONED) Working Group";
  contact
    "WG Web:   &lt;https://datatracker.ietf.org/wg/mboned/&gt;
     WG List:  MBONED &lt;mailto:mboned@ietf.org&gt;

     Editor:   Yisong Liu
               &lt;mailto:liuyisong@chinamobile.com&gt;
     Editor:   Changwang Lin
               &lt;mailto:linchangwang.04414@h3c.com&gt;
     Editor:   Zheng (Sandy) Zhang
               &lt;mailto:zhang.zheng@zte.com.cn&gt;
     Editor:   Xuesong Geng
               &lt;mailto:gengxuesong@huawei.com&gt;
     Editor:   Vinod Kumar Nagaraj
               &lt;mailto:vinkumar@juniper.net&gt;";

  description
    "This module describes a YANG data model for managing the
     Automatic Multicast Tunneling (AMT) protocol.

     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).

     All revisions of IETF and IANA published modules can be found
     at the YANG Parameters registry group
     (https://www.iana.org/assignments/yang-parameters).

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

  revision 2026-11-29 {
    description
      "Initial revision.";
    reference
      "RFC 10083: A YANG Data Model for Automatic Multicast
                 Tunneling (AMT)";
  }

  feature amt-gateway {
    description
      "Indicates support of AMT Gateway functionality.";
    reference
      "RFC 7450: Automatic Multicast Tunneling, Section 4.1.2";
  }

  feature amt-relay {
    description
      "Indicates support of AMT Relay functionality.";
    reference
      "RFC 7450: Automatic Multicast Tunneling, Section 4.1.3";
  }

  typedef ip-multicast-source-address {
    type union {
      type rt-types:ipv4-multicast-source-address;
      type rt-types:ipv6-multicast-source-address;
    }
    description
      "This type represents a version-neutral IP multicast source
       address.  The format of the textual representation implies
       the IP address family.";
  }

  identity tunnel-state-base {
    description
      "Base identity for AMT tunnel states.";
  }

  identity up {
    base tunnel-state-base;
    description
      "The AMT tunnel has been successfully established.";
  }

  identity establishing {
    base tunnel-state-base;
    description
      "The AMT tunnel is being established.";
  }

  identity initial {
    base tunnel-state-base;
    description
      "Initial AMT tunnel state.";
  }

  identity discovering {
    base tunnel-state-base;
    description
      "The Relay Discovery message has been sent
       and is waiting for the Relay Advertisement message.";
  }

  identity requesting {
    base tunnel-state-base;
    description
      "The Request message has been sent, waiting for the
       Membership Query message.";
  }

  identity discovery-method-base {
    description
      "Base identity for all methods used to discover an
       AMT Relay Address.

       New discovery methods should be defined by creating
       new identities derived from this base identity.";
  }

  identity by-amt-solicit {
    base discovery-method-base;
    description
      "Find the Relay Address by sending an AMT Relay
       Discovery message.

       This method involves sending an AMT Relay Discovery
       message to discover available Relays in the network.";
    reference
      "RFC 7450: Automatic Multicast Tunneling, Section 5.1.1";
  }

  identity by-dns-reverse-ip {
    base discovery-method-base;
    description
      "Find the Relay Address by DNS reverse IP AMT Discovery.

       This method uses DNS reverse IP lookup to discover AMT
       Relays based on the client's IP address.";
    reference
      "RFC 8777: DNS Reverse IP Automatic Multicast Tunneling (AMT)
                 Discovery";
  }

  augment "/rt:routing/rt:control-plane-protocols" {
    description
      "AMT augmentation to the routing instance model.";
    container amt {
      presence "Enables AMT";
      description
        "Management parameters for the AMT protocol.";
      container relay {
        if-feature "amt-relay";
        description
          "Parameters of the AMT Relay service.";
        container addresses {
          description
            "Parameters of AMT Relay Addresses.";
          list address {
            key "family";
            description
              "Each entry contains parameters for an AMT Relay
               Address identified by the 'family' key.  Under
               normal operation, these addresses SHOULD belong
               to the same address family indicated by 'family'.
               Any mismatch is an indication of abnormal
               configuration and is therefore allowed to be
               reported.

               The 'anycast-prefix' serves as the discovery entry
               for AMT Relays, while unicast IP addresses
               'local-address' are the actual communication entities
               of AMT Relays.  The AMT Gateway first locates the AMT
               Relay via the 'anycast-prefix' and then uses its
               'local-address' to complete all subsequent AMT
               interactions.";
            leaf family {
              type identityref {
                base rt:address-family;
              }
              description
                "Indicates the address family for the entry.";
            }
            leaf anycast-prefix {
              type inet:ip-prefix;
              description
                "An anycast IP prefix of the AMT Relay Discovery
                 Address, which is used when sending discovery
                 messages to a Relay.

                 If 'family' is IPv4, it SHOULD be an IPv4 prefix;
                 if 'family' is IPv6, it SHOULD be an IPv6 prefix.

                 Any mismatch is an indication of abnormal
                 configuration and is therefore allowed to be
                 reported.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 4.1.5.2";
            }
            leaf local-address {
              type inet:ip-address;
              description
                "A unicast IP address of the AMT Relay Address
                 that is statically configured on the Relay device.
                 This address is used by the AMT Gateway to establish
                 tunnels.

                 If 'family' is IPv4, it SHOULD be an IPv4 address;
                 if 'family' is IPv6, it SHOULD be an IPv6 address.

                 Any mismatch is an indication of abnormal
                 configuration and is therefore allowed to be
                 reported.";
            }
          }
        }
        leaf tunnel-limit {
          type uint32;
          description
            "The maximum number of endpoint Gateways that a Relay can
             serve simultaneously.";
        }
        leaf secret-key-rotation-interval {
          type uint32;
          units "minutes";
          description
            "Specifies the interval period for computing a new
             private secret.  This maximum RECOMMENDED interval
             is 120 minutes.";
          reference
            "RFC 7450: Automatic Multicast Tunneling,
                       Section 5.3.6";
        }
        container relay-dns-resource-records {
          description
            "The DNS Resource Records (RRs) of the AMT Relay.";
          list record {
            key "source-address";
            description
              "Specifies an RR entry.";
            leaf source-address {
              type inet:ip-address;
              description
                "The unicast IP address of the multicast sender.";
            }
            leaf precedence {
              type uint32;
              description
                "The precedence value of this record, used
                 for Relay selection priority.

                 Lower values indicate higher priority.
                 Relays listed in AMT Relay records with
                 a lower value for precedence are to be
                 attempted first.";
              reference
                "RFC 8777: DNS Reverse IP Automatic Multicast
                           Tunneling (AMT) Discovery,
                           Section 4.2.1";
            }
            leaf d-bit {
              type boolean;
              default "false";
              description
                "If the D-bit is set to true, the Gateway MAY
                 send an AMT Request message directly to the
                 discovered Relay Address without first
                 sending an AMT Discovery message.

                 If the D-bit is set to false, the Gateway MUST
                 receive an AMT Relay Advertisement message
                 for an address before sending an AMT
                 Request message to that address.";
              reference
                "RFC 8777: DNS Reverse IP Automatic Multicast
                           Tunneling (AMT) Discovery,
                           Section 4.2.2";
            }
            leaf relay-type {
              type enumeration {
                enum empty {
                  value 0;
                  description
                    "The relay field is empty.";
                }
                enum ipv4-address {
                  value 1;
                  description
                    "The relay field contains a 4-octet IPv4
                     address.";
                }
                enum ipv6-address {
                  value 2;
                  description
                    "The relay field contains a 16-octet IPv6
                     address.";
                }
                enum domain-name {
                  value 3;
                  description
                    "The relay field contains a wire-encoded
                     domain name.";
                }
              }
              description
                "Indicates the type of Relay in the AMT Relay RR.

                 Value 0 indicates that no AMT Relay should be
                 used for multicast traffic from this source.

                 Values 1 and 2 indicate that the IP address is
                 used to describe the AMT Relay.

                 Value 3 indicates that the domain name is
                 used to describe the AMT Relay.";
              reference
                "RFC 8777: DNS Reverse IP Automatic Multicast
                           Tunneling (AMT) Discovery,
                           Section 4.2.3";
            }
            leaf discovery-address {
              type inet:ip-address;
              must "(../relay-type = 'ipv4-address' or "
                 + "../relay-type = 'ipv6-address')" {
                error-message
                  "The 'discovery-address' can only be configured
                   when the 'relay-type' is ipv4-address or
                   ipv6-address.";
              }
              description
                "The IP address of the AMT Relay Discovery Address.

                 When the 'relay-type' value is 1 or 2, this
                 data node is used to indicate the AMT Relay of
                 the AMT Relay RR.";
              reference
                "RFC 8777: DNS Reverse IP Automatic Multicast
                           Tunneling (AMT) Discovery,
                           Section 4.2.4";
            }
            leaf domain-name {
              type inet:domain-name;
              must "../relay-type = 'domain-name'" {
                error-message
                  "The 'domain-name' can only be configured when
                   the 'relay-type' is domain-name.";
              }
              description
                "The wire-encoded domain name of the AMT Relay.

                 When the 'relay-type' value is 3, this data node
                 is used to indicate the AMT Relay of the AMT
                 Relay RR.";
              reference
                "RFC 8777: DNS Reverse IP Automatic Multicast
                           Tunneling (AMT) Discovery,
                           Section 4.2.4";
            }
          }
        }
        container tunnels {
          config false;
          description
            "AMT tunnel session information, which contains
             session parameters, state, and statistics for
             all AMT tunnels established between Gateways
             and this Relay.";
          list tunnel {
            key "gateway-address gateway-port";
            description
              "Records a tunnel entry.";
            leaf gateway-address {
              type inet:ip-address;
              description
                "The IP address of an AMT Gateway.";
            }
            leaf gateway-port {
              type inet:port-number;
              description
                "The UDP port number of an AMT Gateway.";
            }
            leaf local-address {
              type inet:ip-address;
              description
                "The local IP address of the AMT Relay.";
            }
            leaf local-port {
              type inet:port-number;
              description
                "The local UDP port number of the AMT Relay.";
            }
            leaf state {
              type identityref {
                base tunnel-state-base;
              }
              description
                "The state of AMT tunnel.";
            }
            container multicast-flows {
              config false;
              description
                "The multicast flow information in the AMT tunnel.

                 Contains operational data for all multicast
                 flows being forwarded through AMT tunnels between
                 this Relay and connected Gateways.";
              list flow {
                key "source-address group-address";
                description
                  "Records the characteristics of a multicast flow.";
                leaf source-address {
                  type ip-multicast-source-address;
                  description
                    "The source IP address of a multicast flow.

                     It MUST belong to the same address family as
                     group-address.";
                }
                leaf group-address {
                  type rt-types:ip-multicast-group-address;
                  description
                    "The group IP address of a multicast flow.

                     It MUST belong to the same address family as
                     source-address.";
                }
              }
            }
            leaf multicast-group-num {
              type yang:gauge32;
              description
                "Number of multicast groups.";
            }
            leaf request-message-count {
              type yang:zero-based-counter64;
              description
                "Number of AMT Request messages received
                 in the tunnel.";
            }
            leaf membership-query-message-count {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Query messages sent
                 in the tunnel.";
            }
            leaf membership-update-message-count {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Update messages received
                 in the tunnel.";
            }
            leaf discontinuity-time {
              type yang:date-and-time;
              description
                "The time on the most recent occasion at which any
                 one or more of this AMT tunnel's counters suffered
                 a discontinuity.

                 If no such discontinuities have occurred since the
                 last reinitialization of the AMT tunnel, then this
                 node contains the time when the AMT tunnel was last
                 initialized or the tunnel was established.";
            }
          }
        }
        container relay-message-statistics {
          config false;
          description
            "Message statistics of an AMT Relay.";
          container received {
            description
              "Received message statistics of AMT Relay.";
            leaf relay-discovery {
              type yang:zero-based-counter64;
              description
                "Number of AMT Relay Discovery messages
                 received.";
            }
            leaf request {
              type yang:zero-based-counter64;
              description
                "Number of AMT Request messages
                 received.";
            }
            leaf membership-update {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Update messages
                 received.";
            }
            leaf teardown {
              type yang:zero-based-counter64;
              description
                "Number of AMT Teardown messages received.";
            }
          }
          container sent {
            description
              "Sent message statistics of AMT Relay.";
            leaf relay-advertisement {
              type yang:zero-based-counter64;
              description
                "Number of AMT Relay Advertisement messages sent.";
            }
            leaf membership-query {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Query messages sent.";
            }
          }
          container error {
            description
              "Error message statistics of the AMT Relay.";
            leaf incomplete-packet {
              type yang:zero-based-counter64;
              description
                "Number of messages received with length errors
                 so severe that further classification could not
                 occur.";
            }
            leaf invalid-mac {
              type yang:zero-based-counter64;
              description
                "Number of messages received with an invalid
                 Message Authentication Code (MAC).";
            }
            leaf unexpected-type {
              type yang:zero-based-counter64;
              description
                "Number of messages received with an unknown
                 message type specified.";
            }
            leaf invalid-relay-discovery-address {
              type yang:zero-based-counter64;
              description
                "Number of AMT Relay Discovery messages
                 received with an address other than the
                 configured anycast address.";
            }
            leaf invalid-membership-request-address {
              type yang:zero-based-counter64;
              description
                "Number of AMT Request messages
                 received with an address other than the
                 configured AMT local address.";
            }
            leaf invalid-membership-update-address {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Update messages
                 received with an address other than the
                 configured AMT local address.";
            }
            leaf incomplete-relay-discovery-messages {
              type yang:zero-based-counter64;
              description
                "Number of AMT Relay Discovery messages
                 received that are not fully formed.";
            }
            leaf incomplete-membership-request-messages {
              type yang:zero-based-counter64;
              description
                "Number of AMT Request messages
                 received that are not fully formed.";
            }
            leaf incomplete-membership-update-messages {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Update messages
                 received that are not fully formed.";
            }
            leaf no-active-gateway {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Update messages
                 received for a tunnel that does not exist
                 for the Gateway that sent the message.";
            }
            leaf invalid-inner-header-checksum {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Update messages
                 received with an invalid IP checksum.";
            }
            leaf gateways-timed-out {
              type yang:zero-based-counter64;
              description
                "Number of Gateways that timed out because
                 of inactivity.";
            }
          }
          leaf discontinuity-time {
            type yang:date-and-time;
            description
              "The time on the most recent occasion at which any
               one or more of this AMT tunnel's message counters
               suffered a discontinuity.

               If no such discontinuities have occurred since the
               last reinitialization of the AMT tunnel, then this
               node contains the time when the AMT tunnel was last
               initialized or the tunnel was established.";
          }
        }
      } // relay
      container gateway {
        if-feature "amt-gateway";
        description
          "Parameters of AMT Gateway service.";
        container pseudo-interfaces {
          description
            "Parameters of AMT pseudo-interface.";
          list interface {
            key "name";
            description
              "An entry of AMT pseudo-interface.";
            leaf name {
              type if:interface-ref;
              description
                "Indicates the name of a pseudo-interface.";
            }
            leaf discovery-method {
              type identityref {
                base discovery-method-base;
              }
              description
                "The method used to discover the relay address.";
            }
            leaf relay-discovery-address {
              type inet:ip-address;
              description
                "Specifies the AMT Relay Discovery Address.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.1";
            }
            leaf relay-address {
              type inet:ip-address;
              description
                "Specifies the IP address of the AMT Relay.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.2";
            }
            leaf relay-port {
              type inet:port-number;
              description
                "The UDP port number of the AMT Relay.";
            }
            leaf local-address {
              type inet:ip-address;
              config false;
              description
                "The local IP address of this AMT tunnel.";
            }
            leaf local-port {
              type inet:port-number;
              config false;
              description
                "The local UDP port number of this AMT tunnel.";
            }
            leaf upstream-interface {
              type if:interface-ref;
              description
                "Indicates the upstream interface to reach the AMT
                 Relay.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.3";
            }
            leaf discovery-timeout {
              type uint32;
              units "seconds";
              description
                "Initial time to wait for a response to
                 a Relay Discovery message.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.4";
            }
            leaf discovery-retrans-count {
              type uint32;
              description
                "Maximum number of Relay Discovery retransmissions
                 to allow before terminating Relay Discovery
                 and reporting an error.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.4";
            }
            leaf request-timeout {
              type uint32;
              units "seconds";
              description
                "Initial time to wait for a response
                 to a Request message.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.4";
            }
            leaf request-retrans-count {
              type uint32;
              description
                "Maximum number of Request retransmissions
                 to allow before abandoning a Relay and restarting
                 Relay Discovery or reporting an error.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.4";
            }
            leaf dest-unreach-retry-count {
              type uint32;
              description
                "The maximum number of times a Gateway should
                 attempt to send the same Request or Membership
                 Update message after receiving an ICMP Destination
                 Unreachable message.";
              reference
                "RFC 7450: Automatic Multicast Tunneling,
                           Section 5.2.2.4";
            }
            leaf tunnel-state {
              type identityref {
                base tunnel-state-base;
              }
              config false;
              description
                "The tunnel's state.";
            }
            leaf relay-discovery-message-count {
              type yang:zero-based-counter64;
              config false;
              description
                "Number of AMT Relay Discovery messages sent
                 on the interface.";
            }
            leaf relay-advertisement-message-count {
              type yang:zero-based-counter64;
              config false;
              description
                "Number of AMT Relay Advertisement messages received
                 on the interface.";
            }
            leaf request-message-count {
              type yang:zero-based-counter64;
              config false;
              description
                "Number of AMT Request messages sent
                 on the interface.";
            }
            leaf membership-query-message-count {
              type yang:zero-based-counter64;
              config false;
              description
                "Number of AMT Membership Query messages received
                 on the interface.";
            }
            leaf membership-update-message-count {
              type yang:zero-based-counter64;
              config false;
              description
                "Number of AMT Membership Update messages sent
                 on the interface.";
            }
            leaf discontinuity-time {
              type yang:date-and-time;
              config false;
              description
                "The time on the most recent occasion at which any
                 one or more of this interface's counters suffered
                 a discontinuity.

                 If no such discontinuities have occurred since the
                 last reinitialization of the AMT tunnel based on
                 this interface, then this node contains the time
                 when the AMT tunnel was last initialized or the
                 tunnel was established.";
            }
          }
        }
        container gateway-message-statistics {
          config false;
          description
            "Message statistics of the AMT Gateway.";
          leaf discontinuity-time {
            type yang:date-and-time;
            description
              "The time on the most recent occasion at which the AMT
               Gateway message counters suffered a discontinuity.

               If no such discontinuities have occurred since the
               last reinitialization of the Gateway, then this
               data node contains the time when the Gateway was last
               initialized.";
          }
          container received {
            description
              "Received message statistics of the AMT Gateway.";
            leaf relay-advertisement {
              type yang:zero-based-counter64;
              description
                "Number of AMT Relay Advertisement messages
                 received.";
            }
            leaf membership-query {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Query messages
                 received.";
            }
          }
          container sent {
            description
              "Sent message statistics of the AMT Gateway.";
            leaf relay-discovery {
              type yang:zero-based-counter64;
              description
                "Number of AMT Relay Discovery messages sent.";
            }
            leaf request {
              type yang:zero-based-counter64;
              description
                "Number of AMT Request messages sent.";
            }
            leaf membership-update {
              type yang:zero-based-counter64;
              description
                "Number of AMT Membership Update messages sent.";
            }
            leaf teardown {
              type yang:zero-based-counter64;
              description
                "Number of AMT Teardown messages sent.";
            }
          }
        }
      } // gateway
    } // amt
  } // augment
}
</sourcecode>
      </section>
    </section>
    <section anchor="operational-considerations" numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-operational-considerations">Operational Considerations</name>
      <t indent="0" pn="section-5-1">This document specifies a YANG data model for AMT that configures and monitors
   address parameters for both Relay and Gateway functions. Operators
   have to monitor for address family mismatches between associated address parameters
   to ensure correct protocol operation, tunnel establishment, and forwarding behavior.</t>
      <t indent="0" pn="section-5-2">The following address pairs and combinations are critical and have to be validated
   for address family consistency:</t>
      <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5-3">
        <li pn="section-5-3.1">
          <t indent="0" pn="section-5-3.1.1">On the AMT Relay:</t>
          <t indent="0" pn="section-5-3.1.2">Within the 'relay/addresses/address' list entry indexed by a given address
family ('family'):</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5-3.1.3">
            <li pn="section-5-3.1.3.1">
              <t indent="0" pn="section-5-3.1.3.1.1">The 'anycast-prefix' (discovery anycast prefix)</t>
            </li>
            <li pn="section-5-3.1.3.2">
              <t indent="0" pn="section-5-3.1.3.2.1">The 'local-address' (unicast IP address)</t>
            </li>
          </ul>
          <t indent="0" pn="section-5-3.1.4">These IP addresses have to belong to the same address family indicated by the 'family'
leaf (either both IPv4 or both IPv6). A mismatch (e.g., IPv4 'anycast-prefix' paired
with IPv6 'local-address' under the same IPv4 'family' entry) indicates a configuration
anomaly that can prevent Relay Discovery, Advertisement responses, and tunnel setup.</t>
        </li>
        <li pn="section-5-3.2">
          <t indent="0" pn="section-5-3.2.1">On the AMT Gateway:</t>
          <t indent="0" pn="section-5-3.2.2">Within each 'gateway/pseudo-interfaces/interface' entry:</t>
          <ul spacing="normal" bare="false" empty="false" indent="3" pn="section-5-3.2.3">
            <li pn="section-5-3.2.3.1">
              <t indent="0" pn="section-5-3.2.3.1.1">The 'relay-discovery-address'</t>
            </li>
            <li pn="section-5-3.2.3.2">
              <t indent="0" pn="section-5-3.2.3.2.1">The 'relay-address'</t>
            </li>
            <li pn="section-5-3.2.3.3">
              <t indent="0" pn="section-5-3.2.3.3.1">The 'local-address' (operational state)</t>
            </li>
          </ul>
          <t indent="0" pn="section-5-3.2.4">These IP addresses must all belong to the same address family. A mismatch can lead to
failure in Relay Discovery, tunnel establishment, or traffic decapsulation.</t>
        </li>
      </ul>
      <t indent="0" pn="section-5-4">It is <bcp14>RECOMMENDED</bcp14> that operators implement automated configuration validation tools to
   detect such address family mismatches. When combined with the required monitoring,
   this provides a robust defense against misconfiguration.</t>
      <t indent="0" pn="section-5-5">Upon detecting an address family mismatch, the device <bcp14>MUST</bcp14> log an appropriate error or alarm
   and prevent the inconsistent configuration from being applied.
   Corrective actions include reconfiguring the affected addresses to match the intended address
   family and verifying routing reachability for the configured addresses.</t>
      <t indent="0" pn="section-5-6">This section focuses on fault management for address family mismatches, the core operational
   risk addressed here. While broader network management includes performance, security, and other aspects,
   this document does not define new requirements in those areas. The above recommendations for validation
   and logging still support overall network reliability and security.</t>
    </section>
    <section anchor="security-considerations" numbered="true" toc="include" removeInRFC="false" pn="section-6">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-6-1">This section is modeled after the template described in <xref section="3.7.1" sectionFormat="of" target="RFC9907" format="default" derivedLink="https://rfc-editor.org/rfc/rfc9907#section-3.7.1" derivedContent="RFC9907"/>.</t>
      <t indent="0" pn="section-6-2">The "ietf-amt" YANG module defines a data model that is designed to
   be accessed via YANG-based management protocols, such as the 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="RFC4253" format="default" sectionFormat="of" derivedContent="RFC4253"/>, TLS <xref target="RFC9846" format="default" sectionFormat="of" derivedContent="RFC9846"/>, and QUIC <xref target="RFC9000" format="default" sectionFormat="of" derivedContent="RFC9000"/>) and (2) have to use
   mutual authentication (e.g., for SSH, the SSH Authentication Protocol
   <xref target="RFC4252" format="default" sectionFormat="of" derivedContent="RFC4252"/>).</t>
      <t indent="0" pn="section-6-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-6-4">There are a number of data nodes defined in this YANG module that are
   writable/creatable/deletable (i.e., "config true", which is the
   default). All writable data nodes are likely to be reasonably sensitive or
   vulnerable in some network environments. Write operations (e.g.,
   edit-config) and delete operations to these data nodes without proper
   protection or authentication can have a negative effect on network
   operations. The following subtrees and data nodes have particular
   sensitivities/vulnerabilities:</t>
      <t indent="0" pn="section-6-5">Under /rt:routing/rt:control-plane-protocols/:
   Unauthorized access to any data nodes in these subtrees can adversely
   affect the AMT subsystem of both the local device and the network. This
   may lead to network malfunctions, delivery of packets to inappropriate
   destinations, and other problems.</t>
      <dl newline="true" spacing="normal" indent="3" pn="section-6-6">
        <dt pn="section-6-6.1">amt/relay/addresses/address:</dt>
        <dd pn="section-6-6.2">This subtree specifies the IPv4 or IPv6 address information
      for an AMT Relay. Modifying the configuration may cause the
      AMT tunnel to be torn down or established.</dd>
        <dt pn="section-6-6.3">amt/relay/secret-key-rotation-interval:</dt>
        <dd pn="section-6-6.4">This data node defines the maximum validity period or rotation
      interval for the private secret key. Modifying this value can
      weaken security or disrupt operations, as AMT protocol security
      fundamentally depends on this key. Using a secret key beyond
      its validity period extends its exposure to potential attacks,
      increasing the likelihood of compromise and weakening the
      intended security protections. Therefore, write access to this
      node <bcp14>MUST</bcp14> be restricted to authorized administrators, and all
      changes <bcp14>SHOULD</bcp14> be logged. Note that while key provisioning is
      out of scope of this document, it <bcp14>MUST</bcp14> also be performed
      securely.</dd>
        <dt pn="section-6-6.5">amt/relay/relay-dns-resource-records/record:</dt>
        <dd pn="section-6-6.6">This subtree specifies the DNS RR configuration used to
      discover AMT Relays. Modifying this configuration may cause
      the AMT Gateway to discover new AMT Relay devices or fail to
      discover AMT Relay devices.</dd>
        <dt pn="section-6-6.7">amt/gateway/pseudo-interfaces/interface:</dt>
        <dd pn="section-6-6.8">This subtree specifies the parameters of the AMT pseudo-interface
      for an AMT Gateway. Modifying this configuration may cause the
      AMT Gateway to establish or tear down tunnels with multiple
      AMT Relays.</dd>
      </dl>
      <t indent="0" pn="section-6-7">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-6-8">Under /rt:routing/rt:control-plane-protocols/:
   amt/relay and amt/⁠gateway. Unauthorized access to any
   data nodes in these subtrees can disclose operational state
   information about the AMT Relay or AMT Gateway on this device.</t>
    </section>
    <section anchor="iana-considerations" numbered="true" toc="include" removeInRFC="false" pn="section-7">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <section anchor="ietf-xml-registry" numbered="true" toc="include" removeInRFC="false" pn="section-7.1">
        <name slugifiedName="name-ietf-xml-registry">IETF XML Registry</name>
        <t indent="0" pn="section-7.1-1">IANA has registered the following URI in the "ns" registry
   within the "IETF XML Registry" registry group <xref target="RFC3688" format="default" sectionFormat="of" derivedContent="RFC3688"/>:</t>
        <dl spacing="compact" newline="false" indent="3" pn="section-7.1-2">
          <dt pn="section-7.1-2.1">URI:</dt>
          <dd pn="section-7.1-2.2">urn:ietf:params:xml:ns:yang:ietf-amt</dd>
          <dt pn="section-7.1-2.3">Registrant Contact:</dt>
          <dd pn="section-7.1-2.4">The IESG.</dd>
          <dt pn="section-7.1-2.5">XML:</dt>
          <dd pn="section-7.1-2.6">N/A; the requested URI is an XML namespace.</dd>
        </dl>
      </section>
      <section anchor="yang-module-names-registry" numbered="true" toc="include" removeInRFC="false" pn="section-7.2">
        <name slugifiedName="name-yang-module-names-registry">YANG Module Names Registry</name>
        <t indent="0" pn="section-7.2-1">IANA has registered the following YANG module in the "YANG
   Module Names" registry <xref target="RFC6020" format="default" sectionFormat="of" derivedContent="RFC6020"/> within the "YANG Parameters"
   registry group:</t>
        <dl spacing="compact" newline="false" indent="3" pn="section-7.2-2">
          <dt pn="section-7.2-2.1">Name:</dt>
          <dd pn="section-7.2-2.2">ietf-amt</dd>
          <dt pn="section-7.2-2.3">Maintained by IANA?</dt>
          <dd pn="section-7.2-2.4">N</dd>
          <dt pn="section-7.2-2.5">Namespace:</dt>
          <dd pn="section-7.2-2.6">urn:ietf:params:xml:ns:yang:ietf-amt</dd>
          <dt pn="section-7.2-2.7">Prefix:</dt>
          <dd pn="section-7.2-2.8">amt</dd>
          <dt pn="section-7.2-2.9">Reference:</dt>
          <dd pn="section-7.2-2.10">RFC 10083</dd>
        </dl>
      </section>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references" pn="section-8">
      <name slugifiedName="name-references">References</name>
      <references anchor="sec-normative-references" pn="section-8.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="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="RFC7450" target="https://www.rfc-editor.org/info/rfc7450" quoteTitle="true" derivedAnchor="RFC7450">
          <front>
            <title>Automatic Multicast Tunneling</title>
            <author fullname="G. Bumgardner" initials="G." surname="Bumgardner"/>
            <date month="February" year="2015"/>
            <abstract>
              <t indent="0">This document describes Automatic Multicast Tunneling (AMT), a protocol for delivering multicast traffic from sources in a multicast-enabled network to receivers that lack multicast connectivity to the source network. The protocol uses UDP encapsulation and unicast replication to provide this functionality.</t>
              <t indent="0">The AMT protocol is specifically designed to support rapid deployment by requiring minimal changes to existing network infrastructure.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7450"/>
          <seriesInfo name="DOI" value="10.17487/RFC7450"/>
        </reference>
        <reference anchor="RFC7950" target="https://www.rfc-editor.org/info/rfc7950" quoteTitle="true" derivedAnchor="RFC7950">
          <front>
            <title>The YANG 1.1 Data Modeling Language</title>
            <author fullname="M. Bjorklund" initials="M." role="editor" surname="Bjorklund"/>
            <date month="August" year="2016"/>
            <abstract>
              <t indent="0">YANG is a data modeling language used to model configuration data, state data, Remote Procedure Calls, and notifications for network management protocols. This document describes the syntax and semantics of version 1.1 of the YANG language. YANG version 1.1 is a maintenance release of the YANG language, addressing ambiguities and defects in the original specification. There are a small number of backward incompatibilities from YANG version 1. This document also specifies the YANG mappings to the Network Configuration Protocol (NETCONF).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7950"/>
          <seriesInfo name="DOI" value="10.17487/RFC7950"/>
        </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="RFC8294" target="https://www.rfc-editor.org/info/rfc8294" quoteTitle="true" derivedAnchor="RFC8294">
          <front>
            <title>Common YANG Data Types for the Routing Area</title>
            <author fullname="X. Liu" initials="X." surname="Liu"/>
            <author fullname="Y. Qu" initials="Y." surname="Qu"/>
            <author fullname="A. Lindem" initials="A." surname="Lindem"/>
            <author fullname="C. Hopps" initials="C." surname="Hopps"/>
            <author fullname="L. Berger" initials="L." surname="Berger"/>
            <date month="December" year="2017"/>
            <abstract>
              <t indent="0">This document defines a collection of common data types using the YANG data modeling language. These derived common types are designed to be imported by other modules defined in the routing area.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8294"/>
          <seriesInfo name="DOI" value="10.17487/RFC8294"/>
        </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="RFC8343" target="https://www.rfc-editor.org/info/rfc8343" quoteTitle="true" derivedAnchor="RFC8343">
          <front>
            <title>A YANG Data Model for Interface Management</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document defines a YANG data model for the management of network interfaces. It is expected that interface-type-specific data models augment the generic interfaces data model defined in this document. The data model includes definitions for configuration and system state (status information and counters for the collection of statistics).</t>
              <t indent="0">The YANG data model in this document conforms to the Network Management Datastore Architecture (NMDA) defined in RFC 8342.</t>
              <t indent="0">This document obsoletes RFC 7223.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8343"/>
          <seriesInfo name="DOI" value="10.17487/RFC8343"/>
        </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="RFC8777" target="https://www.rfc-editor.org/info/rfc8777" quoteTitle="true" derivedAnchor="RFC8777">
          <front>
            <title>DNS Reverse IP Automatic Multicast Tunneling (AMT) Discovery</title>
            <author fullname="J. Holland" initials="J." surname="Holland"/>
            <date month="April" year="2020"/>
            <abstract>
              <t indent="0">This document updates RFC 7450, "Automatic Multicast Tunneling" (or AMT), by modifying the relay discovery process. A new DNS resource record named AMTRELAY is defined for publishing AMT relays for source-specific multicast channels. The reverse IP DNS zone for a multicast sender's IP address is configured to use AMTRELAY resource records to advertise a set of AMT relays that can receive and forward multicast traffic from that sender over an AMT tunnel. Other extensions and clarifications to the relay discovery process are also defined.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8777"/>
          <seriesInfo name="DOI" value="10.17487/RFC8777"/>
        </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 anchor="sec-informative-references" pn="section-8.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <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="RFC4253" target="https://www.rfc-editor.org/info/rfc4253" quoteTitle="true" derivedAnchor="RFC4253">
          <front>
            <title>The Secure Shell (SSH) Transport Layer 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 (SSH) is a protocol for secure remote login and other secure network services over an insecure network.</t>
              <t indent="0">This document describes the SSH transport layer protocol, which typically runs on top of TCP/IP. The protocol can be used as a basis for a number of secure network services. It provides strong encryption, server authentication, and integrity protection. It may also provide compression.</t>
              <t indent="0">Key exchange method, public key algorithm, symmetric encryption algorithm, message authentication algorithm, and hash algorithm are all negotiated.</t>
              <t indent="0">This document also describes the Diffie-Hellman key exchange method and the minimal set of algorithms that are needed to implement the SSH transport layer protocol. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4253"/>
          <seriesInfo name="DOI" value="10.17487/RFC4253"/>
        </reference>
        <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="RFC7951" target="https://www.rfc-editor.org/info/rfc7951" quoteTitle="true" derivedAnchor="RFC7951">
          <front>
            <title>JSON Encoding of Data Modeled with YANG</title>
            <author fullname="L. Lhotka" initials="L." surname="Lhotka"/>
            <date month="August" year="2016"/>
            <abstract>
              <t indent="0">This document defines encoding rules for representing configuration data, state data, parameters of Remote Procedure Call (RPC) operations or actions, and notifications defined using YANG as JavaScript Object Notation (JSON) text.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7951"/>
          <seriesInfo name="DOI" value="10.17487/RFC7951"/>
        </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="RFC8340" target="https://www.rfc-editor.org/info/rfc8340" quoteTitle="true" derivedAnchor="RFC8340">
          <front>
            <title>YANG Tree Diagrams</title>
            <author fullname="M. Bjorklund" initials="M." surname="Bjorklund"/>
            <author fullname="L. Berger" initials="L." role="editor" surname="Berger"/>
            <date month="March" year="2018"/>
            <abstract>
              <t indent="0">This document captures the current syntax used in YANG module tree diagrams. The purpose of this document is to provide a single location for this definition. This syntax may be updated from time to time based on the evolution of the YANG language.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="215"/>
          <seriesInfo name="RFC" value="8340"/>
          <seriesInfo name="DOI" value="10.17487/RFC8340"/>
        </reference>
        <reference anchor="RFC8792" target="https://www.rfc-editor.org/info/rfc8792" quoteTitle="true" derivedAnchor="RFC8792">
          <front>
            <title>Handling Long Lines in Content of Internet-Drafts and RFCs</title>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <author fullname="E. Auerswald" initials="E." surname="Auerswald"/>
            <author fullname="A. Farrel" initials="A." surname="Farrel"/>
            <author fullname="Q. Wu" initials="Q." surname="Wu"/>
            <date month="June" year="2020"/>
            <abstract>
              <t indent="0">This document defines two strategies for handling long lines in width-bounded text content. One strategy, called the "single backslash" strategy, is based on the historical use of a single backslash ('\') character to indicate where line-folding has occurred, with the continuation occurring with the first character that is not a space character (' ') on the next line. The second strategy, called the "double backslash" strategy, extends the first strategy by adding a second backslash character to identify where the continuation begins and is thereby able to handle cases not supported by the first strategy. Both strategies use a self-describing header enabling automated reconstitution of the original content.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8792"/>
          <seriesInfo name="DOI" value="10.17487/RFC8792"/>
        </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="RFC9846" target="https://www.rfc-editor.org/info/rfc9846" quoteTitle="true" derivedAnchor="RFC9846">
          <front>
            <title>The Transport Layer Security (TLS) Protocol Version 1.3</title>
            <author fullname="E. Rescorla" initials="E." surname="Rescorla"/>
            <date month="July" year="2026"/>
            <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 obsoletes RFC 8446, which specified TLS 1.3. This document obsoletes RFC 5246 (specifying TLS 1.2) and RFCs 5077, 6961, 7627, and 8422, all of which pertain to TLS 1.2 or earlier, and updates RFCs 5705 and 6066. This document also specifies new requirements for TLS 1.2 implementations.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9846"/>
          <seriesInfo name="DOI" value="10.17487/RFC9846"/>
        </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="RFC9984" target="https://www.rfc-editor.org/info/rfc9984" quoteTitle="true" derivedAnchor="RFC9984">
          <front>
            <title>YANG Groupings for UDP Clients and UDP Servers</title>
            <author fullname="A. Huang-Feng" initials="A." surname="Huang-Feng"/>
            <author fullname="P. Francois" initials="P." surname="Francois"/>
            <author fullname="K. Watsen" initials="K." surname="Watsen"/>
            <date month="June" year="2026"/>
            <abstract>
              <t indent="0">This document presents two YANG 1.1 modules with reusable groupings for managing UDP clients and UDP servers.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9984"/>
          <seriesInfo name="DOI" value="10.17487/RFC9984"/>
        </reference>
        <reference anchor="W3C.REC-xml-20081126" target="https://www.w3.org/TR/2008/REC-xml-20081126/" quoteTitle="true" derivedAnchor="W3C.REC-xml-20081126">
          <front>
            <title>Extensible Markup Language (XML) 1.0 (Fifth Edition)</title>
            <author initials="T." surname="Bray" fullname="Tim Bray" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Paoli" fullname="Jean Paoli" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C.M." surname="Sperberg-McQueen" fullname="C. M. Sperberg-McQueen" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="E." surname="Maler" fullname="Eve Maler" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="F." surname="Yergeau" fullname="François Yergeau" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2008" month="November" day="26"/>
          </front>
          <refcontent>W3C Recommendation</refcontent>
          <annotation>Latest version available at <eref target="https://www.w3.org/TR/xml/" brackets="angle"/>.</annotation>
        </reference>
      </references>
    </references>
    <section anchor="full-tree" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-full-tree">Full Tree</name>
      <sourcecode type="yangtree" markers="false" pn="section-appendix.a-1">
module: ietf-amt
  augment /rt:routing/rt:control-plane-protocols:
    +--rw amt!
       +--rw relay {amt-relay}?
       |  +--rw addresses
       |  |  +--rw address* [family]
       |  |     +--rw family              identityref
       |  |     +--rw anycast-prefix?     inet:ip-prefix
       |  |     +--rw local-address?      inet:ip-address
       |  +--rw tunnel-limit?             uint32
       |  +--rw secret-key-rotation-interval?      uint32
       |  +--rw relay-dns-resource-records
       |  |  +--rw record* [source-address]
       |  |     +--rw source-address         inet:ip-address
       |  |     +--rw precedence?            uint32
       |  |     +--rw d-bit?                 boolean
       |  |     +--rw relay-type?            enumeration
       |  |     +--rw discovery-address?     inet:ip-address
       |  |     +--rw domain-name?           inet:domain-name
       |  +--ro tunnels
       |  |  +--ro tunnel* [gateway-address gateway-port]
       |  |     +--ro gateway-address     inet:ip-address
       |  |     +--ro gateway-port        inet:port-number
       |  |     +--ro local-address?      inet:ip-address
       |  |     +--ro local-port?         inet:port-number
       |  |     +--ro state?              identityref
       |  |     +--ro multicast-flows
       |  |     |  +--ro flow* [source-address
       |  |     |     |         group-address]
       |  |     |     +--ro source-address
       |  |     |     |         ip-multicast-source-address
       |  |     |     +--ro group-address
       |  |     |               rt-types:ip-multicast-group-address
       |  |     +--ro multicast-group-num?        yang:gauge32
       |  |     +--ro request-message-count?
       |  |     |              yang:zero-based-counter64
       |  |     +--ro membership-query-message-count?
       |  |     |              yang:zero-based-counter64
       |  |     +--ro membership-update-message-count?
       |  |     |              yang:zero-based-counter64
       |  |     +--ro discontinuity-time?          yang:date-and-time
       |  +--ro relay-message-statistics
       |     +--ro received
       |     |  +--ro relay-discovery?      yang:zero-based-counter64
       |     |  +--ro request?              yang:zero-based-counter64
       |     |  +--ro membership-update?    yang:zero-based-counter64
       |     |  +--ro teardown?             yang:zero-based-counter64
       |     +--ro sent
       |     |  +--ro relay-advertisement? yang:zero-based-counter64
       |     |  +--ro membership-query?     yang:zero-based-counter64
       |     +--ro error
       |     |  +--ro incomplete-packet?    yang:zero-based-counter64
       |     |  +--ro invalid-mac?          yang:zero-based-counter64
       |     |  +--ro unexpected-type?      yang:zero-based-counter64
       |     |  +--ro invalid-relay-discovery-address?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro invalid-membership-request-address?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro invalid-membership-update-address?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro incomplete-relay-discovery-messages?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro incomplete-membership-request-messages?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro incomplete-membership-update-messages?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro no-active-gateway?    yang:zero-based-counter64
       |     |  +--ro invalid-inner-header-checksum?
       |     |  |                           yang:zero-based-counter64
       |     |  +--ro gateways-timed-out?   yang:zero-based-counter64
       |     +--ro discontinuity-time?      yang:date-and-time
       +--rw gateway {amt-gateway}?
          +--rw pseudo-interfaces
          |  +--rw interface* [name]
          |     +--rw name                      if:interface-ref
          |     +--rw discovery-method?         identityref
          |     +--rw relay-discovery-address?  inet:ip-address
          |     +--rw relay-address?            inet:ip-address
          |     +--rw relay-port?               inet:port-number
          |     +--ro local-address?            inet:ip-address
          |     +--ro local-port?               inet:port-number
          |     +--rw upstream-interface?       if:interface-ref
          |     +--rw discovery-timeout?        uint32
          |     +--rw discovery-retrans-count?  uint32
          |     +--rw request-timeout?          uint32
          |     +--rw request-retrans-count?    uint32
          |     +--rw dest-unreach-retry-count? uint32
          |     +--ro tunnel-state?             identityref
          |     +--ro relay-discovery-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro relay-advertisement-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro request-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro membership-query-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro membership-update-message-count?
          |     |                      yang:zero-based-counter64
          |     +--ro discontinuity-time?     yang:date-and-time
          +--ro gateway-message-statistics
             +--ro discontinuity-time?        yang:date-and-time
             +--ro received
             |  +--ro relay-advertisement? yang:zero-based-counter64
             |  +--ro membership-query? yang:zero-based-counter64
             +--ro sent
                +--ro relay-discovery? yang:zero-based-counter64
                +--ro request?           yang:zero-based-counter64
                +--ro membership-update? yang:zero-based-counter64
                +--ro teardown?          yang:zero-based-counter64
</sourcecode>
    </section>
    <section anchor="data-model-example" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-data-model-example">Data Model Example</name>
      <t indent="0" pn="section-appendix.b-1">This section presents a simple and illustrative example of how to
   configure AMT.</t>
      <t indent="0" pn="section-appendix.b-2">The example is represented in both XML <xref target="W3C.REC-xml-20081126" format="default" sectionFormat="of" derivedContent="W3C.REC-xml-20081126"/> and
   JSON <xref target="RFC7951" format="default" sectionFormat="of" derivedContent="RFC7951"/> formats.</t>
      <t indent="0" pn="section-appendix.b-3">Some long lines in the XML examples are folded as specified in
   <xref target="RFC8792" format="default" sectionFormat="of" derivedContent="RFC8792"/>.</t>
      <t indent="0" pn="section-appendix.b-4"><xref target="fig-relay-example-xml" format="default" sectionFormat="of" derivedContent="Figure 7"/> shows a sample configuration for an AMT Relay
   service in XML format. This example configures the protocol address family
   (IPv4 or IPv6), secret key rotation interval (120 minutes), and tunnel limit
   (10) for the AMT Relay function. In addition, the AMT anycast prefix is
   set to 192.0.2.1/32 for IPv4 and 2001:db8::1/128 for IPv6, and the
   AMT local address is configured to 198.51.100.42 for IPv4 and
   2001:db8:abcd:12::42 for IPv6.</t>
      <figure anchor="fig-relay-example-xml" align="left" suppress-title="false" pn="figure-7">
        <name slugifiedName="name-data-model-example-for-rela">Data Model Example for Relay in XML</name>
        <sourcecode type="xml" markers="false" pn="section-appendix.b-5.1">
========== NOTE: '\\' line wrapping per RFC 8792 ==========

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"
         xmlns:rt="urn:ietf:params:xml:ns:yang:ietf-routing"&gt;
  &lt;control-plane-protocols&gt;
    &lt;amt xmlns="urn:ietf:params:xml:ns:yang:ietf-amt"&gt;
      &lt;relay&gt;
        &lt;addresses&gt;
          &lt;address&gt;
            &lt;family&gt;rt:ipv4&lt;/family&gt;
            &lt;anycast-prefix&gt;192.0.2.1/32&lt;/anycast-prefix&gt;
            &lt;local-address&gt;198.51.100.42&lt;/local-address&gt;
          &lt;/address&gt;
          &lt;address&gt;
            &lt;family&gt;rt:ipv6&lt;/family&gt;
            &lt;anycast-prefix&gt;2001:db8::1/128&lt;/anycast-prefix&gt;
            &lt;local-address&gt;2001:db8:abcd:12::42&lt;/local-address&gt;
          &lt;/address&gt;
        &lt;/addresses&gt;
        &lt;tunnel-limit&gt;10&lt;/tunnel-limit&gt;
        &lt;secret-key-rotation-interval&gt;\
          \120\
        \&lt;/secret-key-rotation-interval&gt;
      &lt;/relay&gt;
    &lt;/amt&gt;
  &lt;/control-plane-protocols&gt;
&lt;/routing&gt;
</sourcecode>
      </figure>
      <t indent="0" pn="section-appendix.b-6"><xref target="fig-relay-example-json" format="default" sectionFormat="of" derivedContent="Figure 8"/> shows the same sample configuration for an AMT Relay
   service in JSON format.</t>
      <figure anchor="fig-relay-example-json" align="left" suppress-title="false" pn="figure-8">
        <name slugifiedName="name-data-model-example-for-relay">Data Model Example for Relay in JSON</name>
        <sourcecode type="json" markers="false" pn="section-appendix.b-7.1">
{
  "ietf-routing:routing": {
    "control-plane-protocols": {
      "ietf-amt:amt": {
        "relay": {
          "addresses": {
            "address": [
              {
                "family": "ietf-routing:ipv4",
                "anycast-prefix": "192.0.2.1/32",
                "local-address": "198.51.100.42"
              },
              {
                "family": "ietf-routing:ipv6",
                "anycast-prefix": "2001:db8::1/128",
                "local-address": "2001:db8:abcd:12::42"
              }
            ]
          },
          "tunnel-limit": 10,
          "secret-key-rotation-interval": 120
        }
      }
    }
  }
}
</sourcecode>
      </figure>
      <t indent="0" pn="section-appendix.b-8"><xref target="fig-gateway-example-xml" format="default" sectionFormat="of" derivedContent="Figure 9"/> shows a sample configuration for an AMT Gateway service in XML format.
   This example configures two AMT pseudo-interfaces, Tunnel0 and Tunnel1. The Relay Discovery method
   is set to send an AMT Relay Discovery message.
   For Tunnel0, the Relay Discovery Address is configured as 192.0.2.1; for Tunnel1, it is 2001:db8::1.
   Additionally, the initial time to wait for a response to a Relay Discovery message is
   set to 60 seconds for both interfaces. Likewise, the initial time to wait for
   a response to a Request message is also configured to 60 seconds for both Tunnel0 and Tunnel1.</t>
      <figure anchor="fig-gateway-example-xml" align="left" suppress-title="false" pn="figure-9">
        <name slugifiedName="name-data-model-example-for-gate">Data Model Example for Gateway in XML</name>
        <sourcecode type="xml" markers="false" pn="section-appendix.b-9.1">
========== NOTE: '\\' line wrapping per RFC 8792 ==========

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"&gt;
  &lt;interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"
         xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type"&gt;
    &lt;interface&gt;
      &lt;name&gt;Tunnel0&lt;/name&gt;
      &lt;type&gt;ianaift:tunnel&lt;/type&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/interface&gt;
    &lt;interface&gt;
      &lt;name&gt;Tunnel1&lt;/name&gt;
      &lt;type&gt;ianaift:tunnel&lt;/type&gt;
      &lt;enabled&gt;true&lt;/enabled&gt;
    &lt;/interface&gt;
  &lt;/interfaces&gt;
  &lt;routing xmlns="urn:ietf:params:xml:ns:yang:ietf-routing"&gt;
    &lt;control-plane-protocols&gt;
      &lt;amt xmlns="urn:ietf:params:xml:ns:yang:ietf-amt"&gt;
        &lt;gateway&gt;
          &lt;pseudo-interfaces&gt;
            &lt;interface&gt;
              &lt;name&gt;Tunnel0&lt;/name&gt;
              &lt;discovery-method&gt;by-amt-solicit&lt;/discovery-method&gt;
              &lt;relay-discovery-address&gt;\
                \192.0.2.1\
              \&lt;/relay-discovery-address&gt;
              &lt;discovery-timeout&gt;60&lt;/discovery-timeout&gt;
              &lt;request-timeout&gt;60&lt;/request-timeout&gt;
            &lt;/interface&gt;
            &lt;interface&gt;
              &lt;name&gt;Tunnel1&lt;/name&gt;
              &lt;discovery-method&gt;by-amt-solicit&lt;/discovery-method&gt;
              &lt;relay-discovery-address&gt;\
                \2001:db8::1\
              \&lt;/relay-discovery-address&gt;
              &lt;discovery-timeout&gt;60&lt;/discovery-timeout&gt;
              &lt;request-timeout&gt;60&lt;/request-timeout&gt;
            &lt;/interface&gt;
          &lt;/pseudo-interfaces&gt;
        &lt;/gateway&gt;
      &lt;/amt&gt;
    &lt;/control-plane-protocols&gt;
  &lt;/routing&gt;
&lt;/config&gt;
</sourcecode>
      </figure>
      <t indent="0" pn="section-appendix.b-10"><xref target="fig-gateway-example-json" format="default" sectionFormat="of" derivedContent="Figure 10"/> shows the same sample configuration for an AMT Gateway
   service in JSON format.</t>
      <figure anchor="fig-gateway-example-json" align="left" suppress-title="false" pn="figure-10">
        <name slugifiedName="name-data-model-example-for-gatew">Data Model Example for Gateway in JSON</name>
        <sourcecode type="json" markers="false" pn="section-appendix.b-11.1">
{
  "ietf-interfaces:interfaces": {
    "interface": [
      {
        "name": "Tunnel0",
        "type": "iana-if-type:tunnel",
        "enabled": true
      },
      {
        "name": "Tunnel1",
        "type": "iana-if-type:tunnel",
        "enabled": true
      }
    ]
  },
  "ietf-routing:routing": {
    "control-plane-protocols": {
      "ietf-amt:amt": {
        "gateway": {
          "pseudo-interfaces": {
            "interface": [
              {
                "name": "Tunnel0",
                "discovery-method": "by-amt-solicit",
                "relay-discovery-address": "192.0.2.1",
                "discovery-timeout": 60,
                "request-timeout": 60
              },
              {
                "name": "Tunnel1",
                "discovery-method": "by-amt-solicit",
                "relay-discovery-address": "2001:db8::1",
                "discovery-timeout": 60,
                "request-timeout": 60
              }
            ]
          }
        }
      }
    }
  }
}
</sourcecode>
      </figure>
    </section>
    <section anchor="acknowledgments" numbered="false" toc="include" removeInRFC="false" pn="section-appendix.c">
      <name slugifiedName="name-acknowledgments">Acknowledgments</name>
      <t indent="0" pn="section-appendix.c-1">Thanks to <contact fullname="Mohamed Boucadair"/> for review and comments.</t>
      <t indent="0" pn="section-appendix.c-2">Thanks to <contact fullname="David Blacka"/> for the DNSDIR review, <contact fullname="Mike Ounsworth"/> for the SECDIR review,
<contact fullname="Michael Parsons"/> for the OPSDIR review, <contact fullname="Robert Wills"/> for the YANGDOCTORS review, and
<contact fullname="Behcet Sarikaya"/> for the GENART review.</t>
      <t indent="0" pn="section-appendix.c-3">Thanks to <contact fullname="Deb Cooley"/>, <contact fullname="Éric Vyncke" asciiFullname="Eric Vyncke"/>, <contact fullname="Gorry Fairhurst"/>, <contact fullname="Roman Danyliw"/>, <contact fullname="Andy Newton"/>,
<contact fullname="Christopher Inacio"/>, <contact fullname="Mahesh Jethanandani"/>, <contact fullname="Mike Bishop"/>, <contact fullname="Charles Eckel"/>, <contact fullname="Gunter Van de Velde"/>,
<contact fullname="Jim Guichard"/>, <contact fullname="Ketan Talaulikar"/>, and <contact fullname="Tommy Jensen"/> for the IESG review.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author initials="Y." surname="Liu" fullname="Yisong Liu" role="editor">
        <organization showOnFrontPage="true">China Mobile</organization>
        <address>
          <postal>
            <street>32 Xuanwumen West Street</street>
            <city>Beijing</city>
            <region>Xicheng District</region>
            <code>100053</code>
            <country>China</country>
          </postal>
          <email>liuyisong@chinamobile.com</email>
        </address>
      </author>
      <author initials="C." surname="Lin" fullname="Changwang Lin" role="editor">
        <organization showOnFrontPage="true">New H3C Technologies</organization>
        <address>
          <postal>
            <street>8 Yongjia North Road</street>
            <city>Beijing</city>
            <region>Haidian District</region>
            <code>100094</code>
            <country>China</country>
          </postal>
          <email>linchangwang.04414@h3c.com</email>
        </address>
      </author>
      <author initials="Z." surname="Zhang" fullname="Zheng (Sandy) Zhang">
        <organization showOnFrontPage="true">ZTE Corporation</organization>
        <address>
          <postal>
            <country>China</country>
          </postal>
          <email>zhang.zheng@zte.com.cn</email>
        </address>
      </author>
      <author initials="X." surname="Geng" fullname="Xuesong Geng">
        <organization showOnFrontPage="true">Huawei Technologies</organization>
        <address>
          <postal>
            <country>China</country>
          </postal>
          <email>gengxuesong@huawei.com</email>
        </address>
      </author>
      <author initials="V." surname="Kumar Nagaraj" fullname="Vinod Kumar Nagaraj">
        <organization showOnFrontPage="true">Juniper Networks</organization>
        <address>
          <email>vinkumar@juniper.net</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
