Networking Working Group                                         R. Chen
Internet-Draft                                                 Zh. Zhang
Intended status: Standards Track                         ZTE Corporation
Expires: November 19, 2020                                   V. Govindan
                                                            IJ. Wijnands
                                                                   Cisco
                                                            May 18, 2020


                   BGP Link-State extensions for BIER
                   draft-ietf-bier-bgp-ls-bier-ext-07

Abstract

   Bit Index Explicit Replication (BIER) is an architecture that
   provides optimal multicast forwarding through a "BIER domain" without
   requiring intermediate routers to maintain any multicast related per-
   flow state.  BIER also does not require any explicit tree-building
   protocol for its operation.  A multicast data packet enters a BIER
   domain at a "Bit-Forwarding Ingress Router" (BFIR), and leaves the
   BIER domain at one or more "Bit-Forwarding Egress Routers" (BFERs).
   The BFIR router adds a BIER header to the packet.  The BIER header
   contains a bitstring in which each bit represents exactly one BFER to
   forward the packet to.  The set of BFERs to which the multicast
   packet needs to be forwarded is expressed by setting the bits that
   correspond to those routers in the BIER header.

   This document specifies extensions to the BGP Link-state address-
   family in order to advertise BIER information.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on November 19, 2020.





Chen, et al.            Expires November 19, 2020               [Page 1]


Internet-Draft         BGP-LS extensions for BIER               May 2020


Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (https://trustee.ietf.org/license-info) 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 Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Conventions used in this document . . . . . . . . . . . . . .   3
   3.  BGP-LS Extensions for BIER  . . . . . . . . . . . . . . . . .   3
     3.1.  Prefix Attributes TLVs  . . . . . . . . . . . . . . . . .   3
       3.1.1.  The BIER information TLV  . . . . . . . . . . . . . .   4
       3.1.2.  The BIER MPLS Encapsulation TLV . . . . . . . . . . .   5
       3.1.3.  The BIER Ethernet Encapsulation TLV . . . . . . . . .   6
   4.  Equivalent IS-IS BIER TLVs/Sub-TLVs . . . . . . . . . . . . .   7
   5.  Equivalent OSPFv2/OSPFV3 BIER TLVs/Sub-TLVs . . . . . . . . .   7
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   8
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .   8
   8.  Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .   9
   9.  Normative references  . . . . . . . . . . . . . . . . . . . .   9
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  10

1.  Introduction

   Bit Index Explicit Replication (BIER) is an architecture that
   provides optimal multicast forwarding through a "BIER domain" without
   requiring intermediate routers to maintain any multicast related per-
   flow state.  BIER also does not require any explicit tree-building
   protocol for its operation.  A multicast data packet enters a BIER
   domain at a "Bit-Forwarding Ingress Router" (BFIR), and leaves the
   BIER domain at one or more "Bit-Forwarding Egress Routers" (BFERs).
   The BFIR router adds a BIER header to the packet.  The BIER header
   contains a bitstring in which each bit represents exactly one BFER to
   forward the packet to.  The set of BFERs to which the multicast
   packet needs to be forwarded is expressed by setting the bits that
   correspond to those routers in the BIER header.





Chen, et al.            Expires November 19, 2020               [Page 2]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   When BIER is enabled in an IGP domain, BIER-related information will
   be advertised via IGP link-state routing protocols.  IGP extensions
   are described in: ISIS[[RFC8401]],OSPFv2[[RFC8444]] and
   OSPFv3[[I-D.ietf-bier-ospfv3-extensions]].The contents of a Link
   State Database (LSDB) or of an IGP's Traffic Engineering Database
   (TED) has the scope of an IGP area and therefore, by using the IGP
   alone it is not enough to construct segments across multiple IGP Area
   or AS boundaries.

   In order to satisfy the need for applications that require
   topological visibility across one area or Autonomous System (AS).
   This document specifies extensions to the BGP Link-state address-
   family in order to advertise BIER-specific.  An external component
   (e.g., a controller) then can collect BIER information in the
   "northbound" direction within the BIER domain.

2.  Conventions used in this document

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

3.  BGP-LS Extensions for BIER

   [RFC8279] defines the BFR - A router that supports BIER is known as a
   "Bit-Forwarding Router"(BFR), and each BFR MUST be assigned a "BFR-
   Prefix".  A BFR's BFR-Prefix MUST be an IP address (either IPv4 or
   IPv6) of the BFR, and MUST be unique and routable within the BIER
   domain as described in section 2 of [RFC8279], and then external
   component (e.g., a controller) need to collect BIER information of
   BIER routers are associated with the BFR-Prefix in the "northbound"
   direction within the BIER domain.

   Given that the BIER information is associated with the prefix, the
   Prefix Attribute TLV [RFC7752] can be used to carry the BIER
   information.  A new Prefix Attribute TLVs are defined for the
   encoding of BIER information.

