<?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="no"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-przygienda-bier-isis-ranges-01" ipr="trust200902" 
		obsoletes="" submissionType="IETF" updates="" xml:lang="en">
	
<front>
	<title abbrev="draft-przygienda-bier-isis-ranges-01">BIER support via ISIS</title>
	<author fullname="Tony Przygienda" initials="A." surname="Przygienda">		   
		<organization>Ericsson</organization>
		<address>
			<postal>
				<street>300 Holger Way</street>
				<city>San Jose</city>
				<region>CA</region>
				<code>95134</code>
				<country>USA</country>
			</postal>
			<phone/>
			<facsimile/>
			<email>antoni.przygienda@ericsson.com</email>
			<uri/>
		</address>
	</author>
	
	<author fullname="Les Ginsberg" initials="L." surname="Ginsberg">
		<organization>Cisco Systems</organization>
		<address>
			<postal>
				<street>510 McCarthy Blvd.</street>
				<city>Milpitas</city>
				<region>CA</region>
				<code>95035</code>
				<country>USA</country>
			</postal>
			<phone/>
			<facsimile/>
			<email>ginsberg@cisco.com</email>
			<uri/>
		</address>
	</author>

	<author fullname="Sam Aldrin" initials="S." surname="Aldrin">
		<organization>Huawei</organization>
		<address>
			<postal>
				<street>2330 Central Expressway</street>
				<city>Santa Clara</city>
				<region>CA</region>
				<code>95051</code>
				<country>USA</country>
			</postal>
			<phone/>
			<facsimile/>
			<email>aldrin.ietf@gmail.com</email>
			<uri/>
		</address>
	</author>

	<author fullname="Jeffrey (Zhaohui) Zhang" initials="J." surname="Zhang">
		<organization>Juniper Networks, Inc.</organization>
		<address>
			<postal>
				<street>10 Technology Park Drive</street>
				<city>Westford</city>
				<region>MA</region>
				<code>01886</code>
				<country>USA</country>
			</postal>
			<phone/>
			<facsimile/>
			<email>zzhang@juniper.net</email>
			<uri/>
		</address>
	</author>

	<date day="23" month="Oct" year="2014"/>
	<workgroup>Internet Engineering Task Force</workgroup>
	<abstract>
		<t>Specification of an ISIS extension to support BIER domains.</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 format="default" pageno="false" target="RFC2119">RFC 2119</xref>
			.
		</t>
	</note>
