Network Work group | P. Psenak, Ed. |
Internet-Draft | N. Nainar, Ed. |
Intended status: Standards Track | I. Wijnands |
Expires: May 3, 2018 | Cisco Systems, Inc. |
October 30, 2017 |
OSPFv3 Extensions for BIER
draft-psenak-bier-ospfv3-extensions-00
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 bit-string 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 describes the OSPFv3 protocol extensions required for BIER.
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 May 3, 2018.
Copyright (c) 2017 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.
[I-D.ietf-bier-architecture] introduces and explains BIER 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 bit-string 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.
BIER architecture requires the distribution of BIER specific information among the routers participating within a BIER domain. BIER architecture permits link-state routing protocol to perform the distribution of such information. [I-D.ietf-bier-ospf-bier-extensions] proposes the OSPFv2 protocol extensions to distribute BIER specific information. This document describes the OSPFv3 protocol extensions required to advertise BIER specific information.
BFER - Bit Forwarding Egress Router
BFIR - Bit Forwarding Ingress Router
BFR - Bit-Forwarding Router
BIER - Bit Index Explicit Replication
ECMP - Equal Cost Multi-Path
SI - Set Identifier
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].
All BIER specific information that a Bit-Forwarding Router (BFR) needs to advertise to other BFRs is associated with a BFR-Prefix. A BFR prefix is a unique (within a given BIER domain) routable IPv4 or IPv6 address that is assigned to each BFR as described in more detail in [I-D.ietf-bier-architecture].
[I-D.ietf-ospf-ospfv3-lsa-extend] defines the encoding of OSPFv3 LSA in TLV format that allows to carry additional informations. This section defines the required Sub-TLVs to carry BIER information that is associated with the BFR-Prefix. The Sub-TLV defined in this section MAY be carried in the below OSPFv3 Extended LSA TLVs [I-D.ietf-ospf-ospfv3-lsa-extend]:
A Sub-TLV of the above mentioned Prefix TLVs is defined for distributing BIER information. The Sub-TLV is called the BIER Sub-TLV. Multiple BIER Sub-TLVs MAY be included in any of the above mentioned Prefix TLV.
The BIER Sub-TLV has the following format:
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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sub-domain-ID | BAR | BFR-id | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |C| Flags | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Sub-TLVs (variable) | +- -+ | |
Type
Length
Sub-domain-ID
BAR
BFR-id
Flags
If a BFR advertises the same Sub-domain-ID in multiple BIER sub-TLVs, the BRF MUST be treated as if it did not advertise a BIER sub-TLV for such sub-domain.
All BFRs MUST detect advertisement of duplicate valid BFR-IDs for a given Sub-domain-ID. When such duplication is detected all BFRs advertising duplicates MUST be treated as if they did not advertise a valid BFR-id.
The supported algorithm MUST be consistent for all routers supporting a given BFR sub-domain. A router receiving BIER Sub-TLV advertisement with a BAR which does not match the locally configured value MUST report a misconfiguration for the given BIER sub-domain and MUST ignore such BIER sub-TLV.
The BIER MPLS Encapsulation Sub-TLV is a Sub-TLV of the BIER Sub-TLV defined in Section 3.1. This Sub-TLV is used to carry MPLS encapsulation specific information for BIER in MPLS networks.
The BIER MPLS Encapsulation Sub-TLV has the following format:
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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |Lbl Range Size | Label Range Base | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |BS Len | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
If same BS length is repeated in multiple BIER MPLS Encapsulation Sub-TLV inside the same BIER Sub-TLV, the BIER sub-TLV MUST be ignored.
Label ranges within all BIER MPLS Encapsulation Sub-TLV inside the same BIER Sub-TLV MUST NOT overlap. If the overlap is detected, the advertising router MUST be treated as if it did not advertise a BIER sub-TLV.
All advertised labels MUST be valid, otherwise the BIER sub-TLV MUST be ignored.
The BIER Sub-TLV is included as part of OSPFv3 Extended LSAs as defined in Section 3. The flooding scope of the BIER Sub-TLV is decided by the flooding scope of the Extended LSA carrying the Sub-TLV. Any OSPFv3 router SHOULD include the local BIER information in BIER Sub-TLV and advertise it using Intra-Area-Prefix LSA.
When an OSPFv3 Area Border Router (ABR) originates E-Inter-Area-Prefix-LSA for a Prefix P, it follows the below procedure to propagate the BIER information between areas:
The document requests two new allocations from the OSPFv3 Extended-LSA sub-TLV registry as defined in [I-D.ietf-ospf-ospfv3-lsa-extend].
This document defines additional Sub-TLVs for OSPFv3 Extended-LSAs and does not impose any changes in flooding scope or Path computation.
Implementations must assure that any malformed TLVs or Sub-TLVs must not result in errors that causes hard OSPFv3 failures.
TBD
[I-D.ietf-bier-architecture] | Wijnands, I., Rosen, E., Dolganow, A., Przygienda, T. and S. Aldrin, "Multicast using Bit Index Explicit Replication", Internet-Draft draft-ietf-bier-architecture-08, September 2017. |
[I-D.ietf-bier-mpls-encapsulation] | Wijnands, I., Rosen, E., Dolganow, A., Tantsura, J., Aldrin, S. and I. Meilik, "Encapsulation for Bit Index Explicit Replication in MPLS and non-MPLS Networks", Internet-Draft draft-ietf-bier-mpls-encapsulation-12, October 2017. |
[I-D.ietf-ospf-ospfv3-lsa-extend] | Lindem, A., Roy, A., Goethals, D., Vallem, V. and F. Baker, "OSPFv3 LSA Extendibility", Internet-Draft draft-ietf-ospf-ospfv3-lsa-extend-16, October 2017. |
[RFC2119] | Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997. |
[RFC5340] | Coltun, R., Ferguson, D., Moy, J. and A. Lindem, "OSPF for IPv6", RFC 5340, DOI 10.17487/RFC5340, July 2008. |
[I-D.ietf-bier-ospf-bier-extensions] | Psenak, P., Kumar, N., Wijnands, I., Dolganow, A., Przygienda, T., Zhang, Z. and S. Aldrin, "OSPF Extensions for BIER", Internet-Draft draft-ietf-bier-ospf-bier-extensions-09, October 2017. |