<?xml version="1.0" encoding="UTF-8"?>
<?rfc toc="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<?rfc private=""?>
<?rfc topblock="yes"?>
<?rfc comments="no"?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true"
docName="draft-ietf-lsr-l2-bundle-member-remote-id-07" submissionType="IETF" ipr="trust200902" xml:lang="en">
  <front>
    <title abbrev="L2 Bundle Member Remote ID">Advertisement of Remote Interface Identifiers for Layer 2 Bundle Members</title>

    <author fullname="Liyan Gong" initials="L." surname="Gong">
      <organization>China Mobile</organization>
      <address>
        <postal>
          <country>China</country>
        </postal>
        <email>gongliyan@chinamobile.com</email>
      </address>
    </author>

    <author fullname="Changwang Lin" initials="C." surname="Lin">
      <organization>New H3C Technologies</organization>
      <address>
        <postal>
          <country>China</country>
        </postal>
        <email>linchangwang.04414@h3c.com</email>
      </address>
    </author>

    <author fullname="Xiaolong Hu" initials="X." surname="Hu">
      <organization>New H3C Technologies</organization>
      <address>
        <postal>
          <country>China</country>
        </postal>
        <email>huxiaolong.1260@outlook.com</email>
      </address>
    </author>

    <author fullname="Les Ginsberg" initials="L." surname="Ginsberg">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <country>United States of America</country>
        </postal>
        <email>ginsberg@cisco.com</email>
      </address>
    </author>

    <author fullname="Peter Psenak" initials="P." surname="Psenak">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <street>Apollo Business Center</street>
          <street>Mlynske nivy 43</street>
          <city>Bratislava 821 09</city>
          <country>Slovakia</country>
        </postal>
        <email>ppsenak@cisco.com</email>
      </address>
    </author>

    <date year="2026"/>

    <area>Routing</area>
    <workgroup>LSR Working Group</workgroup>
    <keyword>OSPF, IS-IS, BGP-LS, Layer 2 Bundle, Link Aggregation</keyword>

    <abstract>
      <t>
        In networks where Layer 2 (L2) interface bundles (such as a Link
        Aggregation Group (LAG) as defined in IEEE 802.1AX) are deployed, a controller
        may need to collect the connectivity relationships between bundle
        members for traffic engineering (TE) purposes. For example, when
        performing topology management and bidirectional path computation
        for TE, it is essential to know the connectivity relationships among
        bundle members.
      </t>
      <t>
        This document describes how Open Shortest Path First (OSPF) and
        Intermediate System to Intermediate System (IS-IS) would advertise the
        remote interface identifiers for L2 bundle members. The
        corresponding extension of BGP Link State (BGP-LS) is also specified.
      </t>
    </abstract>
  </front>

  <middle>
    <section anchor="introduction" numbered="true" toc="default">
      <name>Introduction</name>
      <t>
        BGP Link State (BGP-LS) <xref target="RFC9552"/> is widely used for collecting topology information
        from Interior Gateway Protocols (IGPs). In networks where Layer 2 (L2) interface bundles (such as
        a Link Aggregation Group (LAG) <xref target="IEEE802.1AX"/>) are deployed, a
        controller may need to collect the connectivity relationships
        between bundle members for traffic engineering (TE) purposes. For example,
        when performing topology management and bidirectional path computation for
        TE (e.g., for a co-routed associated bidirectional path as defined in Section 2.2.2
        of <xref target="RFC8537"/> or Section 3.3 of <xref target="RFC9059"/>),
        knowledge of the connectivity relationships among bundle members is required.
      </t>
      <t>
        When advertising L2 bundles in Open Shortest Path First (OSPF) <xref target="RFC9356"/>
        and Intermediate System to Intermediate System (IS-IS) <xref target="RFC8668"/>, a
        member link is described by its local interface identifier, also
        referred to as a link local identifier. If the remote interface
        identifier could be advertised for each member link, the pairing
        relationships between the local and remote interfaces would be clear.
      </t>
      <t>
        This document describes the mechanism for advertising the remote
        interface identifier for L2 bundle members in OSPF and IS-IS.
        The BGP-LS extension for advertising L2 bundle member interface
        remote identifier is also specified in this document.
      </t>

      <section anchor="requirements-language" numbered="true" toc="default">
        <name>Requirements Language</name>
        <t>
          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 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all
          capitals, as shown here.
        </t>
      </section>
    </section>

    <section anchor="use-case" numbered="true" toc="default">
      <name>Use Case</name>
      <t>
        <xref target="figure1" format="default"/> shows a network, in which an
        L2 bundle is deployed between R1 and R2. The controller collects the
        topology information from R3 via BGP-LS.
      </t>
      <figure anchor="figure1">
        <name>Network Topology with L2 Bundle</name>
        <artwork align="center">