</front>
<middle>
	<section title="Introduction" toc="default">
		<t>
			Bit Index Explicit Replication (BIER)
			<xref format="default" pageno="false" target="I-D.draft-wijnands-bier-architecture-00"/>
			defines an architecture where all intended multicast receivers are encoded as bitmask
			in the Multicast packet header within different encapsulations such as
			<xref format="default" pageno="false" target="I-D.draft-wijnands-mpls-bier-encapsulation-01"/>. 
			A router that receives such a packet will forward the packet based on the Bit Position
			in the packet header towards the receiver(s), following a precomputed tree for
			each of the bits in the packet. Each receiver is represented by a unique bit in
			the bitmask.
		</t>
		
		<t>
			This document presents first attempt at 
			necessary extensions to the currently deployed ISIS for IP
			<xref format="default" pageno="false" target="RFC1195"/>
			protocol to support distribution of information necessary for operation of BIER domains.
			This document defines a new TLV to be advertised by every router participating
			in such BIER domains.
		</t>
	</section>
	<section title="Terminology" toc="default">
		<t>
			Some of the terminology specified in
			<xref format="default" pageno="false" target="I-D.draft-wijnands-bier-architecture-00"/>
			is replicated here and extended 
		by necessary definitions:
		</t>
		<t>
			<list style="hanging">
				<t hangText="BIER:">
					Bit Index Explicit Replication (The overall architecture of forwarding multicast using
					a Bit Position).
				</t>
				<t hangText="BIER-OL:">BIER Overlay Signaling. (The method for the BFIR to learn about BFER's).</t>
				<t hangText="BM:">
					Bit Mask (A bit stream of a certain fixed length. Each Bit represents a receiver).
				</t>
				<t hangText="P-BM:">Packet Bit Mask (A Bit Mask included in the
          Multicast Packet).</t>
				<t hangText="BP:">Bit Position (A single Bit from the Bit Mask that represents a receiver).</t>
				<t hangText="BFR:">
					Bit Forwarding Router (A router that participates in Bit Index Multipoint Forwarding).
				</t>
				<t hangText="BFIR:">
					Bit Forwarding Ingress Router (The ingress border router that inserts the BM into
					the packet).
				</t>
				<t hangText="BFER:">
					Bit Forwarding Egress Router. A router that participates in Bit Index Forwarding as
					leaf. Each BFER must be a BFR.
				</t>
				<t hangText="BFT:">Bit Forwarding Tree used to reach all BFERs in a domain.</t>
				<t hangText="BIFT:">Bit Index Forwarding Table (A Bit index
          forwarding table).</t>
				<t hangText="BMS:">Bit Mask Set. Set containing bit positions of all BFER participating in a set.</t>
				<t hangText="BMP:">Bit Mask Position, a given bit in a BMS.</t>
				<t hangText="Invalid BMP:">Unassigned Bit Mask Position, consisting of all 0s.</t>
				<t hangText="Invalid BFR-id:">Unassigned BFR-id, consisting of all 0s.</t>
				<t hangText="IGP signalled BIER domain:">
					A BIER domain information carried in IGP and 
					identified by its multi-topology and bitmask length. <!-- It may
					specify the source BFR-id and carry within it multiple distinct services. -->
				</t>
				<!--
				<t hangText="BIER service-id:">Identifier of a specific service carried within a BIER domain.</t>							
				<t hangText="MI-PMSI:">Multidirectional Inclusive PMSI per 
					<xref format="default" pageno="false" target="RFC6513"/>.</t>
				<t hangText="S-PMSI:">Selective PMSI per <xref format="default" pageno="false" target="RFC6513"/>.</t>				
							-->
				
				
			</list>
		</t>
		
	</section>
	
	<section anchor="IANA" title="IANA Considerations" toc="default">
		<t>
			This document adds the following new sub-TLVs to the registry of sub-
   TLVs for TLVs 235, 237 <xref format="default" pageno="false" target="RFC5120"/> and TLVs 135,236
   	<xref format="default" pageno="false" target="RFC5305"/>,<xref format="default" pageno="false" target="RFC5308"/>.
			</t>
<t>
   Value: 32 (suggested - to be assigned by IANA)
</t>
<t>
   Name: BIER Info 
		</t>
		
	</section>
	
	<section title="Concepts">
		<section title="BIER Domains in Extended Reachability TLVs">
			<t>
				This draft introduces a sub-TLV in the extended reachability TLVs to distribute information
				about BIER domains and services they carry. To satisfy the requirements for BIER prefixes per
				<xref format="default" pageno="false" target="I-D.draft-wijnands-bier-architecture-00"/> 
					additional information may be carried in
				<xref format="default" pageno="false" target="I-D.draft-ginsberg-isis-prefix-attributes"/>.
			</t>
		</section>
		<section title="BIER Domains">
			<t>
				ISIS extensions are capable of carrying BIER information not only for a single BIER
				domains but for multiple ones. <!--, each of them capable of carrying 
				multiple "services" distinguished in BIER Info sub-TLV   
						(<xref target="S2L">
				</xref>)		
				by a "service-id". 
				This allows to run many disjoint BIER supported "services" within
				the same
				<xref format="default" pageno="false" target="RFC5120">Multi-Topology</xref>
				easily instead of always forcing different multicast overlays to share the exactly
				same set of BFRs and resources such as MPLS labels or alternately, 
				enforce one multi-topology for every 
				service. Multi topology
				<xref format="default" pageno="false" target="RFC5120"/>
				support for anything but default topology 
					should remain optional to deploy BIER and other topologies should be   
					 intended for the purpose of restricting
				links that can be used or change metrics of such links.
				A BIER domain in ISIS is therefore
				always uniquely identified by the tuple of multi-topology MT and bitmask
				length M it belongs to and can be  
					further distinguished by the service 
					S it carries denoted as &lt;T,S,ML&gt;. A domain
				can moreover specify its source BFIR-id to support both auto-derivation of
				domain identifiers as well as use of BIER domains that encapsulate traffic without
				using the optional BFIR-id per
				<xref format="default" pageno="false" 
				target="I-D.draft-wijnands-mpls-bier-encapsulation-00"/>.	-->
				A BIER domain in ISIS is
				currently always uniquely identified by the tuple of multi-topology MT and bitmask
				length ML it belongs to denoted as &lt;MT,ML&gt;.
			</t>
			<t>
				Each such domain itself has as its unique attributes the encapsulation used and the type
				of tree it is using to forward BIER frames (currently always SPF).
			</t>
		</section>
	</section>
	
	<section title="Procedures">
		   <!--
		<section title="Enabling a Service as a BIER Domain">
			-->
		<section title="Enabling a BIER Domain">
			<t>
				<!--
				A given service S with masklength M in a multi-topology MT
				<xref format="default" pageno="false" target="RFC5120"/>
				(denoted as &lt;T,S,ML&gt;) is normally not advertised to preserve the scaling of the
				protocol (i.e. ISIS carries no TLVs containing any of the elements related to
				&lt;T,S,ML&gt;) and is enabled by a first BIER sub-TLV (<xref target="S2L">
				</xref>) containing &lt;T,S,ML&gt; being advertised into the area. The trigger itself is outside
				the scope of this draft but can be .e.g. a VPN desiring to initiate a BIER layer
				as MI-PMSI tree or a MS-PMSI. It is outside the scope of this document to describe
				what trigger for a router capable of participating &lt;T,S,ML&gt; is used to start
				to originate the necessary information to participate in it.
							-->
				A given domain with masklength ML in a multi-topology MT
				<xref format="default" pageno="false" target="RFC5120"/>
				(denoted as &lt;MT,ML&gt;) is normally not advertised to preserve the scaling of the
				protocol (i.e. ISIS carries no TLVs containing any of the elements related to
				&lt;MT,ML&gt;) and is enabled by a first BIER sub-TLV (<xref target="S2L">
				</xref>) containing &lt;MT,ML&gt; being advertised into the area. The trigger itself is outside
				the scope of this draft but can be for example a VPN desiring to initiate a BIER layer
				as MI-PMSI <xref format="default" pageno="false" target="RFC6513"/>
				tree. It is outside the scope of this document to describe
				what trigger for a router capable of participating &lt;MT,ML&gt; is used to start
				the origination of the necessary information to join into it.

			</t>
			
		</section>
		
		<section title="Encapsulation">
			<t>
				All routers in the flooding scope of the BIER TLVs SHOULD advertise the same encapsulation
				for a given &lt;MT<!--,S-->,ML&gt;. A router discovering encapsulation advertised that
				is different from its own MUST report a misconfiguration of a specific &lt;MT<!--,S-->,ML&gt;.
				Each router MUST compute BFTs for &lt;MT<!--,S-->,ML&gt; using only routers having the
				same encapsulation as its own advertised encapsulation in BIER sub-TLV for &lt;MT<!--,S-->,ML&gt;.
			</t>
			
			<!-- section title="Special Consideration"> t> The same router MAY advertise for different
				&lt;T,S,ML&gt; combinations two different encapsulations. This allows to cleanly
				delineate domains crossing the same router but using different encapsulations
				in the encoding, even within the same topology. /t> /section> -->
		</section>

		<!--
		<section title="Optional source BFIR-id">
<t>
	In deployments where a BIER domain is operating as MS-PMSI with a single source 
	it may be superfluous to 
	 encapsulate traffic 
				using the optional BFIR-id in
				<xref format="default" pageno="false" 
				target="I-D.draft-wijnands-mpls-bier-encapsulation-00"/>. In such case the 
					domain sub-TLV MUST carry the optional source BFIR-id. 
					</t>
					<t>In case of same 
					&lt;T,S,ML&gt; with different BFIR-ids is advertised, the BFRs MUST allocate
					disjoint label ranges for each combination UNLESS it is clearly implied by 
					the multicast OL that the encapsulation carries the according BFIR-id on 
					every BIER packet (which makes however advertising the BFIR-id in the sub-TLV
					superfluous). An missing source BFIR-id always implies a MI-PMSI BIER domain. 
</t>
<t>
	If a same &lt;T,S,ML&gt; is advertised with multiple optional source BFID-ids ALL participating 
	BFERs MUST use the same originator BFR-id in all such sub-TLVs. In any other case, the offending 
	BFERs MUST be excluded from computation for all &lt;T,S,ML&gt;. 
</t>
		</section>
		-->	
		
		<section title="Label Advertisements for MPLS encapsulated BIER domains">
			<t>
				Each router MAY advertise within the BIER MPLS Encapsulation sub-sub-TLV (<xref target="MS2L">
				</xref>)
			 of a BIER Info sub-TLV (<xref target="S2L">
				</xref>) for &lt;MT<!--,S-->,ML&gt; (denoted further as TLV&lt;MT<!--,S-->,ML&gt;) a valid starting label value
				and a non-zero range length. It MUST advertise a valid label value and a non-zero
				range length in case it has computed itself as being on the BFT rooted at any of the
				BFRs with valid BFR-ids (except itself if it does NOT have a valid BFR-id) participating in &lt;MT<!--,S-->,ML&gt;.
			</t>
			<t>
				A router CAN decide to not advertise its TLV&lt;MT<!--,S-->,ML&gt; if it does not want to participate in the
				domain due to resource constraints, label space optimization, administrative
				configuration or any other reasons. 
			</t>
			<!--
			<t> Observe that a BF_E_R can advertise without further detrimental effect  for several
				services in a domain &lt;T,*,ML&gt; the same label range if it has other means within
				the frame (such as service labels) 
				to determine the service upon the frame exiting the BIER domain. 
				</t>
			-->
			<section title="Special Consideration">
				<t>
					A router MUST advertise for &lt;MT<!--,S-->,ML&gt; label range size that guarantees to cover
					the maximum BFR-id injected into &lt;MT<!--,S-->,ML&gt; (which implies a certain set id
					as described in
					<xref format="default" pageno="false" target="I-D.draft-wijnands-bier-architecture-00"/>). 
						Any router that violates this condition MUST be excluded from BIER BFTs for &lt;MT<!--,S-->,ML&gt;.
				</t>
			</section>
			
		</section>
							
		<section title="BFR-id Advertisements">
			<t>
				Each BFER MAY advertise with its TLV&lt;MT<!--,S-->,ML&gt; the BFR-id that it has
				administratively chosen.
			</t>
			<t>
				If a router discovers that
				two  BFRs it can reach advertise the same value for BFR-id for &lt;MT<!--,S-->,ML&gt;, it 				
				MUST report a misconfiguration and disregard those routers for all BIER calculations
				and procedures for &lt;MT<!--,S-->,ML&gt; to align with
				<xref format="default" pageno="false" target="I-D.draft-wijnands-bier-architecture-00"/>.
				It is worth observing that based on this procedure
				routers with colliding BFR-id assignments in &lt;MT<!--,S-->,ML&gt;
				MAY still act as BFIRs in &lt;MT<!--,S-->,ML&gt; but will be never
				able to receive traffic from other BFRs in &lt;MT<!--,S-->,ML&gt;.
			</t>
		</section>
		
		<section title="Flooding">
			<t>
				BIER domain <!-- and service  --> information SHOULD change and force flooding infrequently<!-- only when a new 
				service is introduced into the network or a new BFER that originates a S-PMSI domain -->. 
				Further discussion TBD. 
		</t>
		</section>
	</section>

	<!--
			
	<section title="Examples">
			<section title="Single I-PMSI without any service separations, a.k.a single BIER domain for them all">
				<t>
				Only a single BIER Info sub-TLV  is advertised on every router. 
				Service-ID is 0 and 
				BFERs include their originator BFR-ids. Bitmask length is the same in all cases.
					</t>
					
<figure align="left" alt="" height="" suppress-title="false" title="" width="">
				
				<artwork align="left" alt="" height="" name="" type="" width="" xml:space="preserve">
					<![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
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    32         |   Length      |        0      | BM Len|0|0|XXX|
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    0          |   Length      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Lbl Range Size|                    Label                      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+				
																]]>
				</artwork>
			</figure>					
					
				</section>
				
			<section title="I-PMSI per service with separation">
				<t>
				A BIER Info sub-TLV per service is advertised on every router containing 
					for each service an entry with according service-id and no source BFR-id. 
					Each of those sub-TLV contains a different label range. 
				BFERs include their originator BFER-ids (same for all services). 
					Bitmask length is the same in all cases.			
					</t>
				
				<figure align="left" alt="" height="" suppress-title="false" title="" width="">
				
				<artwork align="left" alt="" height="" name="" type="" width="" xml:space="preserve">
					<![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
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    32         |   Length      |   service-id  | BM Len|0|0|XXX|
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    0          |   Length      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Lbl Range Size|                    Label for service-id       |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+				
						
																]]>
				</artwork>
			</figure>		
				
				</section>

			<section title="S-PMSI per service with separation with a single source">
				<t>
				A BIER Info sub-TLV per service is advertised on every router containing 
					for each service an entry with according service-id and according source BFR-id. 
					Each of those sub-TLVs contains a different label range. 
				BFERs include their originator BFER-ids (same for all services). 	
					Bitmask length is the same in all cases.		
					</t>
				
				<figure align="left" alt="" height="" suppress-title="false" title="" width="">
				
				<artwork align="left" alt="" height="" name="" type="" width="" xml:space="preserve">
					<![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
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    32         |   Length      |   service-id  | BM Len|0|1|XXX|
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
	  |    optional source BFR-id     |						
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    0          |   Length      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Lbl Range Size|                    Label for service-id       |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+				
						
																]]>
				</artwork>
			</figure>		
				</section>
							
				</section>
	-->							
					
	<section title="Packet Formats" toc="default">
		<t>
			All ISIS BIER information is carried within the 
			TLVs 235, 237 <xref format="default" pageno="false" target="RFC5120"/> 
				and TLVs 135,236
   	<xref format="default" pageno="false" target="RFC5305"/>,<xref format="default" pageno="false" target="RFC5308"/>.
		</t>
		
		<section title="BIER Info sub-TLV" anchor="S2L">
			<t>
				<!--
				This sub-TLV carries the information for the BIER domains that the router participates
				in as BFR. It can repeat multiple times for different domain &lt;T,S,ML&gt; combinations or 
				if a domain is S-PMSI, different &lt;T,S,ML&gt;+source BFR-id combinations. 
				If the same &lt;T,S,ML&gt; is advertised
				more than once with same source BFR-id, the result is unspecified.
				If the same &lt;T,S,ML&gt; domain is advertised multiple times with different
				encapsulations, the result is unspecified. 
							-->
				This sub-TLV carries the information for the BIER domains that the router participates
				in as BFR. It can repeat multiple times for different domain &lt;MT,ML&gt; combinations.
				If the same &lt;MT,ML&gt; domain is advertised multiple times with different
				encapsulations, the result is unspecified.
			</t>
							<t>
				The sub-TLV carries a single &lt;MT,ML&gt; combination followed by optional sub-sub-TLVs
								specified within its context such as e.g. BIER MPLS Encapsulation 
														per <xref target="MS2L">
								</xref>. 
							   </t>
			<figure align="left" alt="" height="" suppress-title="false" title="" width="">
				
				<artwork align="left" alt="" height="" name="" type="" width="" xml:space="preserve">
								
					<!--
					<![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      |  service-id   | BM Len|A|I|XXX|
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    optional originator BFR-id |    optional source BFR-id     |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+											

																]]>
																   -->
					<![CDATA[
					 
       0                   1                   2                   
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Type       |   Length      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | BM Len|Reservd|    BFR-id                     |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+										

																]]>
					
				</artwork>
			</figure>
			<t>
				<list style="hanging">
					<t hangText="Type:">as indicated in IANA section.</t>
					<t hangText="Length:">1 octet.</t>
