rfc9487xml2.original.xml   rfc9487.xml 
<?xml version="1.0" encoding="US-ASCII"?> <?xml version="1.0" encoding="UTF-8"?>
<!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-ietf-opsawg-ipfix-srv6-srh-14"
ipr="trust200902">
<front>
<title
abbrev="IPFIX Segment Routing over IPv6">Export&nbsp;of&nbsp;Segment&nbsp;Ro
uting&nbsp;over&nbsp;IPv6&nbsp;Information&nbsp;in
IP&nbsp;Flow&nbsp;Information&nbsp;Export&nbsp;(IPFIX)</title>
<!DOCTYPE rfc [
<!ENTITY nbsp "&#160;">
<!ENTITY zwsp "&#8203;">
<!ENTITY nbhy "&#8209;">
<!ENTITY wj "&#8288;">
]>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" submissionType="IETF" category="
std" consensus="true" docName="draft-ietf-opsawg-ipfix-srv6-srh-14" number="9487
" ipr="trust200902" obsoletes="" updates="" xml:lang="en" tocInclude="true" tocD
epth="3" symRefs="true" sortRefs="true" version="3">
<front>
<title abbrev="IPFIX Segment Routing over IPv6">Export of Segment Routing ov
er IPv6 Information in IP Flow Information Export (IPFIX)</title>
<seriesInfo name="RFC" value="9487"/>
<author fullname="Thomas Graf" initials="T" surname="Graf"> <author fullname="Thomas Graf" initials="T" surname="Graf">
<organization>Swisscom</organization> <organization>Swisscom</organization>
<address> <address>
<postal> <postal>
<street>Binzring 17</street> <street>Binzring 17</street>
<city>Zurich</city> <city>Zurich</city>
<code>8045</code> <code>8045</code>
<country>Switzerland</country> <country>Switzerland</country>
</postal> </postal>
<email>thomas.graf@swisscom.com</email> <email>thomas.graf@swisscom.com</email>
</address> </address>
</author> </author>
<author fullname="Benoit Claise" initials="B" surname="Claise"> <author fullname="Benoit Claise" initials="B" surname="Claise">
<organization>Huawei</organization> <organization>Huawei</organization>
<address> <address>
<email>benoit.claise@huawei.com</email> <email>benoit.claise@huawei.com</email>
</address> </address>
</author> </author>
<author fullname="Pierre Francois" initials="P." surname="Francois"> <author fullname="Pierre Francois" initials="P." surname="Francois">
<organization>INSA-Lyon</organization> <organization>INSA-Lyon</organization>
<address> <address>
<postal> <postal>
<street/> <street/>
<city>Lyon</city> <city>Lyon</city>
<region/> <region/>
<code/> <code/>
<country>France</country> <country>France</country>
</postal> </postal>
<phone/> <phone/>
<facsimile/>
<email>pierre.francois@insa-lyon.fr</email> <email>pierre.francois@insa-lyon.fr</email>
<uri/> <uri/>
</address> </address>
</author> </author>
<date month="November" year="2023"/>
<area>ops</area>
<workgroup>opsawg</workgroup>
<date day="25" month="May" year="2023"/> <abstract>
<abstract>
<t>This document introduces new IP Flow Information Export (IPFIX) <t>This document introduces new IP Flow Information Export (IPFIX)
Information Elements to identify a set of Segment Routing over IPv6 Information Elements (IEs) to identify a set of information related to Seg
(SRv6) related information such as data contained in a Segment Routing ment Routing over IPv6
Header (SRH), the SRv6 control plane, and the SRv6 endpoint behavior (SRv6) such as data contained in a Segment Routing
Header (SRH), the SRv6 control plane, and the SRv6 Endpoint behavior
that traffic is being forwarded with.</t> that traffic is being forwarded with.</t>
</abstract> </abstract>
</front> </front>
<middle> <middle>
<section anchor="Introduction" title="Introduction"> <section anchor="Introduction" numbered="true" toc="default">
<t>A dedicated Routing Extension Header, called Segment Routing Header <name>Introduction</name>
(SRH), is defined in <xref target="RFC8754"/> for use of Segment Routing <t>A dedicated Routing Extension Header, called "Segment Routing Header
(SR) over IPv6 data plane.</t> (SRH)", is defined in <xref target="RFC8754" format="default"/> for use
of Segment Routing over IPv6 (SRv6) data plane.</t>
<t>Also, three routing protocol extensions, <xref <t>Also, three routing protocol extensions, <xref
target="I-D.ietf-lsr-ospfv3-srv6-extensions">OSPFv3</xref>, <xref target="I-D.ietf-lsr-ospfv3-srv6-extensions"
target="RFC9352">IS-IS</xref> and <xref target="RFC8669">BGP Prefix format="default">OSPFv3</xref>, <xref target="RFC9352"
Segment Identifiers(Prefix-SIDs)</xref> and <xref format="default">IS-IS</xref>, and <xref target="RFC8669"
target="I-D.ietf-pce-segment-routing-ipv6">Path Computation Element format="default">BGP Prefix Segment Identifiers (Prefix-SIDs)</xref>;
Communication Protocol (PCEP) Extension</xref> and <xref the <xref target="I-D.ietf-pce-segment-routing-ipv6" format="default">Path
target="RFC9256">Segment Routing Policy</xref> are defined to propagate Computation Element Communication Protocol (PCEP) Extension</xref>; and
Segment Identifiers (SIDs).</t> the <xref target="RFC9256" format="default">Segment Routing Policy</xref>
are defined to propagate Segment Identifiers (SIDs).</t>
<t>SRv6 segment endpoint behaviors describe how packets should be <t>SRv6 Segment Endpoint behaviors describe how packets should be
processed by SRv6 Segment Endpoint Nodes. Such behaviors are defined in processed by SRv6 Segment Endpoint Nodes. Such behaviors are defined in
<xref target="RFC8986"/>.</t> <xref target="RFC8986" format="default"/>.</t>
<t>This document specifies eleven new IPFIX Information Elements (IEs) <t>This document specifies eleven new IPFIX Information Elements (IEs)
and one new subregistry within the "IPFIX Information Elements" registry and one new subregistry within the "IPFIX Information Elements" registry
<xref target="RFC7012"/>, for SRv6 purposes.</t> <xref target="RFC7012" format="default"/>, for SRv6 purposes.</t>
<t>These IEs are used to export the SRv6 active segment and its control <t>These IEs are used to export the SRv6 active segment and its control
plane protocol, the SRv6 Segment List, the next SRv6 node and its type, plane protocol, the SRv6 Segment List, the next SRv6 node and its type,
and the numbers of SRv6 segments left.</t> and the numbers of SRv6 segments left.</t>
<t>Some examples are provided in <xref target="Encoding-Example" format="d
<t>Some examples are provided in Appendix A.</t> efault"/>.</t>
</section> </section>
<section anchor="notation" numbered="true" toc="default">
<section anchor="notation" title="Terminology"> <name>Terminology</name>
<t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", <t> The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
"OPTIONAL" in this document are to be interpreted as described in BCP 14 NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
<xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
they appear in all capitals, as shown here.</t> "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document
are to be interpreted as described in BCP&nbsp;14 <xref
target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.
</t>
<t>This document makes use of the terms defined in <xref <t>This document makes use of the terms defined in <xref
target="RFC7011"/>, <xref target="RFC8402"/> and <xref target="RFC7011" format="default"/>, <xref target="RFC8402"
target="RFC8754"/>.</t> format="default"/>, and <xref target="RFC8754" format="default"/>.</t>
<t>The following terms are used as defined in <xref target="RFC7011" forma
<t>The following terms are used as defined in <xref t="default"/>:</t>
target="RFC7011"/>:</t> <ul spacing="normal">
<li>IPFIX</li>
<t><list style="symbols"> <li>IPFIX Information Elements</li>
<t>IPFIX</t> <li>Template</li>
<li>Template Record</li>
<t>IPFIX Information Elements</t> <li>Options Template</li>
<li>Options Template Record</li>
<t>Template</t> <li>Data Record</li>
<li>Data Set</li>
<t>Template Record</t> </ul>
<t>The following terms are used as defined in <xref target="RFC8402" forma
<t>Options Template</t> t="default"/>:</t>
<ul spacing="normal">
<t>Options Template Record</t> <li>Segment Routing (SR)</li>
<li>Segment</li>
<t>Data Record</t> <li>Segment List</li>
<li>Active Segment</li>
<t>Data Set</t> <li>Segment Identifier (SID)</li>
</list></t> <li>SRv6</li>
<li>SRv6 SID</li>
<t>The following terms are used as defined in <xref </ul>
target="RFC8402"/>:</t> <t>The following terms are used as defined in <xref target="RFC8754" forma
t="default"/>:</t>
<t><list style="symbols"> <ul spacing="normal">
<t>Segment Routing (SR)</t> <li>Segment Routing Header (SRH)</li>
<li>SR Source Node</li>
<t>Segment</t> <li>Transit Node</li>
<li>SR Segment Endpoint Node</li>
<t>Segment List</t> <li>Reduced SRH</li>
<li>Segments Left</li>
<t>Active Segment</t> <li>Last Entry</li>
</ul>
<t>Segment Identifier (SID)</t>
<t>SRv6</t>
<t>SRv6 SID</t>
</list></t>
<t>The following terms are used as defined in <xref
target="RFC8754"/>:</t>
<t><list style="symbols">
<t>Segment Routing Header (SRH)</t>
<t>SR Source Node</t>
<t>Transit Node</t>
<t>SR Segment Endpoint Node</t>
<t>Reduced SRH</t>
<t>Segments Left</t>
<t>Last Entry</t>
</list></t>
</section> </section>
<section anchor="IE" numbered="true" toc="default">
<section anchor="IE" title="New IPFIX IPv6 SRH Information Elements"> <name>New IPFIX IPv6 SRH Information Elements</name>
<t>This section specifies the new IPFIX IPv6 SRH IEs.<list <t>This section specifies the new IPFIX IPv6 SRH IEs.</t>
style="hanging"> <dl newline="true" spacing="normal">
<t hangText="srhFlagsIPv6"><vspace blankLines="0"/> 8-bit flags <dt>srhFlagsIPv6</dt>
defined in the SRH (Section 2 of <xref target="RFC8754"/>).</t> <dd>The 8-bit Flags field defined in the SRH (<xref target="RFC8754"
sectionFormat="of" section="2"/>).</dd>
<t hangText="srhTagIPv6"><vspace blankLines="0"/> 16-bit tag field <dt>srhTagIPv6</dt>
defined in the SRH (Section 2 of <xref target="RFC8754"/>). A tag is <dd>The 16-bit Tag field defined in the SRH (<xref target="RFC8754"
used to mark a packet as part of a class or group of packets sharing sectionFormat="of" section="2"/>). A tag is used to mark a packet as
the same set of properties.</t> part of a class or group of packets sharing the same set of
properties.</dd>
<t hangText="srhSegmentIPv6"><vspace blankLines="0"/> 128-bit IPv6 <dt>srhSegmentIPv6</dt>
address that represents a SRv6 segment.</t> <dd>The 128-bit IPv6
address that represents an SRv6 segment.</dd>
<t hangText="srhActiveSegmentIPv6"><vspace blankLines="0"/> 128-bit <dt>srhActiveSegmentIPv6</dt>
IPv6 address that represents the active SRv6 segment.</t> <dd>The 128-bit
IPv6 address that represents the active SRv6 segment.</dd>
<t hangText="srhSegmentIPv6BasicList"><vspace blankLines="0"/> <dt>srhSegmentIPv6BasicList</dt>
Ordered basicList <xref target="RFC6313"/> of zero or more 128-bit <dd>
IPv6 addresses in the SRH that represents the SRv6 Segment List. As The ordered basicList <xref target="RFC6313" format="default"/> of zer
specified in Section 2 of <xref target="RFC8754"/>, the Segment List o
is encoded starting from the last segment of the SR Policy. That is, or more 128-bit IPv6 addresses in the SRH that represents the SRv6
the first element of the Segment List (Segment List[0]) contains the Segment List. As specified in <xref target="RFC8754"
last segment of the SR Policy, the second element contains the sectionFormat="of" section="2"/>, the Segment List is encoded
penultimate segment of the SR Policy, and so on.</t> starting from the last segment of the SR Policy. That is, the first
element of the Segment List (Segment List[0]) contains the last
<t hangText="srhSegmentIPv6ListSection"><vspace blankLines="0"/> The segment of the SR Policy, the second element contains the
SRH Segment List as defined in Section 2 of <xref target="RFC8754"/> penultimate segment of the SR Policy, and so on.</dd>
as a series of octets in IPFIX.</t> <dt>srhSegmentIPv6ListSection</dt>
<dd> The SRH Segment List as defined in <xref target="RFC8754"
<t hangText="srhSegmentsIPv6Left"><vspace blankLines="0"/> 8-bit sectionFormat="of" section="2"/> as a series of octets in IPFIX.</dd>
unsigned integer defining the number of segments remaining to reach <dt>srhSegmentsIPv6Left</dt>
the end of the Segment List from the SRH, as specified by the <dd>The 8-bit unsigned integer that defines the number of segments remai
"Segments Left" field in Section 4.4 of <xref target="RFC8200"/> and ning
mentioned part of the SRH in Section 2 of <xref to reach the end of the Segment List from the SRH, as specified by the
target="RFC8754"/>).</t> "Segments Left" field in <xref target="RFC8200" sectionFormat="of"
section="4.4"/> and as mentioned in the SRH part of <xref
<t hangText="srhIPv6Section"><vspace blankLines="0"/> Exposes the target="RFC8754" sectionFormat="of" section="2"/>.</dd>
SRH and its TLVs as specified in Section 2 of <xref <dt>srhIPv6Section</dt>
target="RFC8754"/> as a series of octets in IPFIX.</t> <dd> The SRH and its TLVs as specified in <xref
target="RFC8754" sectionFormat="of" section="2"/> as a series of
<t hangText="srhIPv6ActiveSegmentType"><vspace blankLines="0"/> octets in IPFIX.</dd>
Designator of the routing protocol or PCEP extension where the <dt>srhIPv6ActiveSegmentType</dt>
active SRv6 segment has been learned from.</t> <dd>
The designator of the routing protocol or PCEP extension where the
<t hangText="srhSegmentIPv6LocatorLength"><vspace blankLines="0"/> active SRv6 segment has been learned from.</dd>
The SRH segment IPv6 locator length specified as the number of <dt>srhSegmentIPv6LocatorLength</dt>
significant bits. Together with srhSegmentIPv6 it enables the <dd>
calculation of the SRv6 Locator.</t> The length of the SRH segment IPv6 locator specified as the number of
significant bits. Together with srhSegmentIPv6, it enables the
<t hangText="srhSegmentIPv6EndpointBehavior"><vspace calculation of the SRv6 Locator.</dd>
blankLines="0"/> 16-bit unsigned integer that represents a SRv6 <dt>srhSegmentIPv6EndpointBehavior</dt>
Endpoint behavior as per Section 4 of <xref target="RFC8986"/>.</t> <dd>The 16-bit unsigned integer that represents an SRv6 Endpoint behavio
</list></t> r
as per <xref target="RFC8986" sectionFormat="of" section="4"/>.</dd>
</dl>
<t>Note that the srhSegmentIPv6, srhSegmentIPv6LocatorLength, and <t>Note that the srhSegmentIPv6, srhSegmentIPv6LocatorLength, and
srhSegmentIPv6EndpointBehavior IPFIX IEs are generic fields, to be used srhSegmentIPv6EndpointBehavior IPFIX IEs are generic fields to be used
in the context of IPFIX Options Templates or IPFIX Structured Data <xref in the context of IPFIX Options Templates or IPFIX Structured Data <xref
target="RFC6313"/>.</t> target="RFC6313" format="default"/>.</t>
</section> </section>
<section anchor="Sample-Use-Cases" numbered="true" toc="default">
<name>Sample Use Cases</name>
<section anchor="Sample-Use-Cases" title="Sample Use Cases"> <t>The IPFIX IEs srhSegmentIPv6BasicList (496) or alternatively srhSegmen
<t>The IPFIX IEs srhSegmentIPv6BasicList (TBD5) or tIPv6ListSection (497), srhActiveSegmentIPv6 (495),
srhSegmentIPv6ListSection (TBD6), srhActiveSegmentIPv6 (TBD4), srhSegmentsIPv6Left (498), srhIPv6ActiveSegmentType (500), and
srhSegmentsIPv6Left (TBD7), srhIPv6ActiveSegmentType(TBD9), forwardingStatus (89) <xref target="RFC7270" format="default"/> <xref
forwardingStatus (89) <xref target="RFC7270"/> <xref target="IANA-IPFIX" format="default"/> as well as some existing counter
target="IANA-IPFIX"/>, and some existing counter informations <xref information <xref target="IANA-IPFIX" format="default"/> provide
target="IANA-IPFIX"/> providing answers to the following questions answers to the following questions (amongst others):</t>
(amongst others):</t> <ul spacing="normal">
<li>How many packets steered with an SR policy are forwarded or
<t><list style="symbols"> dropped using SRv6 in a network?</li>
<t>How many packets steered with a SR policy are forwarded or <li>If dropped, for which reasons?</li>
dropped using SRv6 in a network?</t> <li>What is the current active segment and its associated control
plane protocol?</li>
<t>If dropped, for which reasons?</t> <li>What is the SRv6 Segment List?</li>
<li>What is the next SRv6 node and its type?</li>
<t>What is the current active segment and its associated control <li>How many SRv6 segments are left?</li>
plane protocol?</t> </ul>
<t>What is the SRv6 Segment List?</t>
<t>What is the next SRv6 node and its type?</t>
<t>How many SRv6 segments are left?</t>
</list></t>
</section> </section>
<section anchor="IANA" numbered="true" toc="default">
<name>IANA Considerations</name>
<section anchor="sec-new-ies" numbered="true" toc="default">
<name>IPFIX Information Elements Registry</name>
<t>IANA has added the following new IEs to the "IPFIX Information Elemen
ts" registry
<xref target="RFC7012" format="default"/> at <xref target="IANA-IPFIX" f
ormat="default"/>:</t>
<section anchor="IANA" title="IANA Considerations"> <table anchor="table1" align="center">
<t>Note to the RFC-Editor:</t> <name>IPFIX Information Elements Registry</name>
<thead>
<t><list style="symbols"> <tr>
<t>Please replace TBD1 - TBD17 with the values allocated by IANA</t> <th>ElementID</th>
<th>Name</th>
<t>Please replace the [RFC-to-be] with the RFC number assigned to </tr>
this document</t> </thead>
</list></t> <tbody>
<tr>
<section anchor="sec-new-ies" <td>492</td>
title="New IPFIX IPv6 SRH Information Elements"> <td>srhFlagsIPv6</td>
<t>This document requests IANA to add new IEs (<xref </tr>
target="sec-new-ies"/>) to the "IPFIX Information Elements" registry <tr>
<xref target="RFC7012"/> available at <xref target="IANA-IPFIX"/>.</t> <td>493</td>
<td>srhTagIPv6</td>
<t>Table 1 lists the new IPv6 SRH IEs:</t> </tr>
<tr>
<t><figure> <td>494</td>
<artwork><![CDATA[ <td>srhSegmentIPv6</td>
</tr>
+-------+--------------------------------+ <tr>
|Element| Name | <td>495</td>
| ID | | <td>srhActiveSegmentIPv6</td>
+-------+--------------------------------+ </tr>
| TBD1 | srhFlagsIPv6 | <tr>
| | | <td>496</td>
+-------+--------------------------------+ <td>srhSegmentIPv6BasicList</td>
| TBD2 | srhTagIPv6 | </tr>
| | | <tr>
+-------+--------------------------------+ <td>497</td>
| TBD3 | srhSegmentIPv6 | <td>srhSegmentIPv6ListSection</td>
| | | </tr>
+-------+--------------------------------+ <tr>
| TBD4 | srhActiveSegmentIPv6 | <td>498</td>
| | | <td>srhSegmentsIPv6Left</td>
+-------+--------------------------------+ </tr>
| TBD5 | srhSegmentIPv6BasicList | <tr>
| | | <td>499</td>
+-------+--------------------------------+ <td>srhIPv6Section</td>
| TBD6 | srhSegmentIPv6ListSection | </tr>
| | | <tr>
+-------+--------------------------------+ <td>500</td>
| TBD7 | srhSegmentsIPv6Left | <td>srhIPv6ActiveSegmentType</td>
| | | </tr>
+-------+--------------------------------+ <tr>
| TBD8 | srhIPv6Section | <td>501</td>
| | | <td>srhSegmentIPv6LocatorLength</td>
+-------+--------------------------------+ </tr>
| TBD9 | srhIPv6ActiveSegmentType | <tr>
| | | <td>502</td>
+-------+--------------------------------+ <td>srhSegmentIPv6EndpointBehavior</td>
| TBD10 | srhSegmentIPv6LocatorLength | </tr>
| | | </tbody>
+-------+--------------------------------+ </table>
| TBD11 | srhSegmentIPv6EndpointBehavior | <section anchor="IANAsrhFlagsIPv6" numbered="true" toc="default">
| | | <name>srhFlagsIPv6</name>
+-------+--------------------------------+ <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
Table 1: New IPv6 SRH IEs in the "IPFIX Information Elements" Registry <dd>492</dd>
]]></artwork>
</figure></t>
<section anchor="IANAsrhFlagsIPv6" title="srhFlagsIPv6">
<dl>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhFlagsIPv6</dd> <dd>srhFlagsIPv6</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD1</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The 8-bit flags defined in the SRH (Section 2 of <xref
target="RFC8754"/>). Assigned flags and their meanings are
provided in the "Segment Routing Header Flags" IANA registry.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>unsigned8</dd> <dd>unsigned8</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>flags</dd> <dd>flags</dd>
</dl> <dt>Description:</dt>
<dd>The 8-bit Flags field defined in the SRH (<xref target="RFC8754"
<dl> sectionFormat="of" section="2"/>). Assigned flags and their
meanings are provided in the "Segment Routing Header Flags" IANA
registry.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See the assignments in the "Segment Routing Header Flags"
<dd>See the assignments in the "Segment Routing Header Flags" IANA registry at <eref
registry at target="https://www.iana.org/assignments/ipv6-parameters"
https://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xht brackets="angle"/>. See also <xref target="RFC8754"
ml#segment-routing-header-flags. format="default"/> for the SRH specification.</dd>
See also RFC8754 for the SRH specification.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhTagIPv6" numbered="true" toc="default">
<section anchor="IANAsrhTagIPv6" title="srhTagIPv6"> <name>srhTagIPv6</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>493</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhTagIPv6</dd> <dd>srhTagIPv6</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD2</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The 16-bit tag field defined in the SRH (Section 2 of <xref
target="RFC8754"/>). A tag is used to mark a packet as part of a
class or group of packets sharing the same set of properties.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>unsigned16</dd> <dd>unsigned16</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>identifier</dd> <dd>identifier</dd>
</dl> <dt>Description:</dt>
<dd>The 16-bit Tag field defined in the SRH (<xref
<dl> target="RFC8754" sectionFormat="of" section="2"/>). A tag is used
to mark a packet as part of a class or group of packets sharing
the same set of properties.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See <xref target="RFC8754" sectionFormat="of" section="2"/>
<dd>See Section 2 of <xref target="RFC8754"/> for more details for more details about the Tag.</dd>
about the tag.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhSegmentIPv6" numbered="true" toc="default">
<section anchor="IANAsrhSegmentIPv6" title="srhSegmentIPv6"> <name>srhSegmentIPv6</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>494</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhSegmentIPv6</dd> <dd>srhSegmentIPv6</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD3</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The 128-bit IPv6 address that represents a SRv6 segment.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>ipv6Address</dd>
<dd>ipv6address</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>default</dd> <dd>default</dd>
</dl> <dt>Description:</dt>
<dd>The 128-bit IPv6 address that represents an SRv6 segment.</dd>
<dl>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>Specified in <xref target="RFC8402" sectionFormat="of"
<dd>Specified in Section 1 of <xref target="RFC8402"/> and section="1"/> and mentioned in "Segment List" in <xref
mentioned in "Segment List" in Section 2 of <xref target="RFC8754" sectionFormat="of" section="2"/>.</dd>
target="RFC8754"/>.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhActiveSegmentIPv6" numbered="true" toc="default"
<section anchor="IANAsrhActiveSegmentIPv6" >
title="srhActiveSegmentIPv6"> <name>srhActiveSegmentIPv6</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>495</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhActiveSegmentIPv6</dd> <dd>srhActiveSegmentIPv6</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD4</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The 128-bit IPv6 address that represents the active SRv6
segment.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>ipv6Address</dd>
<dd>ipv6address</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>default</dd> <dd>default</dd>
</dl> <dt>Description:</dt>
<dd>The 128-bit IPv6 address that represents the active SRv6
<dl> segment.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See <xref target="RFC8402" sectionFormat="of" section="2"/> for
<dd>See Section 2 of <xref target="RFC8402"/> for the definition the definition
of active segment.</dd> of "active segment".</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhSegmentIPv6BasicList" numbered="true" toc="defau
<section anchor="IANAsrhSegmentIPv6BasicList" lt">
title="srhSegmentIPv6BasicList"> <name>srhSegmentIPv6BasicList</name>
<dl> <dl newline="false" spacing="compact">
<dt>ElementID:</dt>
<dd>496</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhSegmentIPv6BasicList</dd> <dd>srhSegmentIPv6BasicList</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD5</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The Ordered basicList [RFC6313] of zero or more 128-bit IPv6
addresses in the SRH that represents the SRv6 Segment List. As
specified in Section 2 of <xref target="RFC8754"/>, the Segment
List is encoded starting from the last segment of the SR Policy.
That is, the first element of the Segment List (Segment List[0])
contains the last segment of the SR Policy, the second element
contains the penultimate segment of the SR Policy, and so on.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>basicList</dd> <dd>basicList</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>list</dd> <dd>list</dd>
</dl> <dt>Description:</dt>
<dd>The ordered basicList <xref target="RFC6313"
<dl> format="default"/> of zero or more 128-bit IPv6 addresses in the
SRH that represents the SRv6 Segment List. As specified in <xref
target="RFC8754" sectionFormat="of" section="2"/>, the Segment
List is encoded starting from the last segment of the SR Policy.
That is, the first element of the Segment List (Segment List[0])
contains the last segment of the SR Policy, the second element
contains the penultimate segment of the SR Policy, and so on.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See <xref target="RFC8754" sectionFormat="of" section="2"/> for
<dd>See Section 2 of <xref target="RFC8754"/> for more details more details
about the SRv6 Segment List.</dd> about the SRv6 Segment List.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhSegmentIPv6ListSection" numbered="true" toc="def
<section anchor="IANAsrhSegmentIPv6ListSection" ault">
title="srhSegmentIPv6ListSection"> <name>srhSegmentIPv6ListSection</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>497</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhSegmentIPv6ListSection</dd> <dd>srhSegmentIPv6ListSection</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD6</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The SRH Segment List as defined in Section 2 of <xref
target="RFC8754"/> as a series of octets in IPFIX.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>octetArray</dd> <dd>octetArray</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>default</dd> <dd>default</dd>
</dl> <dt>Description:</dt>
<dd>The SRv6 Segment List as defined in <xref target="RFC8754"
<dl> sectionFormat="of" section="2"/> as a series of octets in
IPFIX.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See <xref target="RFC8754" sectionFormat="of" section="2"/>
<dd>See Section 2 of <xref target="RFC8754"/> for more details for more details about the SRv6 Segment List.</dd>
about the SRv6 Segment List.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhSegmentsIPv6Left" numbered="true" toc="default">
<section anchor="IANAsrhSegmentsIPv6Left" title="srhSegmentsIPv6Left"> <name>srhSegmentsIPv6Left</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>498</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhSegmentsIPv6Left</dd> <dd>srhSegmentsIPv6Left</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD7</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>8-bit unsigned integer defining the number of segments
remaining to reach the end of the Segment List in the SRH.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>unsigned8</dd> <dd>unsigned8</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>quantity</dd> <dd>quantity</dd>
</dl> <dt>Description:</dt>
<dd>The 8-bit unsigned integer defining the number of segments
<dl> remaining to reach the end of the Segment List from the SRH.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>Specified by the "Segments Left" field in <xref
<dd>Specified by the "Segments Left" field in Section 4.4 of <xref target="RFC8200" sectionFormat="of" section="4.4"/> and mentioned
target="RFC8200"/> and mentioned in Section 2 of <xref in <xref target="RFC8754" sectionFormat="of" section="2"/>.</dd>
target="RFC8754"/>).</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhIPv6Section" numbered="true" toc="default">
<section anchor="IANAsrhIPv6Section" title="srhIPv6Section"> <name>srhIPv6Section</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>499</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhIPv6Section</dd> <dd>srhIPv6Section</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The SRH and its TLVs as defined in Section 2 of <xref
target="RFC8754"/> as a series of octets in IPFIX.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>octetArray</dd> <dd>octetArray</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>default</dd> <dd>default</dd>
</dl> <dt>Description:</dt>
<dd>The SRH and its TLVs as defined in <xref target="RFC8754"
<dl> sectionFormat="of" section="2"/> as a series of octets in
IPFIX.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See <xref target="RFC8754" sectionFormat="of" section="2"/>
<dd>See Section 2 of <xref target="RFC8754"/> for more details for more details about the structure of an SRH.</dd>
about the structure of an SRH.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhIPv6ActiveSegmentType" numbered="true" toc="defa
<section anchor="IANAsrhIPv6ActiveSegmentType" ult">
title="srhIPv6ActiveSegmentType"> <name>srhIPv6ActiveSegmentType</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>500</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhIPv6ActiveSegmentType</dd> <dd>srhIPv6ActiveSegmentType</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD9</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The designator of the routing protocol or PCEP extension from
where the active SRv6 segment has been learned from. Values for
this Information Element are listed in the "IPFIX IPv6 SRH Segment
type" subregistry, see <xref target="IANA-IPFIX"/>.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>unsigned8</dd> <dd>unsigned8</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>identifier</dd> <dd>identifier</dd>
</dl> <dt>Description:</dt>
<dd>The designator of the routing protocol or PCEP extension
<dl> where the active SRv6 segment has been learned from. Values for
this Information Element are listed in the "IPFIX IPv6 SRH Segment
Type (Value 500)" subregistry.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See the assigned types in the "IPFIX IPv6 SRH Segment (Value 500
<dd>See the assigned types in [IPFIX IPv6 SRH Segment Type )" registry at <eref target="https://www.iana.org/assignments/ipfix" brackets="a
Subregistry].</dd> ngle"/>.</dd>
<dt>Note to IANA:</dt>
<dd>Please replace [IPFIX IPv6 SRH Segment Type Subregistry] with
the URL of the IANA subregistry.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhSegmentIPv6LocatorLength" numbered="true" toc="d
<section anchor="IANAsrhSegmentIPv6LocatorLength" efault">
title="srhSegmentIPv6LocatorLength"> <name>srhSegmentIPv6LocatorLength</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>501</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhSegmentIPv6LocatorLength</dd> <dd>srhSegmentIPv6LocatorLength</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD10</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The SRH segment IPv6 locator length specified as the number of
significant bits. Together with srhSegmentIPv6 it enables the
calculation of the SRv6 Locator.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt>
<dd>unsigned8</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>default</dd> <dd>default</dd>
</dl> <dt>Description:</dt>
<dd>The length of the SRH segment IPv6 locator specified as the numb
<dl> er of
significant bits. Together with srhSegmentIPv6, it enables the
calculation of the SRv6 Locator.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See <xref target="RFC8986" sectionFormat="of" section="3.1"/>
<dd>See Section 3.1 of <xref target="RFC8986"/> for more details for more details about the SID format.</dd>
about the SID format.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
<section anchor="IANAsrhSegmentIPv6EndpointBehavior" numbered="true" toc
<section anchor="IANAsrhSegmentIPv6EndpointBehavior" ="default">
title="srhSegmentIPv6EndpointBehavior"> <name>srhSegmentIPv6EndpointBehavior</name>
<dl> <dl spacing="compact" newline="false">
<dt>ElementID:</dt>
<dd>502</dd>
<dt>Name:</dt> <dt>Name:</dt>
<dd>srhSegmentIPv6EndpointBehavior</dd> <dd>srhSegmentIPv6EndpointBehavior</dd>
</dl>
<dl>
<dt>ElementID:</dt>
<dd>TBD11</dd>
</dl>
<dl>
<dt>Description:</dt>
<dd>The 16-bit unsigned integer that represents a SRv6 Endpoint
behavior as per Section 4 of <xref target="RFC8986"/>. Assigned
values and their meanings are provided in the "SRV6 Endpoint
Behavior" registry.</dd>
</dl>
<dl>
<dt>Abstract Data Type:</dt> <dt>Abstract Data Type:</dt>
<dd>unsigned16</dd> <dd>unsigned16</dd>
</dl>
<dl>
<dt>Data Type Semantics:</dt> <dt>Data Type Semantics:</dt>
<dd>identifier</dd> <dd>identifier</dd>
</dl> <dt>Description:</dt>
<dd>The 16-bit unsigned integer that represents an SRv6 Endpoint
<dl> behavior as per <xref target="RFC8986" sectionFormat="of"
section="4"/>. Assigned values and their meanings are provided in
the "SRv6 Endpoint Behaviors" registry.</dd>
<dt>Additional Information:</dt> <dt>Additional Information:</dt>
<dd>See the assigned behaviors in the "SRv6 Endpoint Behaviors"
<dd>See the assigned behaviors at the "SRv6 Endpoint Behavior" registry at <eref
registry available at target="https://www.iana.org/assignments/segment-routing"
https://www.iana.org/assignments/segment-routing/segment-routing.xht brackets="angle"/>. See <xref target="RFC8986" sectionFormat="of"
ml#srv6-endpoint-behaviors. section="4"/> for more details about the processing of endpoint beha
See Section 4 of <xref target="RFC8986"/> for more details about viors.</dd>
the endpoint behaviors processing.</dd>
</dl>
<dl>
<dt>Reference:</dt> <dt>Reference:</dt>
<dd>RFC 9487</dd>
<dd>[RFC-to-be]</dd>
</dl> </dl>
</section> </section>
</section> </section>
<section anchor="IPFIXIPv6SRHSegmentTypeSubregistry" numbered="true" toc="
<section anchor="IPFIXIPv6SRHSegmentTypeSubregistry" default">
title="New IPFIX IPv6 SRH Segment Type Subregistry"> <name>New IPFIX IPv6 SRH Segment Type (Value 500) Subregistry</name>
<t>This document requests IANA to create a new subregistry called <t>IANA has created a new subregistry called
"IPFIX IPv6 SRH Segment Type" under the "IPFIX Information Elements" "IPFIX IPv6 SRH Segment Type (Value 500)" under the "IPFIX Information E
registry <xref target="RFC7012"/> available at <xref lements"
target="IANA-IPFIX"/>.</t> registry <xref target="RFC7012" format="default"/> at <xref target="IANA
-IPFIX" format="default"/>.</t>
<t>The allocation policy of this new subregistry is Expert Review <t>The allocation policy of this new subregistry is Expert Review
(Section 4.5 of <xref target="RFC8126"/>).</t> (<xref target="RFC8126" sectionFormat="of" section="4.5"/>).</t>
<t>The designated experts for this registry should be familiar with <t>The designated experts for this registry should be familiar with
SRH. The guidelines that are being followed by the designated experts SRH. The guidelines that are being followed by the designated experts
for the IPFIX registry should be followed for this subregistry. In for the "IPFIX Information Elements" registry should be followed for thi s subregistry. In
particular, criteria that should be applied by the designated experts particular, criteria that should be applied by the designated experts
include determining whether the proposed registration duplicates include determining whether the proposed registration duplicates
existing entries and whether the registration description is clear and existing entries and whether the registration description is clear and
fits the purpose of this registry. Within the review period, the fits the purpose of this registry. Within the review period, the
designated experts will either approve or deny the registration designated experts will either approve or deny the registration
request, communicating this decision to IANA. Denials should include request, communicating this decision to IANA. Denials should include
an explanation and, if applicable, suggestions as to how to make the an explanation and, if applicable, suggestions as to how to make the
request successful.</t> request successful.</t>
<t>Initial values in the registry are defined in <xref target="table2"/> .</t>
<t>Initial values in the registry are defined in Table 2.</t> <table anchor="table2" align="center">
<name>IPFIX IPv6 SRH Segment Type (Value 500) Subregistry</name>
<t><figure> <thead>
<artwork><![CDATA[ <tr>
<th>Value</th>
+-------+--------------------+---------------------------------------+ <th>Description</th>
| Value | Description | Additional Information | <th>Reference</th>
+-------+--------------------+---------------------------------------+ </tr>
| TBD12 | Unknown | [RFC-to-be] | </thead>
| | | | <tbody>
+-------+--------------------+---------------------------------------+ <tr>
| TBD13 | Segment Routing | [RFC-to-be], | <td>0</td>
| | Policy | <xref target="RFC9256"/> | <td>Unknown</td>
+-------+--------------------+---------------------------------------+ <td>RFC 9487</td>
| TBD14 | Path Computation | [RFC-to-be],<xref target=" | </tr>
| | Element | I-D.ietf-pce-segment-routing-ipv6"/> | <tr>
+-------+--------------------+---------------------------------------+ <td>1</td>
| TBD15 | OSPFv3 | [RFC-to-be],<xref target=" | <td>Segment Routing Policy</td>
| | Segment Routing | I-D.ietf-lsr-ospfv3-srv6-extensions"/>| <td>RFC 9487, <xref target="RFC9256"/></td>
+-------+--------------------+---------------------------------------+ </tr>
| TBD16 | IS-IS | [RFC-to-be],<xref target="RFC9352"/> | <tr>
| | Segment Routing | | <td>2</td>
+-------+--------------------+---------------------------------------+ <td>Path Computation Element</td>
| TBD17 | BGP Segment | [RFC-to-be], | <td>RFC 9487, <xref target="I-D.ietf-pce-segment-routing-ipv6"/></td>
| | Routing Prefix-SID | <xref target="RFC8669"/> | </tr>
+-------+--------------------+---------------------------------------+ <tr>
<td>3</td>
Table 2: "IPFIX IPv6 SRH Segment Type" Subregistry <td>OSPFv3 Segment Routing</td>
<td>RFC 9487, <xref target="I-D.ietf-lsr-ospfv3-srv6-extensions"/></td>
]]></artwork> </tr>
</figure></t> <tr>
<td>4</td>
<td>IS-IS Segment Routing</td>
<td>RFC 9487, <xref target="RFC9352"/></td>
</tr>
<tr>
<td>5</td>
<td>BGP Segment Routing Prefix-SID</td>
<td>RFC 9487, <xref target="RFC8669"/></td>
</tr>
</tbody>
</table>
</section> </section>
</section> </section>
<section anchor="Operational" numbered="true" toc="default">
<section anchor="Operational" title="Operational Considerations"> <name>Operational Considerations</name>
<section anchor="OpsSidList" title="SRv6 Segment List"> <section anchor="OpsSidList" numbered="true" toc="default">
<t>The zero or more 128-bit IPv6 addresses in the SRH [RFC8754] can be <name>SRv6 Segment List</name>
exported in two different ways, with two different IPFIX IEs:</t> <t>The zero or more 128-bit IPv6 addresses in the SRH <xref
target="RFC8754" format="default"/> can be exported in two different
<t><list style="symbols"> ways, with two different IPFIX IEs:</t>
<t>srhSegmentIPv6BasicList</t> <ul spacing="normal">
<li>srhSegmentIPv6BasicList</li>
<t>srhSegmentIPv6ListSection</t> <li>srhSegmentIPv6ListSection</li>
</list></t> </ul>
<t>The srhSegmentIPv6BasicList encodes the SRv6 Segment List with a <t>The srhSegmentIPv6BasicList encodes the SRv6 Segment List with a
basicList, specified in the IPFIX Structured Data <xref basicList, specified in the IPFIX Structured Data <xref
target="RFC6313"/>. This encoding offers the advantage to the data target="RFC6313" format="default"/>.
collection that the different IPv6 addresses are already structured as This encoding is an advantage for data collection since the different IP
a list, without the need of post-processing. However, this method v6
requires some extra processing on the exporter, to realize the addresses are already structured as a list, without the need of
BasicList data mapping.</t> post-processing. However, this method requires some extra processing
on the exporter to realize the basicList data mapping.</t>
<t>The srhSegmentIPv6ListSection, on the other hand, encodes the list <t>The srhSegmentIPv6ListSection, on the other hand, encodes the list
of IPv6 addresses as an octetArray. This doesn't impose any data flow of IPv6 addresses as an octetArray. This doesn't impose any data flow
manipulation on the exporter, facilitating the immediate export. manipulation on the exporter, facilitating the immediate export.
However, the data collection MUST be able to decode the IPv6 addresses However, the data collection <bcp14>MUST</bcp14> be able to decode the
according to the SR specifications. Compared to the IPv6 addresses according to the SR specifications. Compared to the
srhSegmentIPv6BasicList, the srhSegmentIPv6ListSection flow records srhSegmentIPv6BasicList, the srhSegmentIPv6ListSection flow records
length is slightly reduced.</t> length is slightly reduced.</t>
<t>It is not expected that an exporter would support both <t>It is not expected that an exporter would support both
srhSegmentIPv6BasicList and srhSegmentIPv6ListSection at the same srhSegmentIPv6BasicList and srhSegmentIPv6ListSection at the same
time.</t> time.</t>
</section> </section>
<section anchor="OpsSidListDecompose" numbered="true" toc="default">
<section anchor="OpsSidListDecompose" <name>Compressed SRv6 Segment List Decomposition</name>
title="Compressed SRv6 Segment List Decomposition">
<t>The SRv6 Segment List in the IPFIX IEs srhSegmentIPv6BasicList, <t>The SRv6 Segment List in the IPFIX IEs srhSegmentIPv6BasicList,
srhSegmentIPv6ListSection and destinationIPv6Address could contain srhSegmentIPv6ListSection, and destinationIPv6Address could contain
compressed-SID containers as described in <xref compressed-SID containers as described in <xref
target="I-D.ietf-spring-srv6-srh-compression"/>. The SR Endpoint target="I-D.ietf-spring-srv6-srh-compression" format="default"/>. The
Flavors, described in Section 4 of <xref SR Endpoint Flavors, as described in Section 4 of <xref
target="I-D.ietf-spring-srv6-srh-compression"/> defines new flavors target="I-D.ietf-spring-srv6-srh-compression" format="default"/>,
for SID endpoint behaviors, and determine wherever the Segment List define new flavors for SID Endpoint behaviors and determine wherever
encoding is compressed, along with the flavor. The SID Locator as the Segment List encoding is compressed, along with the flavor. The
described in Section 3.1 of <xref target="RFC8986"/>, determines the SID Locator, as described in <xref target="RFC8986" sectionFormat="of"
common most significant bits. By using described information from section="3.1"/>, determines the common most significant bits. By using
srhSegmentIPv6EndpointBehavior and srhSegmentIPv6LocatorLength the described information from srhSegmentIPv6EndpointBehavior and
compressed-SID containers can be decoded at the data collection.</t> srhSegmentIPv6LocatorLength, the compressed-SID containers can be
</section> decoded at the data collection.</t>
</section>
<section anchor="Acknowledgements" title="Acknowledgements">
<t>The authors would like to thank Yao Liu, Eduard Vasilenko, Bruno
Decraene, Mohamed Boucadair, Kamran Raza, Qin Wu, Jim Guichard, Tero
Kivinen, Paul Aitken, Roman Danyliw, John Scudder, Eric Vyncke, Erik
Kline, Lars Eggert and Andrew Alston for their review and valuable
comments, and Paolo Lucente and Alex Huang Feng for the implementation
and validation.</t>
</section>
<section anchor="Implementation" title="Implementation Status">
<t>Note to the RFC-Editor: Please remove this section before
publishing.</t>
<section anchor="VPP" title="FD.io VPP">
<t>INSA Lyon implemented the following IEs as part of a prototype in
the FD.io VPP (Vector Packet Processing) platform:</t>
<t><list style="symbols">
<t>srhActiveSegmentIPv6</t>
<t>srhSegmentIPv6EndpointBehavior</t>
<t>srhSegmentsIPv6Left</t>
<t>srhFlagsIPv6</t>
<t>srhTagIPv6</t>
<t>srhSegmentIPv6ListSection</t>
<t>srhSegmentIPv6BasicList</t>
</list></t>
<t>The open source code can be obtained here: <xref
target="INSA-Lyon-VPP"/> and was validated at the IETF 115
hackathon.</t>
</section>
<section anchor="Huawei" title="Huawei VRP">
<t>Huawei implemented the following IEs as part of a production
implementation in the VRP platform:</t>
<t><list style="symbols">
<t>srhActiveSegmentIPv6</t>
<t>srhSegmentsIPv6Left</t>
<t>srhFlagsIPv6</t>
<t>srhTagIPv6</t>
<t>srhSegmentIPv6ListSection</t>
</list></t>
<t>The implementation was validated at the IETF 115 hackathon.</t>
</section>
<section anchor="pmacct" title="Pmacct Data Collection">
<t>Paolo Lucente implemented the decomposition of the IE
srhSegmentIPv6ListSection as part of a a production implementation in
the open source Network Telemetry data collection project pmacct.</t>
<t>The source code can be obtained here: <xref
target="Paolo-Lucente-Pmacct"/> and was validated at the IETF 115
hackathon.</t>
</section> </section>
</section> </section>
<section anchor="Security" title="Security Considerations"> <section anchor="Security" numbered="true" toc="default">
<t>There exists no extra security considerations regarding allocation of <name>Security Considerations</name>
these new IPFIX IEs compared to <xref target="RFC7012"/>.</t> <t>There are no additional security considerations regarding allocation of
these new IPFIX IEs compared to <xref target="RFC7012" format="default"/>.
</t>
<t>The IEs described in this document export provider plane data metrics <t>The IEs described in this document export provider plane data metrics
on how packets are being forwarded within a SRv6 network. Applications on how packets are being forwarded within an SRv6 network. Applications
and operators using the IEs described in this document must evaluate the and operators using the IEs described in this document must evaluate the
sensitivity of this information in their implementation context, and sensitivity of this information in their implementation context and
apply the data-at-rest storage guidance in Section 11.8 of <xref apply the data-at-rest storage guidance in <xref target="RFC7011"
target="RFC7011"/> as appropriate.</t> sectionFormat="of" section="11.8"/> as appropriate.</t>
</section> </section>
</middle> </middle>
<back> <back>
<references title="Normative References">
<?rfc include='reference.RFC.2119'?>
<?rfc include='reference.RFC.6313'?>
<?rfc include='reference.RFC.7011'?>
<?rfc include='reference.RFC.7012'?>
<?rfc include='reference.RFC.8126'?>
<?rfc include='reference.RFC.8174'?>
<?rfc include='reference.RFC.8200'?>
<?rfc include='reference.RFC.8754'?>
</references>
<references title="Informative References">
<?rfc include='reference.RFC.7270'?>
<?rfc include='reference.RFC.8402'?>
<?rfc include='reference.RFC.8669'?>
<?rfc include='reference.RFC.8986'?>
<?rfc include='reference.RFC.9256'?>
<?rfc include='reference.RFC.9352'?>
<?rfc include='reference.I-D.ietf-lsr-ospfv3-srv6-extensions'?>
<?rfc include='reference.I-D.ietf-pce-segment-routing-ipv6'?>
<?rfc include='reference.I-D.ietf-spring-srv6-srh-compression'?>
<reference anchor="IANA-IPFIX"
target="https://www.iana.org/assignments/ipfix/ipfix.xhtml">
<front>
<title>IANA, "IP Flow Information Export (IPFIX) Entities"</title>
<author/> <displayreference target="I-D.ietf-lsr-ospfv3-srv6-extensions" to="OSPFV3-SRV6-E
XT"/>
<date/> <displayreference target="I-D.ietf-pce-segment-routing-ipv6" to="PCEP-SRV6-EXT"/
</front> >
</reference> <displayreference target="I-D.ietf-spring-srv6-srh-compression" to="SRV6-SRH-COM
"/>
<reference anchor="INSA-Lyon-VPP"
target="https://github.com/network-analytics/vpp-srh-onpath-tel
emetry">
<front>
<title>INSA Lyon, FD.io VPP implementation</title>
<author/> <references>
<name>References</name>
<references>
<name>Normative References</name>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2
119.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.6
313.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7
011.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7
012.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8
126.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8
174.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8
200.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8
754.xml"/>
</references>
<references>
<name>Informative References</name>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7
270.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8
402.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8
669.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8
986.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9
256.xml"/>
<xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9
352.xml"/>
<date/> <!-- [I-D.ietf-lsr-ospfv3-srv6-extensions] In AUTH48 state as of 11/6/23. Update
</front> d to long version because missing editor role.-->
</reference> <reference anchor="I-D.ietf-lsr-ospfv3-srv6-extensions">
<front>
<title>OSPFv3 Extensions for SRv6</title>
<author initials="Z." surname="Li" fullname="Zhenbin Li">
<organization>Huawei Technologies</organization>
</author>
<author initials="Z." surname="Hu" fullname="Zhibo Hu">
<organization>Huawei Technologies</organization>
</author>
<author initials="K." surname="Talaulikar" fullname="Ketan Talaulikar" role="edi
tor">
<organization>Cisco Systems</organization>
</author>
<author initials="P." surname="Psenak" fullname="Peter Psenak">
<organization>Cisco Systems</organization>
</author>
<date month="June" day="21" year="2023"/>
</front>
<seriesInfo name="Internet-Draft" value="draft-ietf-lsr-ospfv3-srv6-extensions-1
5"/>
</reference>
<reference anchor="Paolo-Lucente-Pmacct" <!-- [I-D.ietf-pce-segment-routing-ipv6] IESG state: publication requested as of
target="https://github.com/pmacct/pmacct"> 11/6/23 -->
<front> <xi:include href="https://bib.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-pce
<title>Paolo Lucente, Pmacct open source Network Telemetry Data -segment-routing-ipv6"/>
Collection</title>
<author/> <!-- [I-D.ietf-spring-srv6-srh-compression] IESG state: I-D Exists as of 11/6/23
. Updated to long version because missing editor role-->
<reference anchor="I-D.ietf-spring-srv6-srh-compression">
<front>
<title>Compressed SRv6 Segment List Encoding</title>
<author initials="W." surname="Cheng" fullname="Weiqiang Cheng" role="editor">
<organization>China Mobile</organization>
</author>
<author initials="C." surname="Filsfils" fullname="Clarence Filsfils">
<organization>Cisco Systems, Inc.</organization>
</author>
<author initials="Z." surname="Li" fullname="Zhenbin Li">
<organization>Huawei Technologies</organization>
</author>
<author initials="B." surname="Decraene" fullname="Bruno Decraene">
<organization>Orange</organization>
</author>
<author initials="F." surname="Clad" fullname="Francois Clad" role="editor">
<organization>Cisco Systems, Inc.</organization>
</author>
<date month="October" day="23" year="2023"/>
</front>
<seriesInfo name="Internet-Draft" value="draft-ietf-spring-srv6-srh-compression-
09"/>
</reference>
<date/> <reference anchor="IANA-IPFIX" target="https://www.iana.org/assignments/
</front> ipfix">
</reference> <front>
<title>IP Flow Information Export (IPFIX) Entities</title>
<author>
<organization>IANA</organization>
</author>
<date/>
</front>
</reference>
</references>
</references> </references>
<section anchor="Encoding-Example" numbered="true" toc="default">
<section anchor="Encoding-Example" title="IPFIX Encoding Examples"> <name>IPFIX Encoding Examples</name>
<t>This appendix represents three different encodings for the newly <t>This appendix represents three different encodings for the newly
introduced IEs, for the example values in Table 3. The three different introduced IEs, for the example values in <xref target="table3"/>. The
encodings use the following IEs, respectively: srhSegmentIPv6BasicList, three different encodings use the following IEs, respectively:
srhSegmentIPv6ListSection, and srhIPv6Section.</t> srhSegmentIPv6BasicList, srhSegmentIPv6ListSection, and
srhIPv6Section.</t>
<t><figure>
<artwork><![CDATA[
+-----+------+-----+----------------+--------------------------|
| SRH | SRH | SRH | Active Segment | Segment List |
| Nr | Flags| Tag | Type | |
+-----+------+-----+----------------+--------------------------+
| 1 | 0 | 123 | IS-IS | 2001:db8::1, 2001:db8::2,|
| | | | | 2001:db8::3 |
+-----+------+-----+----------------+--------------------------+
| 2 | 0 | 456 | IS-IS | 2001:db8::4, 2001:db8::5 |
+-----+------+-----+----------------+--------------------------+
| 3 | 0 | 789 | IS-IS | 2001:db8::6 |
+-----+------+-----+----------------+--------------------------+
Table 3: Three Observed SRH headers and Their Associated Routing Protocol
]]></artwork>
</figure></t>
<section anchor="Three-Observed-SRH-Headers-and-their-routing-protocol"
title="Three Observed SRH Headers and their Routing Protocol">
<section anchor="Template-Record-and-Data-Set-with-BasicList"
title="Template Record and Data Set with Segment Basic List">
<t>With encoding in Figure 1, the examples in Table 3 are
represented with the following IEs: &ldquo;=&gt;&rdquo; is used to
indicate which IE is mapped to a given information.</t>
<t><list style="symbols">
<t>SR Flags =&gt; srhFlagsIPv6 (TBD1)</t>
<t>SR Tag =&gt; srhTagIPv6 (TBD2)</t>
<t>Active Segment Type =&gt; srhIPv6ActiveSegmentType (TBD9)</t>
<t>Segment List =&gt; srhSegmentIPv6BasicList (TBD5)</t>
</list></t>
<t><figure>
<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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 2 | Length = 24 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Template ID = 256 | Field Count = 4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhFlagsIPv6 = TBD1 | Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhTagIPv6 = TBD2 | Field Length = 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|srhActiveSegmentIPv... = TBD9| Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|srhSegmentIPv6BasicList= TBD5| Field Length = 0xFFFF |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Template Record with Basic List Encoding Format <table anchor="table3" align="center">
<name>Three Observed SRH Headers and Their Associated Routing Protocols</name>
<thead>
<tr>
<th>SRH Nr</th>
<th>SRH Flags</th>
<th>SRH Tag</th>
<th>Active Segment Type</th>
<th>Segment List</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>0</td>
<td>123</td>
<td>IS-IS [4]</td>
<td>2001:db8::1, 2001:db8::2, 2001:db8::3</td>
</tr>
<tr>
<td>2</td>
<td>0</td>
<td>456</td>
<td>IS-IS [4]</td>
<td>2001:db8::4, 2001:db8::5</td>
</tr>
<tr>
<td>3</td>
<td>0</td>
<td>789</td>
<td>IS-IS [4]</td>
<td>2001:db8::6</td>
</tr>
</tbody>
</table>
]]></artwork> <section anchor="Three-Observed-SRH-Headers-and-their-routing-protocol" numbered
</figure></t> ="true" toc="default">
<name>Three Observed SRH Headers and Their Routing Protocols</name>
<section anchor="Template-Record-and-Data-Set-with-BasicList" numbered="
true" toc="default">
<name>Template Record and Data Set with Segment Basic List</name>
<t>With encoding in <xref target="fig1"/>, the examples in <xref
target="table3"/> are represented with the following IEs, where
"=&gt;" is used to indicate which IE is mapped to given
information:</t>
<ul spacing="normal">
<li>SRH Flags =&gt; srhFlagsIPv6 (492)</li>
<li>SRH Tag =&gt; srhTagIPv6 (493)</li>
<li>Active Segment Type =&gt; srhIPv6ActiveSegmentType (500)</li>
<li>Segment List =&gt; srhSegmentIPv6BasicList (496)</li>
</ul>
<figure anchor="fig1" align="center">
<name>Template Record with Basic List Encoding Format</name>
<artwork name="" type="" align="center" alt=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 2 | Length = 24 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Template ID = 256 | Field Count = 4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhFlagsIPv6 = 492 | Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhTagIPv6 = 493 | Field Length = 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|srhIPv6ActiveSegmentType= 500| Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|srhSegmentIPv6BasicList = 496| Field Length = 0xFFFF |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
</figure>
<t>In this example, the Template ID is 256, which will be used in <t>In this example, the Template ID is 256, which will be used in
the Data Record. The field length for srhSegmentIPv6BasicList is the Data Record. The field length for srhSegmentIPv6BasicList is
0xFFFF, which means the length of this IE is variable, and the 0xFFFF, which means the length of this IE is variable, and the
actual length of this IE is indicated by the List Length field in actual length of this IE is indicated by the List Length field in
the basicList format as per <xref target="RFC6313"/>.</t> the basicList format as per <xref target="RFC6313" format="default"/>.
</t>
<t>The data set is represented as follows:</t> <t>The data set is represented as follows:</t>
<figure> <figure anchor="fig2" align="center">
<artwork><![CDATA[ <name>Data Set Encoding Format for Basic List</name>
<artwork name="" type="" align="center" alt=""><![CDATA[
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 256 | Length = 136 | | SET ID = 256 | Length = 136 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhFlagsIPv6 | srhTagIPv6 = 123 | srhActiveSegme| | srhFlagsIPv6 | srhTagIPv6 = 123 |srhIPv6Active |
| = 0 | | ntIPv...=TBD16| | = 0 | |SegmentType= 4|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 255 | List Length = 53 |semantic= | | 255 | List Length = 53 |semantic= |
| | |ordered | | | |ordered |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhSegmentIPv6 = TBD3 | Field Length = 16 | | srhSegmentIPv6 = 494 | Field Length = 16 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[0] = 2001:db8::1 | | Segment List[0] = 2001:db8::1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[1] = 2001:db8::2 | | Segment List[1] = 2001:db8::2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[2] = 2001:db8::3 | | Segment List[2] = 2001:db8::3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhFlagsIPv6 | srhTagIPv6 = 456 | srhActiveSegme| | srhFlagsIPv6 | srhTagIPv6 = 456 | srhIPv6Active |
| = 0 | | ntIPv...=TBD16| | = 0 | | SegmentType= 4|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 255 | List Length = 37 |semantic= | | 255 | List Length = 37 |semantic= |
| | |ordered | | | |ordered |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhSegmentIPv6 = TBD3 | Field Length = 16 | | srhSegmentIPv6 = 494 | Field Length = 16 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[0] = 2001:db8::4 | | Segment List[0] = 2001:db8::4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[1] = 2001:db8::5 (16 bytes) | | Segment List[1] = 2001:db8::5 (16 bytes) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhFlagsIPv6 | srhTagIPv6 = 789 | srhActiveSegme| | srhFlagsIPv6 | srhTagIPv6 = 789 | srhIPv6Active |
| = 0 | | ntIPv...=TBD16| | = 0 | | SegmentType= 4|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 255 | List Length = 21 |semantic= | | 255 | List Length = 21 |semantic= |
| | |ordered | | | |ordered |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhSegmentIPv6 = TBD3 | Field Length = 16 | | srhSegmentIPv6 = 494 | Field Length = 16 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[0] = 2001:db8::6 ... | | Segment List[0] = 2001:db8::6 ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
Figure 2: Data Set Encoding Format for Basic List </figure>
]]></artwork>
</figure>
</section> </section>
<section anchor="Template-Record-and-Data-Set-with-Segment-List-Section"
numbered="true" toc="default">
<name>Template Record and Data Set with Segment List Section</name>
<t>With encoding in <xref target="fig3"/>, the examples in <xref
target="table3"/> are represented with the following IEs, where
"=&gt;" is used to indicate which IE is mapped to given
information:</t>
<ul spacing="normal">
<li>SRH Flags =&gt; srhFlagsIPv6 (492)</li>
<li>SRH Tag =&gt; srhTagIPv6 (493)</li>
<li>Active Segment Type =&gt; srhIPv6ActiveSegmentType (500)</li>
<li>Segment List =&gt; srhSegmentIPv6ListSection (497)</li>
</ul>
<section anchor="Template-Record-and-Data-Set-with-Segment-List-Section" <figure align="center" anchor="fig3">
title="Template Record and Data Set with Segment List Section"> <name>Template Record with Segment List Section Encoding Format</name>
<t>With encoding in Figure 3, the examples in Table 3 are <artwork name="" type="" align="center" alt=""><![CDATA[
represented with the following IEs: &ldquo;=&gt;&rdquo; is used to 0 1 2 3
indicate which IE is mapped to a given information.</t> 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<t><list style="symbols"> | SET ID = 2 | Length = 24 |
<t>SR Flags =&gt; srhFlagsIPv6 (TBD1)</t> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Template ID = 257 | Field Count = 4 |
<t>SR Tag =&gt; srhTagIPv6 (TBD2)</t> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhFlagsIPv6 = 492 | Field Length = 1 |
<t>Active Segment Type =&gt; srhIPv6ActiveSegmentType (TBD9)</t> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhTagIPv6 = 493 | Field Length = 2 |
<t>Segment List =&gt; srhSegmentIPv6ListSection (TBD6)</t> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</list></t> |0|srhIPv6ActiveSegmentType= 500| Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<t><figure> |0|srhSegmentIPv6ListSection=497| Field Length = 0xFFFF |
<artwork><![CDATA[ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
0 1 2 3 </figure>
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 2 | Length = 24 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Template ID = 257 | Field Count = 4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhFlagsIPv6 = TBD1 | Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhTagIPv6 = TBD2 | Field Length = 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0|srhActiveSegmentIPv... = TBD9| Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhSegmentIPv6List | Field Length = 0xFFFF |
| | Section=TBD6 | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 3: Template Record with Segment List Section Encoding Format
]]></artwork>
</figure></t>
<t>In this example, the Template ID is 257, which will be used in <t>In this example, the Template ID is 257, which will be used in
the Data Record. The field length for srhSegmentIPv6ListSection in the Data Record. The field length for srhSegmentIPv6ListSection in
the Template Record is 0xFFFF, which means that the length of this the Template Record is 0xFFFF, which means that the length of this
IE is variable: its actual length is encoded in the Data Set. Note IE is variable: its actual length is encoded in the Data Set. Note
that, with an actual length inferior to 255 in the Data Record that, with an actual length inferior to 255 in the Data Record
example, the length field is encoded in 8 bits (Section 7 of <xref example, the length field is encoded in 8 bits (<xref
target="RFC7011"/>).</t> target="RFC7011" sectionFormat="of" section="7"/>).</t>
<t>The data can be represented as follows:</t> <t>The data can be represented as follows:</t>
<figure> <figure align="center" anchor="fig4">
<artwork><![CDATA[ <name>Data Set Encoding Format for Segment List Section</name>
<artwork name="" type="" align="center" alt=""><![CDATA[
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 257 | Length = 116 | | SET ID = 257 | Length = 116 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhFlagsIPv6 | srhTagIPv6 = 123 | srhActiveSegme| | srhFlagsIPv6 | srhTagIPv6 = 123 | srhIPv6Active |
| = 0 | | ntIPv...=TBD16| | = 0 | | SegmentType= 4|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Length = 48 | 2001:db8::1 | | Length = 48 | 2001:db8::1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | 2001:db8::2 | | ... | 2001:db8::2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | 2001:db8::3 | | ... | 2001:db8::3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | srhFlagsIPv6 | srhTagIPv6 = 456 | | ... | srhFlagsIPv6 | srhTagIPv6 = 456 |
| | = 0 | | | | = 0 | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhActiveSegme| Length = 32 | 2001:db8::4 | | srhIPv6Active | Length = 32 | 2001:db8::4 |
| ntIPv...=TBD15| | | | SegmentType= 4| | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | 2001:db8::5 | | ... | 2001:db8::5 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... |srhFlagsIPv6=0 | srhTagIPv6... | | ... |srhFlagsIPv6=0 | srhTagIPv6 = |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| = 789 | srhActiveSegment | Length = 16 | | 789 | srhIPv6ActiveSegmentType = 4 | Length = 16 |
| | IPv6Type=TBD16 | | | | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 2001:db8::6 ... | | 2001:db8::6 ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
Figure 4: Data Set Encoding Format for Segment List Section </figure>
]]></artwork>
</figure>
</section> </section>
<section anchor="Template-Record-and-Data-Set-with-SRH-Section" numbered
="true" toc="default">
<name>Template Record and Data Set with SRH Section</name>
<t>With encoding in <xref target="fig5"/>, the examples in <xref
target="table3"/> are represented with the following IEs, where
"=&gt;" is used to indicate which IE is mapped to given
information:</t>
<ul spacing="normal">
<li>SRH Flags + SRH Tag + Segment List =&gt; srhIPv6Section
(499)</li>
<li>Active Segment Type =&gt; srhIPv6ActiveSegmentType (500)</li>
</ul>
<section anchor="Template-Record-and-Data-Set-with-SRH-Section" <figure anchor="fig5" align="center">
title="Template Record and Data Set with SRH Section"> <name>Template Record with SRH Section Encoding Format</name>
<t>With encoding in Figure 5, the examples in Table 3 are <artwork name="" type="" align="center" alt=""><![CDATA[
represented with the following IEs: &ldquo;=&gt;&rdquo; is used to 0 1 2 3
indicate which IE is mapped to a given information.</t> 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<t><list style="symbols"> | SET ID = 2 | Length = 16 |
<t>SR Flags + SR Tag + Segment List =&gt; srhIPv6Section +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
(TBD8)</t> | Template ID = 258 | Field Count = 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<t>Active Segment Type =&gt; srhIPv6ActiveSegmentType (TBD9)</t> |0|srhIPv6ActiveSegmentType= 500| Field Length = 1 |
</list></t> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhIPv6Section = 499 | Field Length = 0xFFFF |
<t><figure> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
<artwork><![CDATA[ ]]></artwork>
</figure>
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 2 | Length = 16 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Template ID = 258 | Field Count = 2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhActiveSegmentIP... = TBD9| Field Length = 1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|0| srhIPv6Section = TBD8 | Field Length = 0xFFFF |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 5: Template Record with SRH Section Encoding Format
]]></artwork>
</figure></t>
<t>In this example, the Template ID is 258, which will be used in <t>In this example, the Template ID is 258, which will be used in
the Data Record. The field length for srhIPv6Section in the Template the Data Record. The field length for srhIPv6Section in the Template
Record is 0xFFFF, which means that the length of this IE is Record is 0xFFFF, which means that the length of this IE is
variable: its actual length is encoded in the Data Set. Note that, variable: its actual length is encoded in the Data Set. Note that,
with an actual length inferior to 255 in the Data Record example, with an actual length inferior to 255 in the Data Record example,
the length field is encoded in 8 bits (Section 7 of <xref the length field is encoded in 8 bits (<xref target="RFC7011"
target="RFC7011"/>).</t> sectionFormat="of" section="7"/>).</t>
<t>The data can be represented as follows:</t> <t>The data can be represented as follows:</t>
<figure> <figure anchor="fig6" align="center">
<artwork><![CDATA[ <name>Data Set Encoding Format for SRH Section</name>
<artwork name="" type="" align="center" alt=""><![CDATA[
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 258 | Length = (*) | | SET ID = 258 | Length = (*) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhIPv6ActiveSegmentType = TBD16 | Length = (*) | | srhIPv6ActiveSegmentType = 4 | Length = (*) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next Header | Hdr Ext Len | Routing Type | Segments Left | | Next Header | Hdr Ext Len | Routing Type | Segments Left |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Last Entry | Flags | Tag | | Last Entry | Flags | Tag |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[0] 2001:db8::1 | | 2001:db8::1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[1] 2001:db8::2 | | 2001:db8::2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[2] 2001:db8::3 | | 2001:db8::3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ Optional Type Length Value objects (variable) ~ ~ Optional Type Length Value objects (variable) ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhIPv6ActiveSegmentType = TBD16 | 0xFFFF | | srhIPv6ActiveSegmentType = 4 | 0xFFFF |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next Header | Hdr Ext Len | Routing Type | Segments Left | | Next Header | Hdr Ext Len | Routing Type | Segments Left |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Last Entry | Flags | Tag | | Last Entry | Flags | Tag |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[0] 2001:db8::4 | | 2001:db8::4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[1] 2001:db8::5 | | 2001:db8::5 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ Optional Type Length Value objects (variable) ~ ~ Optional Type Length Value objects (variable) ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| srhIPv6ActiveSegmentType = TBD16 | 0xFFFF | | srhIPv6ActiveSegmentType = 4 | 0xFFFF |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Next Header | Hdr Ext Len | Routing Type | Segments Left | | Next Header | Hdr Ext Len | Routing Type | Segments Left |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Last Entry | Flags | Tag | | Last Entry | Flags | Tag |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Segment List[0] 2001:db8::6 | | 2001:db8::6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| ... | | ... |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ Optional Type Length Value objects (variable) ~ ~ Optional Type Length Value objects (variable) ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
Figure 6: Data Set Encoding Format for SRH Section </figure>
]]></artwork>
</figure>
<t>(*) The Length must be calculated to include the optional Type <t>(*) The Length must be calculated to include the optional Type
Length Value objects.</t> Length Value objects.</t>
</section> </section>
</section> </section>
<section anchor="Options-Template-Record-and-Data-Set-for-SRv6-Segment-End
point-Behavior" numbered="true" toc="default">
<name>Options Template Record and Data Set for SRv6 Segment Endpoint
Behavior and Locator Length</name>
<t>This appendix provides an SRv6 Endpoint Behavior Options Template
example, for the values presented in <xref target="table4"/>. In the
Options Template case, the srhActiveSegmentIPv6 IE is
a Scope field.</t>
<section anchor="Options-Template-Record-and-Data-Set-for-SRv6-Segment-End <table anchor="table4" align="center">
point-Behavior" <name>Three Observed SRv6 Segment Endpoint Behaviors</name>
title="Options Template Record and Data Set for SRv6 Segment End <thead>
Point behavior and Locator Length"> <tr>
<t>This appendix provides an SRv6 EndPoint Bevahior Options Template <th>Entry Nr</th>
example, for the values presented in Table 4. In the Options Template <th>SRH Endpoint IPv6</th>
case, the srhActiveSegmentIPv6 Information Element is a Scope <th>SRH Endpoint Behavior</th>
field</t> <th>SRH Segment Locator Length</th>
</tr>
<t><figure> </thead>
<artwork><![CDATA[ <tbody>
<tr>
+-------+-------------+-------------------------+----------------+ <td>1</td>
| Entry | SRH End | SRH End | SRH Segment | <td>2001:db8::1</td>
| Nr | Point IPv6 | Point Behavior | Locator Length | <td>End [1]</td>
+-------+-------------+-------------------------+----------------+ <td>48</td>
| 1 | 2001:db8::1 | End [1] | 48 | </tr>
+-------+-------------+-------------------------+----------------+ <tr>
| 2 | 2001:db8::4 | End with NEXT-CSID [43] | 48 | <td>2</td>
+-------+-------------+-------------------------+----------------+ <td>2001:db8::4</td>
| 3 | 2001:db8::6 | End.DX6 [16] | 48 | <td>End with NEXT-CSID [43]</td>
+-------+-------------+-------------------------+----------------+ <td>48</td>
</tr>
Table 4: Three Observed SRv6 Segment End Point Behaviors <tr>
]]></artwork> <td>3</td>
</figure></t> <td>2001:db8::6</td>
<td>End.DX6 [16]</td>
<t><figure> <td>48</td>
<artwork><![CDATA[ </tr>
0 1 2 3 </tbody>
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 </table>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Set ID = 3 | Length = 24 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Template ID 259 | Field Count = 3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Scope Field Count = 1 |0| srhActiveSegmentIPv6 = TBD4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Scope 1 Field Length = 4 |0|srhSegmentEndpointBeh..=TBD11|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Field Length = 1 |0|srhSegmentIPv6Lo.Length=TBD10|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Field Length = 4 | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 7: Template Record with SRH Section Encoding Format
]]></artwork>
</figure></t>
<figure anchor="fig7" align="center">
<name>Segment Endpoint Behavior Options Template Record</name>
<artwork name="" type="" align="center" alt=""><![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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Set ID = 3 | Length = 24 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Template ID 259 | Field Count = 3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Scope Field Count = 1 |0| srhActiveSegmentIPv6 = 495 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Scope 1 Field Length = 4 |0|srhSegmentIPv6End.Behav = 502|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Field Length = 1 |0|srhSegmentIPv6Lo.Length = 501|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Field Length = 4 | Padding |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
</figure>
<t>In this example, the Template ID is 259, which will be used in the <t>In this example, the Template ID is 259, which will be used in the
Data Record.</t> Data Record.</t>
<t>The data set is represented as follows:</t> <t>The data set is represented as follows:</t>
<figure> <figure anchor="fig8" align="center">
<artwork><![CDATA[ <name>Data Set Encoding Format for Segment Endpoint Behaviors</name>
<artwork name="" type="" align="center" alt=""><![CDATA[
0 1 2 3 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 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| SET ID = 259 | Length = 28 | | SET ID = 259 | Length = 28 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 2001:db8::1 | | srhActiveSegmentIPv6 = 2001:db8::1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| End [1] | 48 | |srhSegmentIPv6EndpointBehavior |srhSegmentIPv6LocatorLength= 48|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |= End [1] | |
| 2001:db8::4 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | srhActiveSegmentIPv6 = 2001:db8::4 |
| End with NEXT-CSID [43] | 48 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |srhSegmentIPv6EndpointBehavior |srhSegmentIPv6LocatorLength= 48|
| 2001:db8::6 | |= End with NEXT-CSID [43] | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| End.DX6 [16] | 48 | | srhActiveSegmentIPv6 = 2001:db8::6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|srhSegmentIPv6EndpointBehavior |srhSegmentIPv6LocatorLength= 48|
Figure 8: Data Set Encoding Format for SRH Section |= End.DX6 [16] | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork> ]]></artwork>
</figure> </figure>
<t>(*) The Length must be calculated to include the optional Type <t>(*) The Length must be calculated to include the optional Type
Length Value objects.</t> Length Value objects.</t>
</section> </section>
</section> </section>
<section anchor="Acknowledgements" numbered="false" toc="default">
<name>Acknowledgements</name>
<t>The authors would like to thank <contact fullname="Yao Liu"/>,
<contact fullname="Eduard Vasilenko"/>, <contact fullname="Bruno
Decraene"/>, <contact fullname="Mohamed Boucadair"/>, <contact
fullname="Kamran Raza"/>, <contact fullname="Qin Wu"/>, <contact
fullname="Jim Guichard"/>, <contact fullname="Tero Kivinen"/>, <contact
fullname="Paul Aitken"/>, <contact fullname="Roman Danyliw"/>, <contact
fullname="John Scudder"/>, <contact fullname="Éric Vyncke"/>, <contact
fullname="Erik Kline"/>, <contact fullname="Lars Eggert"/>, and <contact
fullname="Andrew Alston"/> for their reviews and valuable comments. And
thank you to <contact fullname="Paolo Lucente"/> and <contact fullname="Al
ex Huang
Feng"/> for the implementation and validation.</t>
</section>
</back> </back>
</rfc> </rfc>
 End of changes. 177 change blocks. 
1385 lines changed or deleted 1068 lines changed or added

This html diff was produced by rfcdiff 1.48.