<![CDATA[
                +----------+       BGP-LS
                |Controller|<-------------------+
                +----------+                    |
                                                |
                                                |
                                                |
   +----+         L2-Bundle          +----+   +-+--+
   |    |  /-------member 1-------\  |    |   |    |
   |    | /                        \ |    |   |    |
   | R1 +----------member 2----------+ R2 +---+ R3 |
   |    | \                        / |    |   |    |
   |    |  \-------member 3-------/  |    |   |    |
   +----+                            +----+   +----+
]]>
        </artwork>
      </figure>
      <t>
        The network operator may want to control bidirectional traffic flows
        on the individual member links of the underlying L2 bundle for
        TE purposes. The real-time bandwidth, delay, and link loss might be
        measured for each bundle member at both ends. Labels or Segment Identifiers (SIDs)
        might be allocated for each bundle member at both ends. So, there would be
        requirements for the controller to figure out the connectivity
        relationships between bundle members.
      </t>
      <t>
        This document defines a mechanism for IGP routers to advertise the
        remote interface identifiers for each L2 bundle member, along with
        the corresponding mechanism for the controller to collect such
        information via BGP-LS. The controller can then correlate the
        member links at the two ends of the L2 bundle: as specified in
        <xref target="acquirement"/>, the remote identifier advertised by
        one router for a bundle member equals the local identifier
        advertised by its neighbor for that same member, so a remote
        identifier advertised at one end matches the local identifier
        advertised at the other end.
      </t>
      <t>
        An absent remote identifier means that the value is not learned
        or not advertised for that member; it does not indicate that the
        peer has no corresponding member. In particular, when one
        endpoint of the L2 bundle implements the extension described in
        this document and the other endpoint does not, the members
        advertised by the endpoint that supports the extension will not
        carry remote identifiers.
      </t>
    </section>

    <section anchor="advertising-remote-id" numbered="true" toc="default">
      <name>Advertising L2 Bundle Member Remote Interface Identifier</name>
      <t>
        The routers at both ends of the LAG (e.g., R1 and R2 in
        <xref target="figure1"/>) independently advertise their local member
        interface information along with the corresponding remote interface
        identifiers.
      </t>
      <t>
        The following subsections describe how the remote interface
        identifiers of L2 bundle members are advertised in OSPF, IS-IS,
        and BGP-LS, respectively. The L2 bundle member information is
        advertised in association with the parent Layer 3 (L3) link (i.e., the
        logical link directly operated on by the L3 protocol, as
        distinguished from the individual L2 bundle member links which
        are not directly visible to L3).
      </t>
      <t>
        The descriptions in this section are intended to be illustrative
        and are not meant to be normative. The normative definitions of
        the L2 bundle member attribute objects (the L2 Bundle Member
        Attributes Type-Length-Value (TLV) for IS-IS and BGP-LS, and the
        L2 Bundle Member Attributes sub-TLV for OSPF) and of their
        sub-TLVs are provided in <xref target="RFC9356"/> for OSPF,
        <xref target="RFC8668"/> for IS-IS, and
        <xref target="RFC9085"/> for BGP-LS. Note that the term "sub-TLV" is used
        throughout this document (consistent with the referenced RFCs) to
        refer to TLVs that are nested within a parent TLV.
      </t>

      <section anchor="ospf-advertisement" numbered="true" toc="default">
        <name>OSPF Advertisement</name>
        <t>
          In OSPF, the remote interface identifiers of L2 bundle members are
          advertised as follows.
        </t>
        <t>
          OSPFv2 Extended Link TLV <xref target="RFC7684"/>, or OSPFv3
          Router-Link TLV <xref target="RFC8362"/>, for the parent L3 link:
        </t>
        <artwork align="left">
<![CDATA[
L2 Bundle Member Attributes sub-TLV:
  L2 Bundle Member Descriptor of Member #1
  L2 Bundle Member Interface Remote Identifier sub-TLV (Optional -
    as defined in Section 4)
L2 Bundle Member Attributes sub-TLV:
  L2 Bundle Member Descriptor of Member #2
  L2 Bundle Member Interface Remote Identifier sub-TLV (Optional -
    as defined in Section 4)
...
L2 Bundle Member Attributes sub-TLV:
  L2 Bundle Member Descriptor of Member #n
  L2 Bundle Member Interface Remote Identifier sub-TLV (Optional -
    as defined in Section 4)
]]>
        </artwork>
      </section>

      <section anchor="isis-advertisement" numbered="true" toc="default">
        <name>IS-IS Advertisement</name>
        <t>
          In IS-IS, the remote interface identifiers of L2 bundle members are
          advertised as follows. Note that IS-IS can advertise a set of
          members in a single L2 Bundle Attribute Descriptor, so the L2
          Bundle Member Interface Remote Identifier sub-TLV MUST carry
          multiple remote interface identifiers, one for each bundle
          member advertised in the associated L2 Bundle Member
          Descriptor.
        </t>
        <artwork align="left">
<![CDATA[
L2 Bundle Member Attributes TLV:
  Parent L3 Neighbor Descriptor
  L2 Bundle Attribute Descriptor (one or more may be present):
    Length of L2 Bundle Attribute Descriptor
    Number of L2 Bundle Member Descriptors
    L2 Bundle Member Link Local Identifiers of Member #1,#2,...,#n
    sub-TLV(s)
    L2 Bundle Member Interface Remote Identifier sub-TLV (Optional -
      as defined in Section 5) for Member #1,#2,...,#n
]]>
        </artwork>
      </section>

      <section anchor="bgp-ls-advertisement" numbered="true" toc="default">
        <name>BGP-LS Advertisement</name>
        <t>
          In BGP-LS, the remote interface identifiers of L2 bundle members are
          advertised in the BGP-LS Link Network Layer Reachability Information
          (NLRI) as follows. As specified in Section 2.2.3 of
          <xref target="RFC9085"/>, the L2 Bundle Member Attributes TLV is
          associated with the Link NLRI that describes the parent L3 link.
        </t>
        <artwork align="left">