<!--
					<t hangText="service-id:">Unique identifier for a service S, 1 octet. Reserved values:</t>
						<t>
							<list style="hanging">
								<t hangText="0:">unspecified, any kind of service may be carried by this service-id</t>
								<t hangText="1:">mVPN autoconfiguration</t>
								<t hangText="2:">eVPN autoconfiguration</t>
								<t hangText="3-128:">for future assignment</t>
								<t hangText="129-255:">for private use</t>
																							</list>
						</t>
	-->				
															<t hangText="Local BitMask Length (BM Len):">
						Bitmask length for this BIER domain that this router is advertising per
						<xref format="default" pageno="false" target="I-D.draft-wijnands-mpls-bier-encapsulation-01"/>. 4 bits.
					</t>
<!--
				    <t hangText="A">if set, the sub-TLV includes the optional originator BFR-id. 1 bit.</t>
					<t hangText="I">if set, the sub-TLV includes the optional source BFR-id. 1 bit.</t>
					<t hangText="XXX">reserved, must be 0 on transmission, ignored on reception. 2 bits</t>
					
					<t hangText="originator BFR-id:">
						BFR-id of the originator, only present if A bit is set. Always present for a BFER, may be 
						present for a BFR that is not BFER. 2 octets. 
					</t>
					<t hangText="originator BFR-id:">
						BFR identifier of the source implied on all BIER traffic in this domain/service combination, 
						only present if I bit is set. 2 octets.										  
					</t>									
																	-->
					<t hangText="Reserved">reserved, must be 0 on transmission, ignored on reception. 4 bits</t>
					<t hangText="BFR-id">
						A 2 octet field encoding the BFR-id, as documented in
						<xref format="default" pageno="false" target="I-D.draft-wijnands-bier-architecture-00"/>.
						If set to the invalid BFR-id advertising router is not owning any
						BFR-id.
					</t>
				</list>
			</t>
			
			
		</section>
		
		<section title="BIER MPLS Encapsulation sub-sub-TLV" anchor="MS2L">
			<t>
				This sub-sub-TLV carries the information for the BIER MPLS encapsulations for a certain &lt;MT<!--,S-->,ML&gt;
				and is carried within the BIER Info sub-TLV (<xref target="S2L">
				</xref>) that the router participates in as BFR. It can repeat only once within it. If this
				sub-sub-TLV is included more than once, the result is unspecified.
			</t>
			
			<figure align="left" alt="" height="" suppress-title="false" title="" width="">
				
				<artwork align="left" alt="" height="" name="" type="" width="" xml:space="preserve">
					<![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      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      | Lbl Range Size|Reservd|                    Label              |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+					 
						
					]]>
				</artwork>
			</figure>
			
			<t>
				<list style="hanging">
					<t hangText="Type:">value of 0 indicating MPLS encapsulation.</t>
					<t hangText="Length:">1 octet.</t>
					
					<t hangText="Label Range Size:">
						Number of labels in the range used on encapsulation for this BIER domain, 1 octet. This MUST never be advertise as 0 (zero) and otherwise, 
										  this sub-sub-TLV must be treated as if not present for BFT calculations and a misconfiguration 
																		SHOULD be reported  by the receiving router. 
					</t>
					
					<t hangText="Label:">
						First label of the range used on encapsulation for this BIER domain and service, 20 bits. The
						label is used for example by 
						<xref format="default" pageno="false" target="I-D.draft-wijnands-mpls-bier-encapsulation-01"/>
						to forward traffic to sets of BFERs.
					</t>
					<t hangText="Reserved">reserved, must be 0 on transmission, ignored on reception. 4 bits</t>


				</list>
			</t>
			
			
		</section>
		
	</section>
	<section anchor="Security" title="Security Considerations" toc="default">
		<t>
			Implementations must assure that malformed TLV and Sub-TLV
			permutations do not result in errors which cause hard protocol failures.
		</t>
	</section>
	<section anchor="Acknowledgements" title="Acknowledgements" toc="default">
		<t>
			The draft is aligned with the
			<xref format="default" pageno="false" target="I-D.draft-psenak-ospf-bier-extension-01"/>
			draft as far as the protocol mechanisms overlap.
		</t>
		<t>Many thanks for comments from (in no particular order) Hannes Gredler, Ijsbrand Wijnands and Peter Psenak.</t>
	</section>
