<?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="std" docName="draft-xie-bier-ipv6-isis-extension-01"
     ipr="trust200902">
  <front>
    <title abbrev="BIERv6 Via IS-IS">BIER IPv6 Encapsulation (BIERv6) Support
    via IS-IS</title>

    <author fullname="Jingrong Xie" initials="J." surname="Xie">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <code/>

          <country/>
        </postal>

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

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

      <address>
        <postal>
          <street/>

          <city/>

          <code/>

          <country/>
        </postal>

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

    <author fullname="Gang Yan" initials="G." surname="Yan">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <code/>

          <country/>
        </postal>

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

    <author fullname="Senthil Dhanaraj" initials="S." surname="Dhanaraj">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street/>

          <city/>

          <code/>

          <country/>
        </postal>

        <email>senthil.dhanaraj@huawei.com</email>
      </address>
    </author>

    <date day="14" month="January" year="2020"/>

    <abstract>
      <t>This document defines IS-IS extensions to support multicast
      forwarding using the Bit Index Explicit Replication (BIER) with IPv6
      encapsulation (BIERv6).</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 <xref target="RFC2119"/>
      and <xref target="RFC8174"/>.</t>
    </note>
  </front>

  <middle>
    <section title="Introduction">
      <t>This document defines IS-IS extensions to support multicast
      forwarding using the Bit Index Explicit Replication (BIER) with IPv6
      encapsulation (BIERv6).</t>

      <t>The BIER IPv6 encapsulation <xref
      target="I-D.xie-bier-ipv6-encapsulation"/> uses a "BIER specific" IPv6
      unicast address, the "End.BIER" address, configured locally on a BIER
      Forwarding Router (BFR) to indicate a "BIER specific handling" in
      Forwarding Information Base (FIB). This BIER specific IPv6 address, used
      as part of BIER IPv6 encapsulation, is advertised as a type of
      Encapsulation sub-sub-TLV within the BIER Info sub-TLV defined
      [RFC8401].</t>

      <t>The BIFT-id field for each BSL of each Sub-domain is another part of
      BIER IPv6 encapsulation, and is advertised as a type of Encapsulation
      sub-sub-TLV within the BIER Info sub-TLV defined [RFC8401].</t>

      <t>The BIER Sub-TLV is advertised within the extended IP reachability
      TLV as specified by in [RFC8401].</t>

      <t>Note the extended IP reachability only includes the TLV 236 (IPv6 IP
      Reach TLV) [RFC5308] and TLV 237 (MT IPv6 IP Reach TLVs) [RFC5120] in
      this document.</t>

      <t>The following restrictions defined for BIER Sub-TLV in section 4.2 of
      [RFC8401] apply equally to this document:<list style="symbols">
          <t>Prefix length MUST be 128 for an IPv6 prefix.</t>

          <t>When the Prefix Attributes Flags sub-TLV [RFC7794] is present,
          the N flag MUST be set and the R flag MUST NOT be set.</t>

          <t>BIER sub-TLVs and Function Sub-TLVs MUST be included when a
          prefix reachability advertisement is leaked between levels.</t>
        </list></t>

      <t/>
    </section>

    <section title="Terminology">
      <t>Readers of this document are assumed to be familiar with the
      terminology and concepts of the documents listed as Normative
      References.</t>

      <t/>
    </section>

    <section title="Specification">
      <t/>

      <section title="Encapsulation sub-sub-TLV of End.BIER address">
        <t/>

        <t>The Encapsulation sub-sub-TLV carries the information for the
        End.BIER address of a sub-domain for BIER IPv6 encapsulation. It is
        advertised within the BIER Info sub-TLV defined in [RFC8401] which
        in-turn is carried within the TLVs 236 or 237. This sub-sub-TLV MUST
        appear no more than one time within a single BIER Info sub-TLV. If the
        sub-sub-TLV appears more than one time, the BIER Info sub-TLV MUST be
        ignored.</t>

        <t><figure align="left">
            <artwork><![CDATA[
       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Type       |     Length    |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                                                               |
      |                          End.BIER address                     |
      |                                                               |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      ]]></artwork>
          </figure></t>

        <t>Type: 1 octet value indicating "Encapsulation of End.BIER" this
        IPv6 prefix bound to. TBD1 to be assigned by IANA.</t>

        <t>Length: 1 octet length in octets. Value 16 is set to this
        field.</t>

        <t>End.BIER address: 16 octets IPv6 address.</t>

        <t/>
      </section>

      <section title="Encapsulation sub-sub-TLV of BIFT-id for each BSL">
        <t/>

        <t>The Encapsulation sub-sub-TLV carries the information for the BIER
        IPv6 encapsulation of a specific BitString length. It is advertised
        within the BIER Info sub-TLV defined in [RFC8401] which in-turn is
        carried within the TLVs 236 or 237. This sub-sub-TLV MAY appear
        multiple times within a single BIER Info sub-TLV. If the same
        BitString length is repeated in multiple sub-sub-TLVs inside the same
        BIER Info sub- TLV, the BIER Info sub-TLV MUST be ignored.</t>

        <t>When a BIER IPv6 encapsulation sub-sub-TLV of BIFT-id for any BSL
        appears in a BIER Info sub-TLV, one End.BIER Encapsulation sub-sub-TLV
        MUST appears in the BIER info sub-TLV, otherwise the BIER Info sub-TLV
        MUST be ignored.</t>

        <t><figure align="left">
            <artwork><![CDATA[
    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |    Type       |   Length      |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Max SI      |BS Len |                  BIFT-id              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      ]]></artwork>
          </figure></t>

        <t>Type: 1 octet value indicating BIER IPv6 encapsulation. TBD2 to be
        assigned by IANA.</t>

        <t>Length: 1 octet length in octets. Value 4 is set to this field.</t>

        <t>Max SI: 1 octet value. Maximum Set Identifier (Section 1 of
        [RFC8279]) used in the encapsulation for this BIER subdomain for this
        BitString length. Each SI maps to a single BIFT-id in the BIFT-id
        range. The first BIFT-id is for SI=0, the second BIFT-id is for SI=1,
        etc. If the BIFT-id associated with the Maximum Set Identifier exceeds
        the 20-bit range, the sub-sub-TLV MUST be ignored.</t>

        <t>BS Len: 4 bits value of Local BitString Length. Encoded BitString
        length as per [RFC8296].</t>

        <t>BIFT-id: 20 bits value. First BIFT-id of the range. The BIFT-id(s)
        are as defined in [RFC8296], or refer to <xref
        target="I-D.ietf-bier-lsr-ethernet-extensions"/> for Non-MPLS
        encapsulation.</t>

        <t/>
      </section>
    </section>

    <section title="Security Considerations">
      <t>The procedures of this document do not, in themselves, provide
      privacy, integrity, or authentication for the control plane or the data
      plane.</t>

      <t/>
    </section>

    <section title="IANA Considerations">
      <t/>

      <section title="Encapsulation sub-sub-TLV Type Code">
        <t>Allocation is expected from IANA for two sub-sub-TLV codepoints
        from the "sub-sub-TLVs for BIER Info sub-TLV" sub-registry.</t>

        <t/>

        <t>Type: TBD1 to be assigned by IANA.</t>

        <t>Name: BIER IPv6 encapsulation of End.BIER address.</t>

        <t>Reference: This document.</t>

        <t/>

        <t>Type: TBD2 to be assigned by IANA.</t>

        <t>Name: BIER IPv6 Encapsulation of BIFT-id for each BSL.</t>

        <t>Reference: This document</t>
      </section>
    </section>

    <section title="Acknowledgements">
      <t>TBD.</t>

      <t/>
    </section>
  </middle>

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

      <?rfc include='reference.RFC.5120'?>

      <?rfc include='reference.RFC.5308'?>

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

      <?rfc include='reference.I-D.ietf-bier-lsr-ethernet-extensions'?>

      <?rfc include='reference.I-D.xie-bier-ipv6-encapsulation'?>
    </references>

    <references title="Informative References">
      <?rfc include='reference.RFC.2119'?>

      <?rfc include='reference.RFC.8174'?>
    </references>
  </back>
</rfc>