<![CDATA[
BGP-LS Link NLRI: The parent L3 link for R1->R2 (as described in
    Section 2.2.3 of [RFC9085])
Link Attributes:
  L2 Bundle Member Attributes TLV:
    L2 Bundle Member Descriptor of Member #1
    L2 Bundle Member Interface Remote Identifier sub-TLV (Optional -
      as defined in Section 6)
  L2 Bundle Member Attributes TLV:
    L2 Bundle Member Descriptor of Member #2
    L2 Bundle Member Interface Remote Identifier sub-TLV (Optional -
      as defined in Section 6)
  ...
  L2 Bundle Member Attributes TLV:
    L2 Bundle Member Descriptor of Member #n
    L2 Bundle Member Interface Remote Identifier sub-TLV (Optional -
      as defined in Section 6)
]]>
        </artwork>
      </section>
    </section>

    <section anchor="ospf-extension" numbered="true" toc="default">
      <name>OSPF Extension</name>
      <t>
        This document defines a new L2 Bundle Member Interface Remote
        Identifier sub-TLV in both OSPFv2 and OSPFv3. This sub-TLV is used
        to advertise the remote interface identifier for an L2 bundle member.
      </t>
      <t>
        It can be carried as a sub-TLV of the OSPF L2 Bundle Member
        Attributes sub-TLV <xref target="RFC9356"/>. It has the following format:
      </t>
      <artwork align="left">