3.1.  Prefix Attributes TLVs

   The following Prefix Attribute TLVs are defined:










Chen, et al.            Expires November 19, 2020               [Page 3]


Internet-Draft         BGP-LS extensions for BIER               May 2020


                +------+---------------------------+---------------+
                | Type | Description               |     Section   |
                +------+---------------------------+---------------+
                | TBD  |BIER information           | Section 3.1.1 |
                | TBD  |BIER MPLS Encapsulation    | Section 3.1.2 |
                | TBD  |BIER Ethernet Encapsulation| Section 3.1.2 |
                +------+---------------------------+---------------+

                   Table 1:The new Prefix Attribute TLVs

3.1.1.  The BIER information TLV

   A new Prefix Attribute TLV (defined in [RFC7752] is defined for
   distributing BIER information.  The new TLV is called the BIER TLV.
   The BIER information TLVs may appear multiple times.

   The following BIER information TLV is defined:


       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             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     BAR       |     IPA       |  subdomain-id |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |            BFR-id             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                      Sub-TLVs (variable)                      |
      +-                                                             -+
      |                                                               |


                    Figure 2: The BIER information TLV

   Type: 2 octet field with value TBD, see IANA Considerations section.

   Length: 2 octet.

   Reserved: MUST be 0 on transmission, ignored on reception.  May be
   used in future versions.

   BAR: A 1 octet field encoding the BIER Algorithm, used to calculate
   underlay paths to reach BFERs.  Values are allocated from the "BIER
   Algorithms" registry which is defined in [RFC8401].

   IPA: A 1 octet field encoding the IGP Algorithm, used to either
   modify,enhance, or replace the calculation of underlay paths to reach



Chen, et al.            Expires November 19, 2020               [Page 4]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   BFERs as defined by the BAR value.  Values are from the IGP Algorithm
   registry.

   Subdomain-id: Unique value identifying the BIER sub-domain, 1 octet.

   MT-ID: Multi-Topology ID that identifies the topology that is
   associated with the BIER sub-domain.1 octet.

   BFR-id: A 2 octet field encoding the BFR-id, as documented in
   [RFC8279].  If the BFR-id is zero, it means, the advertising router
   is not advertising any BIER-id.In some environment, BFR-id can be
   configured by NMS, The BFR-id should be sent to a controller.

   BS Length: A 1 octet field encoding the Bitstring length as per
   [RFC8296].

   If the MT-ID value is outside of the values specified in [RFC4915],
   the BIER Sub-TLV MUST be ignored.

3.1.2.  The BIER MPLS Encapsulation TLV

   The BIER MPLS Encapsulation TLV is used in order to advertise MPLS
   specific information used for BIER.  It MAY appear multiple times.

   In some environment, each router allocates its labels, and advertises
   it to the controller.That solution is simpler as the controller does
   not need to deal with label allocation.  If the controller has to
   deal with Label allocation , there needs to be a (global) range
   carved out such there are no conflicts.  We can avoid all that by
   having the router allocate the BIER Label range and advertise it to
   the controller.

   The following the BIER MPLS Encapsulation Sub-TLV is defined:


        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   |                      Label                    |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
       |BS Len |                          Reserved                     |
       +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                 Figure 3: The BIER MPLS Encapsulation TLV

   Type: 2 octet field with value TBD, see IANA Considerations section.



Chen, et al.            Expires November 19, 2020               [Page 5]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   Length: 2 octet.

   Max SI: A 1 octet field encoding the maximum Set Identifier(as
   defined in [RFC8279]), used in the encapsulation for this BIER
   subdomain for this BitString length.

   Label: A 3 octet field, where the 20 rightmost bits represent the
   first label in the label range.

   BS Length: A 1 octet field encoding the Bitstring length as per
   [RFC8296]

   BS length in multiple BIER MPLS Encapsulation Sub-TLV inside the same
   BIER Sub-TLV MUST NOT repeat, otherwise only the first BIER MPLS
   Encapsulation Sub-TLV with such BS length MUST be used and any
   subsequent BIER MPLS Encapsulation Sub-TLVs with the same BS length
   MUST be ignored.

3.1.3.  The BIER Ethernet Encapsulation TLV

   The BIER Ethernet Encapsulation TLV is used in order to advertise
   ethernet encapsulation capability and other associated parameters of
   the encapsulation.It MAY appear multiple times.

   The following the BIER Ethernet Encapsulation Sub-TLV is defined:


      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    |                   BIFT-id                     |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |BS Len |                     Reserved                          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


               Figure 4: The BIER Ethernet Encapsulation TLV

   Type:2 octet field with value TBD, see IANA Considerations section.

   Length: 2 octet..

   Max SI:A 1 octet field encoding the maximum Set Identifier(as defined
   in [RFC8279]), used in the encapsulation for this BIER subdomain for
   this BitString length.




Chen, et al.            Expires November 19, 2020               [Page 6]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   BIFT-id:A 3-octet field, where the 20 rightmost bits represent the
   first BIFT-id in the BIFT-id range.  The 4 leftmost bits MUST be
   ignored.

   The "BIFT-id range" is the set of 20-bit values beginning with the
   BIFT-id and ending with (BIFT-id + (Max SI)).  A unique BIFT-id range
   is allocated for each BitString length and sub-domain-id.  These
   BIFT-id's are used for BIER forwarding as described in [RFC8279])and
   [RFC8296].

   Local BitString Length (BS Len): A 4 bit field encoding the Bitstring
   length as per [RFC8296].

   Reserved:SHOULD be set to 0 on transmission and MUST be ignored on
   reception.

4.  Equivalent IS-IS BIER TLVs/Sub-TLVs

   This section illustrate the BIER TLVs mapped to the ones defined in
   this document.

   The following table, illustrates for each BGP-LS TLV, its equivalence
   in IS-IS.


   +--------------+---------------------------+------------------------------------------+
   | Descriptio   |     IS-IS TLV             |       Reference                          |
   | n            |     /Sub-TLV              |                                          |
   +--------------+---------------------------+------------------------------------------+
   | BIER         | BIER Info Sub-TLV         |          [RFC8401]                       |
   | information  |                           |                                          |
   |              |                           |                                          |
   | BIER MPLS    |BIER MPLS Encapsulation    |          [RFC8401]                       |
   | Encapsulation|Sub-Sub-TLV                |                                          |
   |              |                           |                                          |
   | BIER Ethernet| BIER Etherne Encapsulation| [I-D.ietf-bier-lsr-ethernet-extensions]  |
   | Encapsulation| Sub-Sub-TLV               |                                          |
   +--------------+---------------------------+------------------------------------------+

                 Table 2:IS-IS BIER Sub-TLVs/Sub-Sub-TLVs

5.  Equivalent OSPFv2/OSPFV3 BIER TLVs/Sub-TLVs

   This section illustrate the BIER TLVs mapped to the ones defined in
   this document.

   The following table, illustrates for each BGP-LS TLV, its equivalence
   in OSPFv2/OSPFV3.



Chen, et al.            Expires November 19, 2020               [Page 7]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   +--------------+----------------------------+-----------------------------------------+
   | Descriptio   |   OSPFv2/OSPFV3 sub-TLV    |       Reference                         |
   | n            |   /Sub-Sub-TLV             |                                         |
   +--------------+----------------------------+-----------------------------------------+
   | BIER         |     BIER Sub-TLV           |[RFC8444] &                              |
   | information  |                            |[I-D. ietf-bier-ospfv3-extensions        |
   |              |                            |                                         |
   | BIER MPLS    |BIER MPLS Encapsulation     |[RFC8444]&                               |
   | Encapsulation|Sub-TLV                     |[I-D. ietf-bier-ospfv3-extensions        |
   |              |                            |                                         |
   | BIER Ethernet| BIER Etherne Encapsulation |[I-D.ietf-bier-lsr-ethernet-extensions]  |
   | Encapsulation| Sub-TLV                    |                                         |
   +--------------+----------------------------+-----------------------------------------+


                 Table 3: OSPFv2/OSPFV3 BIER TLVs/Sub-TLVs

6.  IANA Considerations

   This document requests assigning code-points from the registry for
   the new Prefix Attribute TLVs.


           +-------------------+----------------------------+-----------------+
           |   TLV Code Point  |  Description               | Value defined   |
           +-------------------+----------------------------+-----------------+
           |       TBD         |  BIER information          | this document   |
           +-------------------+----------------------------+-----------------+
           |       TBD         | BIER MPLS Encapsulation    | this document   |
           +-------------------+----------------------------+-----------------+
           |       TBD         | BIER Etherne Encapsulation | this document   |
           +-------------------+----------------------------+-----------------+


                   Table 4: The new Prefix Attribute TLV

7.  Security Considerations

   Procedures and protocol extensions defined in this document do not
   affect the BGP security model.  See the "Security
   Considerations"section of [RFC4271] for a discussion of BGP security.
   Also, refer to [RFC4272] and [RFC6952] for analyses of security
   issues for BGP.Security considerations for acquiring and distributing
   BGP-LS information are discussed in [RFC7752].

   The TLVs introduced in this document are used to propagate the Bit
   Index Explicit Replication (BIER) defined in [[RFC8401]], [[RFC8444]]
   , [[I-D.ietf-bier-ospfv3-extensions]] and



Chen, et al.            Expires November 19, 2020               [Page 8]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   [[I-D.ietf-bier-lsr-ethernet-extensions]] . These TLVs represent the
   bier information associated with the prefix.  It is assumed that the
   IGP instances originating these TLVs will support all the required
   security and authentication mechanisms in [[RFC8401]], [[RFC8444]]
   [[I-D.ietf-bier-ospfv3-extensions]] and
   [[I-D.ietf-bier-lsr-ethernet-extensions]] in order to prevent any
   security issues when propagating the TLVs into BGP-LS.  The
   advertisement of the link attribute information defined in this
   document presents no additional risk beyond that associated with the
   existing link attribute information already supported in [RFC7752].

8.  Acknowledgements

   We would like to thank Peter Psenak (Cisco) and Ketan
   Talaulikar(Cisco) for his comments and support of this work.

9.  Normative references

   [I-D.ietf-bier-lsr-ethernet-extensions]
              Dhanaraj, S., Wijnands, I., Psenak, P., Zhang, Z., Yan,
              G., and J. Xie, "LSR Extensions for BIER over Ethernet",
              draft-ietf-bier-lsr-ethernet-extensions-01 (work in
              progress), July 2019.

   [I-D.ietf-bier-ospfv3-extensions]
              Psenak, P., Kumar, N., and I. Wijnands, "OSPFv3 Extensions
              for BIER", draft-ietf-bier-ospfv3-extensions-01 (work in
              progress), November 2019.

   [RFC3630]  Katz, D., Kompella, K., and D. Yeung, "Traffic Engineering
              (TE) Extensions to OSPF Version 2", RFC 3630,
              DOI 10.17487/RFC3630, September 2003,
              <https://www.rfc-editor.org/info/rfc3630>.

   [RFC4271]  Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A
              Border Gateway Protocol 4 (BGP-4)", RFC 4271,
              DOI 10.17487/RFC4271, January 2006,
              <https://www.rfc-editor.org/info/rfc4271>.

   [RFC4272]  Murphy, S., "BGP Security Vulnerabilities Analysis",
              RFC 4272, DOI 10.17487/RFC4272, January 2006,
              <https://www.rfc-editor.org/info/rfc4272>.

   [RFC4915]  Psenak, P., Mirtorabi, S., Roy, A., Nguyen, L., and P.
              Pillay-Esnault, "Multi-Topology (MT) Routing in OSPF",
              RFC 4915, DOI 10.17487/RFC4915, June 2007,
              <https://www.rfc-editor.org/info/rfc4915>.




Chen, et al.            Expires November 19, 2020               [Page 9]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   [RFC6952]  Jethanandani, M., Patel, K., and L. Zheng, "Analysis of
              BGP, LDP, PCEP, and MSDP Issues According to the Keying
              and Authentication for Routing Protocols (KARP) Design
              Guide", RFC 6952, DOI 10.17487/RFC6952, May 2013,
              <https://www.rfc-editor.org/info/rfc6952>.

   [RFC7752]  Gredler, H., Ed., Medved, J., Previdi, S., Farrel, A., and
              S. Ray, "North-Bound Distribution of Link-State and
              Traffic Engineering (TE) Information Using BGP", RFC 7752,
              DOI 10.17487/RFC7752, March 2016,
              <https://www.rfc-editor.org/info/rfc7752>.

   [RFC8279]  Wijnands, IJ., Ed., Rosen, E., Ed., Dolganow, A.,
              Przygienda, T., and S. Aldrin, "Multicast Using Bit Index
              Explicit Replication (BIER)", RFC 8279,
              DOI 10.17487/RFC8279, November 2017,
              <https://www.rfc-editor.org/info/rfc8279>.

   [RFC8296]  Wijnands, IJ., Ed., Rosen, E., Ed., Dolganow, A.,
              Tantsura, J., Aldrin, S., and I. Meilik, "Encapsulation
              for Bit Index Explicit Replication (BIER) in MPLS and Non-
              MPLS Networks", RFC 8296, DOI 10.17487/RFC8296, January
              2018, <https://www.rfc-editor.org/info/rfc8296>.

   [RFC8401]  Ginsberg, L., Ed., Przygienda, T., Aldrin, S., and Z.
              Zhang, "Bit Index Explicit Replication (BIER) Support via
              IS-IS", RFC 8401, DOI 10.17487/RFC8401, June 2018,
              <https://www.rfc-editor.org/info/rfc8401>.

   [RFC8444]  Psenak, P., Ed., Kumar, N., Wijnands, IJ., Dolganow, A.,
              Przygienda, T., Zhang, J., and S. Aldrin, "OSPFv2
              Extensions for Bit Index Explicit Replication (BIER)",
              RFC 8444, DOI 10.17487/RFC8444, November 2018,
              <https://www.rfc-editor.org/info/rfc8444>.

Authors' Addresses

   Ran Chen
   ZTE Corporation
   No.50 Software Avenue,Yuhuatai District
   Nanjing, Jiangsu Province  210012
   China

   Phone: +86 025 88014636
   Email: chen.ran@zte.com.cn






Chen, et al.            Expires November 19, 2020              [Page 10]


Internet-Draft         BGP-LS extensions for BIER               May 2020


   Zheng Zhang
   ZTE Corporation
   No.50 Software Avenue,Yuhuatai District
   Nanjing, Jiangsu Province  210012
   China

   Email: zhang.zheng@zte.com.cn


   Vengada Prasad Govindan
   Cisco

   Email: venggovi@cisco.com


   IJsbrand Wijnands
   Cisco
   De Kleetlaan 6a
   Diegem 1831
   Belgium

   Email: ice@cisco.com





























Chen, et al.            Expires November 19, 2020              [Page 11]