<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="info" docName="draft-li-lsr-isis-te-metric-lan-extensions-01" ipr="trust200902">
  <front>
    <title abbrev="IS-IS Traffic Engineering (TE) Metric LAN Extensions">IS-IS Traffic Engineering (TE)
    Metric LAN Extensions</title>

    <author fullname="Chenxi Li" initials="C. " surname="Li">
      <organization>Huawei</organization>

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

          <city>Beijing</city>

          <code>100095</code>

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

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

    <author fullname="Guoqi Xu" initials="G." surname="Xu">
      <organization>Huawei</organization>

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

          <city>Beijing</city>

          <code>100095</code>

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

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

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

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

          <city>Beijing</city>

          <code>100095</code>

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

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

    <date day="10" month="February" year="2023"/>

    <abstract>
      <t>In certain networks, network-performance criteria (e.g., latency) are
      becoming as critical to data-path selection as other metrics.
      This document describes extensions to IS-IS Traffic Engineering (TE) 
      Metric Extensions (RFC 8570) for LAN subnetworks.
      These extensions provide a way to distribute and collect
      network-performance information in LAN subnetworks.</t>
    </abstract>

    <note title="Requirements Language">
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
      "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
      document are to be interpreted as described in BCP 14
      [RFC2119] [RFC8174] when, and only when, they
      appear in all capitals, as shown here.</t>
    </note>
  </front>

  <middle>
    <section title="Introduction">
      <t>In certain networks, network-performance criteria (e.g., latency) are
      becoming as critical to data-path selection as other metrics.
      This document describes extensions to IS-IS Traffic Engineering (TE) 
      Metric Extensions (RFC 8570) for LAN subnetworks.
      These extensions provide a way to distribute and collect
      network-performance information in LAN subnetworks.</t>

      <t>In LAN subnetworks, the Designated Intermediate System (DIS) is
      elected and originates the Pseudonode LSP (PN LSP) including all
      neighbors of the DIS. Since, on LANs, each router
      only advertises one adjacency to the DIS (and doesn't advertise any
      other adjacency), each router should advertise the TE metric for
      each of its neighbors. Since the parent TLV is advertising an adjcacency to
      the DIS, it is necessary to include the System ID of the physical neighbor
      in each TE LAN Sub-TLV.</t>
    </section>

    <section title="Sub-TLV Details">
      <t>This document registers new IS-IS TE sub-TLVs in the "Sub-TLVs for
      TLVs 22, 23, 141, 222, and 223" registry.  These new sub-TLVs provides
      ways to distribute network-performance information in LAN subnetworks.</t>

      <t>This document registers new sub-TLVs:</t>
      <t><figure suppress-title="false"
          title="Figure 1">
          <artwork align="center"><![CDATA[
Type    Description
----------------------------------------------------
TBD     Unidirectional Link Delay LAN Sub-TLV
TBD     Min/Max Unidirectional Link Delay LAN Sub-TLV
TBD     Unidirectional Delay Variation LAN Sub-TLV
TBD     Unidirectional Link Loss LAN Sub-TLV
TBD     Unidirectional Residual Bandwidth LAN Sub-TLV
TBD     Unidirectional Available Bandwidth LAN Sub-TLV
TBD     Unidirectional Utilized Bandwidth LAN Sub-TLV
]]></artwork>
        </figure></t>

      <section title="Unidirectional Link Delay LAN Sub-TLV">
        <t>This sub-TLV advertises the average link delay between two real
        connected IS-IS neighbors in LAN.  Each router advertises the average
        link delay for each of its neighbors inside a newly defined sub-TLV
        that is a part of the TLV advertising the adjacency to the DIS (e.g., TLV-22).
        The format of this sub-TLV is shown in the following diagram:</t>

        <t><figure suppress-title="false"
            title="Figure 2: Unidirectional Link Delay LAN Sub-TLV">
            <artwork align="center"><![CDATA[
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type        |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Neighbor System-ID (ID length octets)        |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|A|  RESERVED   |               Delay                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
]]></artwork>
          </figure></t>

        <t>Type: TBD (suggested value 41) is to be assigned by IANA.</t>

        <t>Length: 4 + System-ID length.</t>

        <t>Neighbor System-ID: IS-IS System-ID of length "ID Length" as
        defined in [ISO10589].</t>

        <t>The other fields are the same as defined in [RFC8570] for
        Unidirectional Link Delay Sub-TLV.</t>

        <t>This sub-TLV is optional. This sub-TLV SHOULD appear only once in each
        parent TLV.</t>
      </section>
      <section title="Min/Max Unidirectional Link Delay LAN Sub-TLV">
        <t>This sub-TLV advertises the minimum and maximum delay values 
        between two real connected IS-IS neighbors in LAN.  Each router
        advertises the minimum and maximum delay for each of its neighbors
        inside a newly defined sub-TLV that is a part of the TLV advertising
        the adjacency to the DIS (e.g., TLV-22).
        The format of this sub-TLV is shown in the following diagram:</t>

        <t><figure suppress-title="false"
            title="Figure 3: Min/Max Unidirectional Link Delay LAN Sub-TLV">
            <artwork align="center"><![CDATA[
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type        |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Neighbor System-ID (ID length octets)        |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|A|  RESERVED   |               Min Delay                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|    RESERVED   |               Max Delay                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
]]></artwork>
          </figure></t>

        <t>Type: TBD (suggested value 42) is to be assigned by IANA.</t>

        <t>Length: 8 + System-ID length.</t>

        <t>Neighbor System-ID: IS-IS System-ID of length "ID Length" as
        defined in [ISO10589].</t>

        <t>The other fields are the same as defined in [RFC8570] for
        Min/Max Unidirectional Link Delay Sub-TLV.</t>

        <t>This sub-TLV is optional. This sub-TLV SHOULD appear only once in each
        parent TLV.</t>
    </section>
    <section title="Unidirectional Delay Variation LAN Sub-TLV">
        <t>This sub-TLV advertises the average link delay variation 
        between two real connected IS-IS neighbors in LAN.  Each router
        advertises average link delay variation for each of its neighbors
        inside a newly defined sub-TLV that is a part of the TLV advertising
        the adjacency to the DIS (e.g., TLV-22).
        The format of this sub-TLV is shown in the following diagram:</t>

        <t><figure suppress-title="false"
            title="Figure 4: Unidirectional Delay Variation LAN Sub-TLV">
            <artwork align="center"><![CDATA[
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type        |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Neighbor System-ID (ID length octets)        |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|A|  RESERVED   |               Delay Variation                 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
]]></artwork>
          </figure></t>

        <t>Type: TBD (suggested value 43) is to be assigned by IANA.</t>

        <t>Length: 4 + System-ID length.</t>

        <t>Neighbor System-ID: IS-IS System-ID of length "ID Length" as
        defined in [ISO10589].</t>

        <t>The other fields are the same as defined in [RFC8570] for
        Unidirectional Delay Variation Sub-TLV.</t>

        <t>This sub-TLV is optional. This sub-TLV SHOULD appear only once in each
        parent TLV.</t>
      </section>
      <section title="Unidirectional Link Loss LAN Sub-TLV">
        <t>This sub-TLV advertises the loss (as a packet percentage) 
        between two real connected IS-IS neighbors in LAN.  Each router
        advertises the link loss for each of its neighbors
        inside a newly defined sub-TLV that is a part of the TLV advertising
        the adjacency to the DIS (e.g., TLV-22).
        The format of this sub-TLV is shown in the following diagram:</t>

        <t><figure suppress-title="false"
            title="Figure 5: Unidirectional Link Loss LAN Sub-TLV">
            <artwork align="center"><![CDATA[
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type        |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Neighbor System-ID (ID length octets)        |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|A|  RESERVED   |               Link Loss                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
]]></artwork>
          </figure></t>

        <t>Type: TBD (suggested value 44) is to be assigned by IANA.</t>

        <t>Length: 4 + System-ID length.</t>

        <t>Neighbor System-ID: IS-IS System-ID of length "ID Length" as
        defined in [ISO10589].</t>

        <t>The other fields are the same as defined in [RFC8570] for
        Unidirectional Link Loss Sub-TLV.</t>

        <t>This sub-TLV is optional. This sub-TLV SHOULD appear only once in each
        parent TLV.</t>
      </section>
      <section title="Unidirectional Residual Bandwidth LAN Sub-TLV">
        <t>This sub-TLV advertises the residual bandwidth
        between two real connected IS-IS neighbors in LAN.  Each router
        advertises the residual bandwidth for each of its neighbors
        inside a newly defined sub-TLV that is a part of the TLV advertising
        the adjacency to the DIS (e.g., TLV-22).
        The format of this sub-TLV is shown in the following diagram:</t>

        <t><figure suppress-title="false"
            title="Figure 6: Unidirectional Residual Bandwidth LAN Sub-TLV">
            <artwork align="center"><![CDATA[
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type        |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Neighbor System-ID (ID length octets)        |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|                      Residual Bandwidth                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
]]></artwork>
          </figure></t>

        <t>Type: TBD (suggested value 45) is to be assigned by IANA.</t>

        <t>Length: 4 + System-ID length.</t>

        <t>Neighbor System-ID: IS-IS System-ID of length "ID Length" as
        defined in [ISO10589].</t>

        <t>The other fields are the same as defined in [RFC8570] for
        Unidirectional Residual Bandwidth Sub-TLV.</t>

        <t>This sub-TLV is optional. This sub-TLV SHOULD appear only once in each
        parent TLV.</t>
      </section>
      <section title="Unidirectional Available Bandwidth LAN Sub-TLV">
        <t>This sub-TLV advertises the available bandwidth
        between two real connected IS-IS neighbors in LAN.  Each router
        advertises the available bandwidth for each of its neighbors
        inside a newly defined sub-TLV that is a part of the TLV advertising
        the adjacency to the DIS (e.g., TLV-22).
        The format of this sub-TLV is shown in the following diagram:</t>

        <t><figure suppress-title="false"
            title="Figure 7: Unidirectional Available Bandwidth LAN Sub-TLV">
            <artwork align="center"><![CDATA[
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type        |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Neighbor System-ID (ID length octets)        |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|                      Available Bandwidth                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
]]></artwork>
          </figure></t>

        <t>Type: TBD (suggested value 46) is to be assigned by IANA.</t>

        <t>Length: 4 + System-ID length.</t>

        <t>Neighbor System-ID: IS-IS System-ID of length "ID Length" as
        defined in [ISO10589].</t>

        <t>The other fields are the same as defined in [RFC8570] for
        Unidirectional Available Bandwidth Sub-TLV.</t>

        <t>This sub-TLV is optional. This sub-TLV SHOULD appear only once in each
        parent TLV.</t>
      </section>
      <section title="Unidirectional Utilized Bandwidth LAN Sub-TLV">
        <t>This sub-TLV advertises the bandwidth utilization
        between two real connected IS-IS neighbors in LAN.  Each router
        advertises the bandwidth utilization (for each of its neighbors)
        inside a newly defined sub-TLV that is a part of the TLV advertising
        the adjacency to the DIS (e.g., TLV-22).
        The format of this sub-TLV is shown in the following diagram:</t>

        <t><figure suppress-title="false"
            title="Figure 8: Unidirectional Utilized Bandwidth LAN Sub-TLV">
            <artwork align="center"><![CDATA[
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type        |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  Neighbor System-ID (ID length octets)        |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
|                      Utilized Bandwidth                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+--+-+-+-+-+-+-+--+
]]></artwork>
          </figure></t>

        <t>Type: TBD (suggested value 47) is to be assigned by IANA.</t>

        <t>Length: 4 + System-ID length.</t>

        <t>Neighbor System-ID: IS-IS System-ID of length "ID Length" as
        defined in [ISO10589].</t>

        <t>The other fields are the same as defined in [RFC8570] for
        Unidirectional Utilized Bandwidth Sub-TLV.</t>

        <t>This sub-TLV is optional. This sub-TLV SHOULD appear only once in each
        parent TLV.</t>
      </section>
    </section>
    <section title="Announcement Thresholds and Filters">
      <t>This document uses the same principle for announcement thresholds and filters
      as described in RFC 8570.</t>
    </section>
    
    <section title="Announcement Suppression">
      <t>This document uses the same principle for announcement suppression as described
      in RFC 8570.</t>
    </section>
    
    <section title="Network Stability and Announcement Periodicity">
      <t>This document uses the same principle for network stability and announcement periodicity
      as described in RFC 8570.</t>
    </section>
    
    <section title="Enabling and Disabling Sub-TLVs">
      <t>Implementations MUST make it possible to enable or disable each sub-TLV 
      based on configuration.</t>
    </section>
    
    <section title="Compatibility">
      <t>Unrecognized sub-TLVs should be silently ignored.</t>
    </section>
      
    <section title="Acknowledgements">
      <t>TBD.</t>
    </section>

    <section anchor="IANA" title="IANA Considerations">
      <t>This document requests that IANA allocates new sub-TLV types
      from the "Sub-TLVs for TLVs 22, 23, 25, 141, 222, and 223 (Extended
      IS reachability, IS Neighbor Attribute, L2 Bundle Member Attributes,
      inter-AS reachability information, MT-ISN, and MT IS Neighbor
      Attribute TLVs)" registry as specified.</t>

      <t><figure align="center" title="Figure 9">
          <artwork><![CDATA[
Value       Description
---------------------------------------------------------------
TBD         Unidirectional Link Delay LAN Sub-TLV
TBD         Min/Max Unidirectional Link Delay LAN Sub-TLV
TBD         Unidirectional Delay Variation LAN Sub-TLV
TBD         Unidirectional Link Loss LAN Sub-TLV
TBD         Unidirectional Residual Bandwidth LAN Sub-TLV
TBD         Unidirectional Available Bandwidth LAN Sub-TLV
TBD         Unidirectional Utilized Bandwidth LAN Sub-TLV
]]></artwork>
        </figure></t>
    </section>

    <section anchor="Security" title="Security Considerations">
      <t>These extensions to IS-IS do not add any new security issues
      to the existing IGP.</t>
    </section>
  </middle>

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

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