</middle>

<back>
											
									<references title="Normative References">
										
			<?rfc include="reference.RFC.1195"?>
			<?rfc include="reference.RFC.4971"?>
			<?rfc include="reference.RFC.2119"?>
			<?rfc include="reference.RFC.5120"?>
			<?rfc include="reference.RFC.6513"?>
			<?rfc include="reference.RFC.5305"?>
			<?rfc include="reference.RFC.5308"?>
													
		<reference anchor="I-D.draft-wijnands-bier-architecture-00">
			<front>
				<title>Stateless Multicast using Bit Index Explicit Replication
          Architecture</title>
				<author initials="IJ" surname="Wijnands">
					<organization/>
				</author>
				<date month="February" year="2014"/>
			</front>
			<seriesInfo name="internet-draft" value="draft-wijnands-bier-architecture-00.txt"/>
			<format target="http://tools.ietf.org/id/draft-wijnands-bier-architecture-00.txt"
				type="TXT"/>
		</reference>
		
		<reference anchor="I-D.draft-wijnands-mpls-bier-encapsulation-01">
			<front>
				<title>Bit Index Explicit Replication using MPLS
          encapsulation</title>
				<author initials="IJ" surname="Wijnands et al.">
					<organization/>
				</author>
				<date month="February" year="2014"/>
			</front>
			<seriesInfo name="internet-draft" value="draft-wijnands-mpls-bier-encapsulation-01.txt"/>
			<format target="http://tools.ietf.org/id/draft-wijnands-mpls-bier-encapsulation-01.txt"
				type="TXT"/>
		</reference>
		
		<reference anchor="I-D.draft-ginsberg-isis-prefix-attributes">
			<front>
				<title>IS-IS Prefix Attributes for Extended IP and IPv6 Reachability</title>
				<author initials="U" surname="Ginsberg et al.">
					<organization/>
				</author>
				<date month="October" year="2014"/>
			</front>
			<seriesInfo name="internet-draft" value="draft-ginsberg-isis-prefix-attributes-00.txt"/>
			<format target="http://tools.ietf.org/id/draft-ginsberg-isis-prefix-attributes-00.txt"
				type="TXT"/>
		</reference>
		
		<reference anchor="I-D.draft-psenak-ospf-bier-extension-01">
			<front>
				<title>OSPF Extension for Bit Index Explicit Replication</title>
				<author surname="Psenak" initials="P">
					<organization/>
				</author>
				<author surname="Wijnands" initials="IJ">
					<organization/>
				</author>
				<date year="2014" month="October"/>
			</front>
			<seriesInfo name="internet-draft" value="draft-ietf-ospf-prefix-link-attr-01.txt"/>
			<format target="http://tools.ietf.org/id/draft-ietf-ospf-prefix-link-attr-01.txt"
				type="TXT"/>
		</reference>
		
		
		
	</references>
</back>



</rfc>