<![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Type (TBA)           |           Length (4)          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     Remote Interface ID                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]>
      </artwork>
      <dl>
        <dt>Type:</dt><dd>TBA (to be assigned from the "OSPFv2 Extended
          Link TLV Sub-TLVs" registry and the "OSPFv3 Extended-LSA Sub-TLVs" registry).</dd>
        <dt>Length:</dt><dd>4.</dd>
        <dt>Remote Interface ID:</dt><dd>Remote identifier of interface, 4 octets.
          See <xref target="acquirement"/> for the definition of the remote
          interface identifier.</dd>
      </dl>
      <t>
        A remote interface ID with value of zero is not valid and MUST be
        ignored and handled as if the sub-TLV was not present. An
        originator MUST NOT advertise a value of zero for the Remote
        Interface ID, since a value of zero is reserved to indicate that
        the remote interface identifier is unknown, consistent with the
        Link Local Identifier defined in <xref target="RFC4202"/>
        (see <xref target="acquirement"/>).
      </t>
      <t>
        If the Length of this sub-TLV is not 4, the sub-TLV MUST be
        ignored and handled as if it was not present.
      </t>
      <t>
        The L2 Bundle Member Interface Remote Identifier sub-TLV MUST NOT appear
        more than once within the same L2 Bundle Member Attributes sub-TLV. If multiple
        instances of this sub-TLV are received within the same L2 Bundle Member
        Attributes sub-TLV, implementations MUST use the first occurrence and ignore
        subsequent occurrences.
      </t>
    </section>

    <section anchor="isis-extension" numbered="true" toc="default">
      <name>IS-IS Extension</name>
      <t>
        This document defines a new L2 Bundle Member Interface Remote
        Identifier sub-TLV in IS-IS. This sub-TLV is used to advertise the
        remote interface identifiers for L2 bundle members.
      </t>
      <t>
        It can be carried as a sub-TLV of the IS-IS L2 Bundle Member
        Attributes TLV <xref target="RFC8668"/>. It has the following format:
      </t>
      <artwork align="left">
<![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Type (TBA)  |     Length    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     Remote Interface ID 1                     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~                     ...                                       ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     Remote Interface ID N                     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]>
      </artwork>
      <dl>
        <dt>Type:</dt><dd>TBA (to be assigned from the "IS-IS Sub-TLVs
          for TLVs Advertising Neighbor Information" registry).</dd>
        <dt>Length:</dt><dd>A non-zero multiple of 4: 4 * Number of L2
          Bundle Member Descriptors in the enclosing L2 Bundle Attribute
          Descriptor.</dd>
        <dt>Remote Interface ID:</dt><dd>Remote identifier of interface, 4 octets.
          See <xref target="acquirement"/> for the definition of the remote
          interface identifier.</dd>
      </dl>
      <t>
        The number of Remote Interface IDs carried in this sub-TLV MUST
        equal the Number of L2 Bundle Member Descriptors advertised in
        the enclosing L2 Bundle Attribute Descriptor. The Remote Interface
        IDs are ordered such that the first Remote Interface ID
        corresponds to the first L2 Bundle Member Descriptor listed in
        the L2 Bundle Attribute Descriptor, the second Remote Interface ID
        corresponds to the second L2 Bundle Member Descriptor, and so on.
        A remote interface ID with value of zero MUST be ignored and
        handled as if the value was unknown.
      </t>
      <t>
        If the Length of this sub-TLV is zero or is not a multiple of 4,
        or if the number of Remote Interface IDs it carries does not
        equal the Number of L2 Bundle Member Descriptors in the enclosing
        L2 Bundle Attribute Descriptor, the sub-TLV MUST be ignored and
        handled as if it was not present (i.e., the remote identifiers of
        all the bundle members in that descriptor are treated as
        unknown).
      </t>
      <t>
        The L2 Bundle Member Interface Remote Identifier sub-TLV MUST NOT appear
        more than once within the sub-TLV set of a single L2 Bundle Attribute
        Descriptor. If multiple instances of this sub-TLV are received within the
        same L2 Bundle Attribute Descriptor (e.g., during transient conditions),
        implementations MUST use the first occurrence in the lowest numbered Link
        State Protocol Data Unit (LSP) fragment and ignore subsequent
        occurrences.
      </t>
      <t>
        A value of zero in a Remote Interface ID is permitted only as a
        positional placeholder indicating that the remote identifier for
        the corresponding bundle member is unknown; it MUST NOT be used
        with any other meaning. As described in
        <xref target="acquirement"/>, when the remote identifier of every
        bundle member in an L2 Bundle Attribute Descriptor is unknown, the
        originator SHOULD omit the sub-TLV entirely rather than advertise
        zero for each member.
      </t>
      <t>
        The L2 Bundle Attribute Descriptor has a one-octet Length field,
        and the Number of L2 Bundle Member Descriptors field is also one
        octet; the sub-TLV space available for this sub-TLV within an
        L2 Bundle Attribute Descriptor is therefore bounded. When the
        remote identifiers for a set of bundle members do not fit within
        these one-octet limits (including the sub-TLV header), the
        originator SHOULD split the members across multiple L2 Bundle
        Attribute Descriptors within the same L2 Bundle Member Attributes
        TLV, with each instance of this sub-TLV covering the members of
        its associated descriptor.
      </t>
      <t>
        The Multi-Part TLV (MP-TLV) applicability <xref target="RFC9885"/> for the new IS-IS
        sub-TLV is N (MP-TLV procedures are not applicable to this sub-TLV).
      </t>
    </section>

    <section anchor="bgp-ls-extension" numbered="true" toc="default">
      <name>BGP-LS Extension</name>
      <t>
        This document defines a new L2 Bundle Member Interface Remote
        Identifier sub-TLV in BGP-LS. This sub-TLV is derived from the
        Remote Interface Identifier sub-TLV of OSPF
        (<xref target="ospf-extension"/>) and IS-IS
        (<xref target="isis-extension"/>).
      </t>
      <t>
        It can be carried as a sub-TLV of the BGP-LS L2 Bundle Member
        Attributes TLV <xref target="RFC9085"/>. It has the following format:
      </t>
      <artwork align="left">
<![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          Type (TBA)           |           Length (4)          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     Remote Interface ID                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]>
      </artwork>
      <dl>
        <dt>Type:</dt><dd>TBA (to be assigned from the "BGP-LS NLRI and
          Attribute TLVs" registry).</dd>
        <dt>Length:</dt><dd>4.</dd>
        <dt>Remote Interface ID:</dt><dd>Remote identifier of interface, 4 octets.
          See <xref target="acquirement"/> for the definition of the remote
          interface identifier.</dd>
      </dl>
      <t>
        A remote interface ID with value of zero is not valid and MUST be
        ignored and handled as if the sub-TLV was not present.
      </t>
      <t>
        The L2 Bundle Member Interface Remote Identifier sub-TLV MUST NOT appear
        more than once within the same L2 Bundle Member Attributes TLV. If multiple
        instances of this sub-TLV are received within the same L2 Bundle Member
        Attributes TLV, implementations MUST use the first occurrence and ignore
        subsequent occurrences.
      </t>
      <t>
        The L2 Bundle Member Attributes TLV (type 1172) carrying this
        sub-TLV is associated with the Link NLRI that describes the parent
        L3 link.
      </t>
      <t>
        An L2 Bundle Member Descriptor and its L2 Bundle Member Interface
        Remote Identifier sub-TLV advertised in OSPF
        (<xref target="ospf-extension"/>) map one-to-one to an L2 Bundle
        Member Attributes TLV instance in BGP-LS. For IS-IS
        (<xref target="isis-extension"/>), the ordered list of Remote
        Interface IDs carried in a single sub-TLV instance maps
        positionally to the ordered list of L2 Bundle Member Link Local
        Identifiers advertised under the associated L2 Bundle Attribute
        Descriptor, and each member and its remote identifier are exported
        in the corresponding L2 Bundle Member Attributes TLV instance in
        BGP-LS.
      </t>
      <t>
        A member whose remote identifier is unknown, or which is
        advertised with a value of zero in IS-IS as described in
        <xref target="acquirement"/>, is exported without the L2 Bundle
        Member Interface Remote Identifier sub-TLV in the corresponding
        L2 Bundle Member Attributes TLV instance; a value of zero is
        never exported in BGP-LS.
      </t>
      <t>
        With respect to the roles defined in Section 3 of
        <xref target="RFC9552"/>, a BGP-LS Producer originates this
        sub-TLV as part of the BGP-LS Attribute of the Link NLRI
        describing the parent L3 link, following the mapping described
        above. A BGP-LS Propagator does not perform semantic validation
        of this sub-TLV and does not remove it due to semantic or
        syntactic length mismatches beyond the 'Attribute Discard' fault
        handling defined in Section 8.2.2 of <xref target="RFC9552"/>.
        Semantic validation of the sub-TLV (e.g., consistency checking as
        described in <xref target="acquirement"/>) is performed by the
        BGP-LS Consumer, and the handling of any resulting errors is
        specific to the application and outside the scope of this
        document.
      </t>
    </section>

    <section anchor="acquirement" numbered="true" toc="default">
      <name>Acquisition of the Remote Interface Identifier</name>
      <t>
        The routers at both ends of the L2 bundle independently assign a
        non-zero 32-bit identifier to each of their bundle members and
        advertise it as the L2 Bundle Member Link Local Identifier in the
        L2 Bundle Member Descriptor (<xref target="RFC9356"/>,
        <xref target="RFC8668"/>), consistent with the Link Local
        Identifier defined in <xref target="RFC4202"/>.
      </t>
      <t>
        The remote interface identifier advertised by a router for a
        bundle member MUST be the exact non-zero 32-bit value that the
        neighboring router advertises as the L2 Bundle Member Link Local
        Identifier for that same bundle member. In other words, if R1
        advertises remote identifier X for its local member with
        identifier A, then R2 (the neighbor) advertises local identifier
        X for that member, and symmetrically R2 advertises remote
        identifier A for its local member with identifier X. This
        relationship ensures that a controller can correlate the
        advertisements from the two ends of each member link.
      </t>
      <t>
        IGPs provide no direct way for a router to learn the identifiers
        assigned by its neighbor to the individual bundle members, since
        the L3 protocol does not operate on the bundle members. The
        acquisition of the exact remote identifier value is therefore
        outside the scope of this document. Implementations MAY obtain the
        value through configuration or through implementation-specific
        discovery procedures. L2 protocols such as the Link Layer
        Discovery Protocol (LLDP)
        (<xref target="IEEE802.1AB"/>) and the Link Aggregation Control
        Protocol (LACP) (<xref target="IEEE802.1AX"/>)
        allow a router to discover the identity of the neighboring port on
        each member link, and implementations MAY use them as part of such
        procedures. Note, however, that the identifiers carried by these
        protocols are not required to match the L2 Bundle Member Link
        Local Identifiers advertised by the neighbor: the LLDP Port ID is
        subtype-dependent and is not necessarily a 32-bit numeric value,
        and the LACP Actor and Partner Port Numbers are 16-bit values
        assigned independently by each end. Any mapping between the
        identifiers discovered via these protocols and the neighbor's
        advertised L2 Bundle Member Link Local Identifiers is
        implementation-specific.
      </t>
      <t>
        To verify the correctness of the acquired remote identifiers,
        implementations SHOULD provide mechanisms to validate that
        received advertisements are consistent with the relationship
        defined above, i.e., that the value advertised as the remote
        identifier for a member equals the value advertised as the L2
        Bundle Member Link Local Identifier for the corresponding member
        by the neighboring router. Mismatched pairs may indicate
        misconfiguration or incorrect discovery.
      </t>
    </section>

    <section anchor="operational-considerations" numbered="true" toc="default">
      <name>Operational Considerations</name>
      <t>
        Implementations MUST NOT enable the advertisement of the L2 Bundle
        Member Interface Remote Identifier sub-TLV by default and MUST
        provide a configuration option to enable its advertisement on
        specific links.
      </t>

    </section>

    <section anchor="security-considerations" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>
        This document describes how OSPF, IS-IS and BGP-LS would advertise
        the remote interface identifiers for L2 bundle members. The
        security considerations of <xref target="RFC8668"/>, <xref target="RFC9356"/>,
        <xref target="RFC9552"/>, <xref target="RFC9085"/> and <xref target="RFC9086"/> are applicable to this
        document. In addition, the acquisition of the remote interface
        identifiers specified in <xref target="acquirement"/> introduces
        the trust considerations described below.
      </t>
      <t>
        The advertisement of the remote interface identifier introduces a
        new trust boundary. IGP authentication protects the advertisement
        once the originating router has created it, but it does not
        authenticate the local L2 information from which the router
        obtained the remote member mapping. As described in
        <xref target="acquirement"/>, the value of the remote identifier
        may be acquired through configuration or through
        implementation-specific discovery procedures that may rely on L2
        protocols such as LLDP and LACP. The trust placed in these
        acquisition mechanisms therefore directly affects the
        trustworthiness of the information advertised by this document.
      </t>
      <t>
        A spoofed, stale, or inconsistent mapping produced by the
        acquisition mechanism could cause a router to advertise a false
        remote interface identifier and thus create a false association
        between the member links at the two ends of the L2 bundle. A
        controller that consumes this information for TE or failure
        correlation might then steer traffic onto member links that are
        not actually connected or misdiagnose the scope of a failure. To
        limit the impact of stale information, an originator MUST NOT
        continue to advertise a remote identifier that it knows to be no
        longer valid and SHOULD withdraw or replace the value when its
        source changes or ages out, as specified in
        <xref target="acquirement"/>.
      </t>
      <t>
        The relationship between the local and remote identifiers is
        reciprocal as defined in <xref target="acquirement"/>: the remote
        identifier advertised by one router for a bundle member MUST
        equal the local identifier advertised by its neighbor for that
        same member. Recipients such as a BGP-LS Consumer can use this
        reciprocity to validate the mapping. As noted in
        <xref target="acquirement"/>, implementations SHOULD provide
        mechanisms to validate received advertisements against this
        relationship; mismatched pairs may indicate misconfiguration,
        incorrect discovery, or tampering with the acquisition mechanism.
      </t>
      <t>
        Advertising the remote interface identifier exposes additional
        topology detail beyond that provided by the advertisements
        specified in <xref target="RFC8668"/>, <xref target="RFC9356"/>,
        and <xref target="RFC9085"/>: it reveals the pairing of the
        individual member links between the two ends of the L2 bundle.
        An operator who considers this detail sensitive should take it
        into account when deciding whether to enable the advertisement
        (see <xref target="operational-considerations"/>). The isolation
        of BGP-LS peering sessions is recommended to ensure that BGP-LS
        topology information (including the newly added remote interface
        identifier information) is not advertised to an external BGP
        peering session outside the trusted domain, as described in
        Section 10 of <xref target="RFC9552"/>.
      </t>
      <t>
        If the IS-IS protocol is used in an environment where
        unauthorized access to the physical links on which IS-IS Protocol
        Data Units (PDUs) are sent occurs, then attacks are possible. The
        use of authentication as defined in <xref target="RFC5304"/> and <xref target="RFC5310"/> is
        recommended to prevent such attacks.
      </t>
      <t>
        If the OSPF protocol is used in an environment where
        unauthorized access to the physical links on which OSPF packets are
        sent occurs, then attacks are possible. The use of authentication
        as defined in <xref target="RFC5709"/>, <xref target="RFC7474"/>, <xref target="RFC4552"/>, and <xref target="RFC7166"/> is
        recommended for preventing such attacks.
      </t>
    </section>

    <section anchor="iana-considerations" numbered="true" toc="default">
      <name>IANA Considerations</name>
      <t>
        This document adds the following new sub-TLV to the "OSPFv2 Extended
        Link TLV Sub-TLVs" registry. The L2 Bundle Member (L2BM) column
        indicates whether the sub-TLV MAY appear ("Y") or MUST NOT appear
        ("N") within the L2 Bundle Member Attributes sub-TLV
        <xref target="RFC9356"/>.
      </t>
      <artwork align="left">
<![CDATA[
+------+----------------------------------------------+----+
| Type | Designation                                  |L2BM|
+======+==============================================+====+
| TBA  | L2 Bundle Member Interface Remote Identifier | Y  |
+------+----------------------------------------------+----+
]]>
      </artwork>
      <t>
        This document adds the following new sub-TLV to the "OSPFv3
        Extended-LSA Sub-TLVs" registry. In this registry, the "L2BM" column
        has an additional value "X", which indicates that a sub-TLV is not a
        sub-TLV of the Router-Link TLV and MUST NOT appear within the L2
        Bundle Member Attributes sub-TLV.
      </t>
      <artwork align="left">
<![CDATA[
+------+----------------------------------------------+----+
| Type | Description                                  |L2BM|
+======+==============================================+====+
| TBA  | L2 Bundle Member Interface Remote Identifier | Y  |
+------+----------------------------------------------+----+
]]>
      </artwork>
      <t>
        This document adds the following new sub-TLV to the "IS-IS Sub-TLVs
        for TLVs Advertising Neighbor Information" registry.
      </t>
      <artwork align="left">
<![CDATA[
+------+-----------------------------+---+---+---+---+---+---+---+
| Type | Description                 | 22| 23| 25|141|222|223| MP|
+======+=============================+===+===+===+===+===+===+===+
| TBA  | L2 Bundle Member            | n | n | y | n | n | n | n |
|      | Interface Remote Identifier |   |   |   |   |   |   |   |
+------+-----------------------------+---+---+---+---+---+---+---+
]]>
      </artwork>
      <t>
        This document adds the following new sub-TLV to the "BGP-LS NLRI and
        Attribute TLVs" registry.
      </t>
      <artwork align="left">
<![CDATA[
+------+----------------------------------------------+
| Type | Description                                  |
+======+==============================================+
| TBA  | L2 Bundle Member Interface Remote Identifier |
+------+----------------------------------------------+
]]>
      </artwork>
    </section>
	<section anchor="acknowledgements">
      <name>Acknowledgements</name>
      <t>The authors would like to thank Acee Lindem for his shepherd review and helpful comments to improve this
   document.</t>
      <t>The authors would like to thank Michael Richardson for RTGDIR early review.</t>
      <t>The authors would also like to thank Shraddha Hegde, and Tom Petch for their review of this document and their comments.</t>
    </section>
  </middle>

  <back>
    <references title="References">

      <references title="Normative References">

        <reference anchor="IEEE802.1AX" target="https://doi.org/10.1109/IEEESTD.2020.9105034">
          <front>
            <title>IEEE Standard for Local and Metropolitan Area Networks--Link Aggregation</title>
            <author fullname="IEEE" surname="IEEE"/>
            <date year="2020" month="May"/>
          </front>
          <seriesInfo name="IEEE Std" value="802.1AX"/>
          <seriesInfo name="DOI" value="10.1109/IEEESTD.2020.9105034"/>
        </reference>

        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author initials="S." surname="Bradner" fullname="S. Bradner"/>
            <date year="1997" month="March"/>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
        </reference>

        <reference anchor="RFC4202" target="https://www.rfc-editor.org/info/rfc4202">
          <front>
            <title>Routing Extensions in Support of Generalized Multi-Protocol Label Switching (GMPLS)</title>
            <author initials="K." surname="Kompella" fullname="K. Kompella" role="editor"/>
            <author initials="Y." surname="Rekhter" fullname="Y. Rekhter" role="editor"/>
            <date year="2005" month="October"/>
          </front>
          <seriesInfo name="RFC" value="4202"/>
          <seriesInfo name="DOI" value="10.17487/RFC4202"/>
        </reference>

        <reference anchor="RFC4552" target="https://www.rfc-editor.org/info/rfc4552">
          <front>
            <title>Authentication/Confidentiality for OSPFv3</title>
            <author initials="M." surname="Gupta" fullname="M. Gupta"/>
            <author initials="N." surname="Melam" fullname="N. Melam"/>
            <date year="2006" month="June"/>
          </front>
          <seriesInfo name="RFC" value="4552"/>
          <seriesInfo name="DOI" value="10.17487/RFC4552"/>
        </reference>

        <reference anchor="RFC5304" target="https://www.rfc-editor.org/info/rfc5304">
          <front>
            <title>IS-IS Cryptographic Authentication</title>
            <author initials="T." surname="Li" fullname="T. Li"/>
            <author initials="R." surname="Atkinson" fullname="R. Atkinson"/>
            <date year="2008" month="October"/>
          </front>
          <seriesInfo name="RFC" value="5304"/>
          <seriesInfo name="DOI" value="10.17487/RFC5304"/>
        </reference>

        <reference anchor="RFC5310" target="https://www.rfc-editor.org/info/rfc5310">
          <front>
            <title>IS-IS Generic Cryptographic Authentication</title>
            <author initials="M." surname="Bhatia" fullname="M. Bhatia"/>
            <author initials="V." surname="Manral" fullname="V. Manral"/>
            <author initials="T." surname="Li" fullname="T. Li"/>
            <author initials="R." surname="Atkinson" fullname="R. Atkinson"/>
            <author initials="R." surname="White" fullname="R. White"/>
            <author initials="M." surname="Fanto" fullname="M. Fanto"/>
            <date year="2009" month="February"/>
          </front>
          <seriesInfo name="RFC" value="5310"/>
          <seriesInfo name="DOI" value="10.17487/RFC5310"/>
        </reference>

        <reference anchor="RFC5709" target="https://www.rfc-editor.org/info/rfc5709">
          <front>
            <title>OSPFv2 HMAC-SHA Cryptographic Authentication</title>
            <author initials="M." surname="Bhatia" fullname="M. Bhatia"/>
            <author initials="V." surname="Manral" fullname="V. Manral"/>
            <author initials="M." surname="Fanto" fullname="M. Fanto"/>
            <author initials="R." surname="White" fullname="R. White"/>
            <author initials="M." surname="Barnes" fullname="M. Barnes"/>
            <author initials="T." surname="Li" fullname="T. Li"/>
            <author initials="R." surname="Atkinson" fullname="R. Atkinson"/>
            <date year="2009" month="October"/>
          </front>
          <seriesInfo name="RFC" value="5709"/>
          <seriesInfo name="DOI" value="10.17487/RFC5709"/>
        </reference>

        <reference anchor="RFC7166" target="https://www.rfc-editor.org/info/rfc7166">
          <front>
            <title>Supporting Authentication Trailer for OSPFv3</title>
            <author initials="M." surname="Bhatia" fullname="M. Bhatia"/>
            <author initials="V." surname="Manral" fullname="V. Manral"/>
            <author initials="A." surname="Lindem" fullname="A. Lindem"/>
            <date year="2014" month="March"/>
          </front>
          <seriesInfo name="RFC" value="7166"/>
          <seriesInfo name="DOI" value="10.17487/RFC7166"/>
        </reference>

        <reference anchor="RFC7474" target="https://www.rfc-editor.org/info/rfc7474">
          <front>
            <title>Security Extension for OSPFv2 When Using Manual Key Management</title>
            <author initials="M." surname="Bhatia" fullname="M. Bhatia"/>
            <author initials="S." surname="Hartman" fullname="S. Hartman"/>
            <author initials="D." surname="Zhang" fullname="D. Zhang"/>
            <author initials="A." surname="Lindem" fullname="A. Lindem" role="editor"/>
            <date year="2015" month="April"/>
          </front>
          <seriesInfo name="RFC" value="7474"/>
          <seriesInfo name="DOI" value="10.17487/RFC7474"/>
        </reference>

        <reference anchor="RFC7684" target="https://www.rfc-editor.org/info/rfc7684">
          <front>
            <title>OSPFv2 Prefix/Link Attribute Advertisement</title>
            <author initials="P." surname="Psenak" fullname="P. Psenak"/>
            <author initials="H." surname="Gredler" fullname="H. Gredler"/>
            <author initials="R." surname="Shakir" fullname="R. Shakir"/>
            <author initials="W." surname="Henderickx" fullname="W. Henderickx"/>
            <author initials="J." surname="Tantsura" fullname="J. Tantsura"/>
            <author initials="A." surname="Lindem" fullname="A. Lindem"/>
            <date year="2015" month="November"/>
          </front>
          <seriesInfo name="RFC" value="7684"/>
          <seriesInfo name="DOI" value="10.17487/RFC7684"/>
        </reference>

        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author initials="B." surname="Leiba" fullname="B. Leiba"/>
            <date year="2017" month="May"/>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
        </reference>

        <reference anchor="RFC8362" target="https://www.rfc-editor.org/info/rfc8362">
          <front>
            <title>OSPFv3 Link State Advertisement (LSA) Extensibility</title>
            <author initials="A." surname="Lindem" fullname="A. Lindem"/>
            <author initials="A." surname="Roy" fullname="A. Roy"/>
            <author initials="D." surname="Goethals" fullname="D. Goethals"/>
            <author initials="V." surname="Reddy Vallem" fullname="V. Reddy Vallem"/>
            <author initials="F." surname="Baker" fullname="F. Baker"/>
            <date year="2018" month="April"/>
          </front>
          <seriesInfo name="RFC" value="8362"/>
          <seriesInfo name="DOI" value="10.17487/RFC8362"/>
        </reference>

        <reference anchor="RFC8668" target="https://www.rfc-editor.org/info/rfc8668">
          <front>
            <title>Advertising Layer 2 Bundle Member Link Attributes in IS-IS</title>
            <author initials="L." surname="Ginsberg" fullname="L. Ginsberg" role="editor"/>
            <author initials="A." surname="Bashandy" fullname="A. Bashandy"/>
            <author initials="C." surname="Filsfils" fullname="C. Filsfils"/>
            <author initials="M." surname="Nanduri" fullname="M. Nanduri"/>
            <author initials="E." surname="Aries" fullname="E. Aries"/>
            <date year="2019" month="December"/>
          </front>
          <seriesInfo name="RFC" value="8668"/>
          <seriesInfo name="DOI" value="10.17487/RFC8668"/>
        </reference>

        <reference anchor="RFC9085" target="https://www.rfc-editor.org/info/rfc9085">
          <front>
            <title>Border Gateway Protocol - Link State (BGP-LS) Extensions for Segment Routing</title>
            <author initials="S." surname="Previdi" fullname="S. Previdi"/>
            <author initials="K." surname="Talaulikar" fullname="K. Talaulikar" role="editor"/>
            <author initials="C." surname="Filsfils" fullname="C. Filsfils"/>
            <author initials="H." surname="Gredler" fullname="H. Gredler"/>
            <author initials="M." surname="Chen" fullname="M. Chen"/>
            <date year="2021" month="August"/>
          </front>
          <seriesInfo name="RFC" value="9085"/>
          <seriesInfo name="DOI" value="10.17487/RFC9085"/>
        </reference>

        <reference anchor="RFC9086" target="https://www.rfc-editor.org/info/rfc9086">
          <front>
            <title>Border Gateway Protocol - Link State (BGP-LS) Extensions for Segment Routing BGP Egress Peer Engineering</title>
            <author initials="S." surname="Previdi" fullname="S. Previdi"/>
            <author initials="K." surname="Talaulikar" fullname="K. Talaulikar" role="editor"/>
            <author initials="C." surname="Filsfils" fullname="C. Filsfils"/>
            <author initials="K." surname="Patel" fullname="K. Patel"/>
            <author initials="S." surname="Ray" fullname="S. Ray"/>
            <author initials="J." surname="Dong" fullname="J. Dong"/>
            <date year="2021" month="August"/>
          </front>
          <seriesInfo name="RFC" value="9086"/>
          <seriesInfo name="DOI" value="10.17487/RFC9086"/>
        </reference>

        <reference anchor="RFC9356" target="https://www.rfc-editor.org/info/rfc9356">
          <front>
            <title>Advertising L2 Bundle Member Link Attributes in OSPF</title>
            <author initials="K." surname="Talaulikar" fullname="K. Talaulikar"/>
            <author initials="P." surname="Psenak" fullname="P. Psenak"/>
            <date year="2023" month="January"/>
          </front>
          <seriesInfo name="RFC" value="9356"/>
        </reference>

        <reference anchor="RFC9885" target="https://www.rfc-editor.org/info/rfc9885">
          <front>
            <title>Multi-Part TLVs in IS-IS</title>
            <author initials="P." surname="Kaneriya" fullname="P. Kaneriya"/>
            <author initials="T." surname="Li" fullname="T. Li"/>
            <author initials="A." surname="Przygienda" fullname="A. Przygienda"/>
            <author initials="S." surname="Hegde" fullname="S. Hegde"/>
            <author initials="L." surname="Ginsberg" fullname="L. Ginsberg"/>
            <date year="2025" month="October"/>
          </front>
          <seriesInfo name="RFC" value="9885"/>
        </reference>
      </references>

      <references title="Informative References">

        <reference anchor="IEEE802.1AB">
          <front>
            <title>IEEE Standard for Local and Metropolitan Area Networks - Station and Media Access Control Connectivity Discovery</title>
            <author/>
            <date year="2016" month="January" day="29"/>
          </front>
          <seriesInfo name="IEEE Std" value="802.1AB-2016"/>
        </reference>

		<reference anchor="RFC8537" target="https://www.rfc-editor.org/info/rfc8537" quoteTitle="true" derivedAnchor="RFC8537">
		<front>
		<title>Updates to the Fast Reroute Procedures for Co-routed Associated Bidirectional Label Switched Paths (LSPs)</title>
		<author initials="R." surname="Gandhi" fullname="R. Gandhi" role="editor">
		<organization showOnFrontPage="true"/>
		</author>
		<author initials="H." surname="Shah" fullname="H. Shah">
		<organization showOnFrontPage="true"/>
		</author>
		<author initials="J." surname="Whittaker" fullname="J. Whittaker">
		<organization showOnFrontPage="true"/>
		</author>
		<date year="2019" month="February"/>
		<abstract>
		<t indent="0">Resource Reservation Protocol (RSVP) association signaling can be used to bind two unidirectional Label Switched Paths (LSPs) into an associated bidirectional LSP. When an associated bidirectional LSP is co-routed, the reverse LSP follows the same path as its forward LSP. This document updates the fast reroute procedures defined in RFC 4090 to support both single-sided and double-sided provisioned associated bidirectional LSPs. This document also updates the procedure for associating two reverse LSPs defined in RFC 7551 to support co-routed bidirectional LSPs. The fast reroute procedures can ensure that, for the co-routed LSPs, traffic flows on co-routed paths in the forward and reverse directions after a failure event.</t>
		</abstract>
		</front>
		<seriesInfo name="RFC" value="8537"/>
		<seriesInfo name="DOI" value="10.17487/RFC8537"/>
		</reference>

		<reference anchor="RFC9059" target="https://www.rfc-editor.org/info/rfc9059" quoteTitle="true" derivedAnchor="RFC9059">
		<front>
		<title>Path Computation Element Communication Protocol (PCEP) Extensions for Associated Bidirectional Label Switched Paths (LSPs)</title>
		<author fullname="R. Gandhi" initials="R." role="editor" surname="Gandhi"/>
		<author fullname="C. Barth" initials="C." surname="Barth"/>
		<author fullname="B. Wen" initials="B." surname="Wen"/>
		<date month="June" year="2021"/>
		<abstract>
		<t indent="0">This document defines Path Computation Element Communication Protocol (PCEP) extensions for grouping two unidirectional MPLS-TE Label Switched Paths (LSPs), one in each direction in the network, into an associated bidirectional LSP. These PCEP extensions can be applied either using a stateful PCE for both PCE-initiated and PCC-initiated LSPs or using a stateless PCE. The PCEP procedures defined are applicable to the LSPs using RSVP-TE for signaling.</t>
		</abstract>
		</front>
		<seriesInfo name="RFC" value="9059"/>
		<seriesInfo name="DOI" value="10.17487/RFC9059"/>
		</reference>

        <reference anchor="RFC9552" target="https://www.rfc-editor.org/info/rfc9552">
          <front>
            <title>Distribution of Link-State and Traffic Engineering Information Using BGP</title>
            <author initials="K." surname="Talaulikar" fullname="K. Talaulikar" role="editor"/>
            <date year="2023" month="December"/>
          </front>
          <seriesInfo name="RFC" value="9552"/>
          <seriesInfo name="DOI" value="10.17487/RFC9552"/>
        </reference>
      </references>
    </references>
    <section anchor="contributors" numbered="false">
      <name>Contributors</name>
      <contact initials="K." surname="Talaulikar" fullname="Ketan Talaulikar">
        <organization>Cisco Systems</organization>
        <address>
          <postal>
            <country>India</country>
          </postal>
          <email>ketant.ietf@gmail.com</email>
        </address>
      </contact>
    </section>
  </back>
</rfc>