draft-ietf-sfc-multi-layer-oam-12.txt   draft-ietf-sfc-multi-layer-oam-13.txt 
SFC WG G. Mirsky SFC WG G. Mirsky
Internet-Draft ZTE Corp. Internet-Draft ZTE Corp.
Updates: 8300 (if approved) W. Meng Updates: 8300 (if approved) W. Meng
Intended status: Standards Track ZTE Corporation Intended status: Standards Track ZTE Corporation
Expires: 5 December 2021 B. Khasnabish Expires: 18 December 2021 B. Khasnabish
C. Wang C. Wang
Individual contributor Individual contributor
3 June 2021 16 June 2021
Active OAM for Service Function Chaining Active OAM for Service Function Chaining
draft-ietf-sfc-multi-layer-oam-12 draft-ietf-sfc-multi-layer-oam-13
Abstract Abstract
A set of requirements for active Operation, Administration, and A set of requirements for active Operation, Administration, and
Maintenance (OAM) of Service Function Chains (SFCs) in a network is Maintenance (OAM) of Service Function Chains (SFCs) in a network is
presented in this document. Based on these requirements, an presented in this document. Based on these requirements, an
encapsulation of active OAM messages in SFC and a mechanism to detect encapsulation of active OAM messages in SFC and a mechanism to detect
and localize defects are described. and localize defects are described.
This document updates RFC 8300. Particularly, it updates the This document updates RFC 8300. Particularly, it updates the
definition of O (OAM) bit in the Network Service Header (NSH) and definition of O (OAM) bit in the Network Service Header (NSH) (RFC
defines how an active OAM message is identified in the NSH. 8300) and defines how an active OAM message is identified in the NSH.
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on 5 December 2021. This Internet-Draft will expire on 18 December 2021.
Copyright Notice Copyright Notice
Copyright (c) 2021 IETF Trust and the persons identified as the Copyright (c) 2021 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/ Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document. license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights Please review these documents carefully, as they describe your rights
and restrictions with respect to this document. Code Components and restrictions with respect to this document. Code Components
extracted from this document must include Simplified BSD License text extracted from this document must include Simplified BSD License text
as described in Section 4.e of the Trust Legal Provisions and are as described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Simplified BSD License. provided without warranty as described in the Simplified BSD License.
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Terminology and Conventions . . . . . . . . . . . . . . . . . 4 2. Terminology and Conventions . . . . . . . . . . . . . . . . . 4
2.1. Requirements Language . . . . . . . . . . . . . . . . . . 4 2.1. Requirements Language . . . . . . . . . . . . . . . . . . 4
2.2. Acronyms . . . . . . . . . . . . . . . . . . . . . . . . 4 2.2. Acronyms . . . . . . . . . . . . . . . . . . . . . . . . 4
3. Requirements for Active OAM in SFC Network . . . . . . . . . 4 3. Requirements for Active OAM in SFC . . . . . . . . . . . . . 5
4. Active OAM Identification in the NSH . . . . . . . . . . . . 6 4. Active OAM Identification in the NSH . . . . . . . . . . . . 7
5. Echo Request/Echo Reply for SFC . . . . . . . . . . . . . . . 8 5. Active SFC OAM Header . . . . . . . . . . . . . . . . . . . . 8
5.1. Return Codes . . . . . . . . . . . . . . . . . . . . . . 10 6. Echo Request/Echo Reply for SFC . . . . . . . . . . . . . . . 9
5.2. Authentication in Echo Request/Reply . . . . . . . . . . 11 6.1. Return Codes . . . . . . . . . . . . . . . . . . . . . . 11
5.3. SFC Echo Request Transmission . . . . . . . . . . . . . . 11 6.2. Authentication in Echo Request/Reply . . . . . . . . . . 11
5.4. SFC Echo Request Reception . . . . . . . . . . . . . . . 12 6.3. SFC Echo Request Transmission . . . . . . . . . . . . . . 12
5.4.1. Errored TLVs TLV . . . . . . . . . . . . . . . . . . 12 6.3.1. Source TLV . . . . . . . . . . . . . . . . . . . . . 12
5.5. SFC Echo Reply Transmission . . . . . . . . . . . . . . . 13 6.4. SFC Echo Request Reception . . . . . . . . . . . . . . . 14
5.6. SFC Echo Reply Reception . . . . . . . . . . . . . . . . 14 6.4.1. Errored TLVs TLV . . . . . . . . . . . . . . . . . . 14
5.7. Tracing an SFP . . . . . . . . . . . . . . . . . . . . . 15 6.5. SFC Echo Reply Transmission . . . . . . . . . . . . . . . 15
6. Security Considerations . . . . . . . . . . . . . . . . . . . 15 6.6. SFC Echo Reply Reception . . . . . . . . . . . . . . . . 15
7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 16 6.7. Tracing an SFP . . . . . . . . . . . . . . . . . . . . . 16
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 16 7. Security Considerations . . . . . . . . . . . . . . . . . . . 16
8.1. SFC Active OAM Protocol . . . . . . . . . . . . . . . . . 16 8. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 17
8.2. SFC Active OAM Message Type . . . . . . . . . . . . . . . 16 9. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 17
8.3. SFC Echo Request/Echo Reply Parameters . . . . . . . . . 17 9.1. SFC Active OAM Protocol . . . . . . . . . . . . . . . . . 17
8.4. SFC Echo Request/Echo Reply Message Types . . . . . . . . 17 9.2. SFC Active OAM . . . . . . . . . . . . . . . . . . . . . 17
8.5. SFC Echo Reply Modes . . . . . . . . . . . . . . . . . . 18 9.2.1. Version in the Active SFC OAM Header . . . . . . . . 18
8.6. SFC Echo Return Codes . . . . . . . . . . . . . . . . . . 20 9.2.2. SFC Active OAM Message Type . . . . . . . . . . . . . 18
8.7. SFC TLV Type . . . . . . . . . . . . . . . . . . . . . . 21 9.2.3. SFC Active OAM Header Flags . . . . . . . . . . . . . 19
8.8. SFC OAM UDP Port . . . . . . . . . . . . . . . . . . . . 21 9.3. SFC Echo Request/Echo Reply Parameters . . . . . . . . . 19
9. References . . . . . . . . . . . . . . . . . . . . . . . . . 22 9.3.1. SFC Echo Request/Reply Version . . . . . . . . . . . 19
9.1. Normative References . . . . . . . . . . . . . . . . . . 22 9.3.2. SFC Echo Request Flags . . . . . . . . . . . . . . . 20
9.2. Informative References . . . . . . . . . . . . . . . . . 22 9.3.3. SFC Echo Request/Echo Reply Message Types . . . . . . 20
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 24 9.3.4. SFC Echo Reply Modes . . . . . . . . . . . . . . . . 21
9.3.5. SFC Echo Return Codes . . . . . . . . . . . . . . . . 23
9.4. SFC Active OAM TLV Type . . . . . . . . . . . . . . . . . 24
10. References . . . . . . . . . . . . . . . . . . . . . . . . . 24
10.1. Normative References . . . . . . . . . . . . . . . . . . 24
10.2. Informative References . . . . . . . . . . . . . . . . . 25
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 26
1. Introduction 1. Introduction
[RFC7665] defines data plane elements necessary to implement a [RFC7665] defines data plane elements necessary to implement a
Service Function Chaining (SFC). These include: Service Function Chaining (SFC). These include:
1. Classifiers that perform the classification of incoming packets. 1. Classifiers that perform the classification of incoming packets.
Such classification may result in associating a received packet Such classification may result in associating a received packet
to a service function chain. to a service function chain.
skipping to change at page 3, line 42 skipping to change at page 3, line 47
This document defines how active Operation, Administration and This document defines how active Operation, Administration and
Maintenance (OAM), per [RFC7799] definition of active OAM, is Maintenance (OAM), per [RFC7799] definition of active OAM, is
identified when Network Service Header (NSH) is used as the SFC identified when Network Service Header (NSH) is used as the SFC
encapsulation. Following the analysis of SFC OAM in [RFC8924], this encapsulation. Following the analysis of SFC OAM in [RFC8924], this
document applies and, when necessary, extends requirements listed in document applies and, when necessary, extends requirements listed in
Section 4 of [RFC8924] for the use of active OAM in an SFP supporting Section 4 of [RFC8924] for the use of active OAM in an SFP supporting
fault management and performance monitoring. Active OAM tools, fault management and performance monitoring. Active OAM tools,
conformant to the requirements listed in Section 3, improve, for conformant to the requirements listed in Section 3, improve, for
example, troubleshooting efficiency and defect localization in SFP example, troubleshooting efficiency and defect localization in SFP
because they specifically address architectural principles of NSH. because they specifically address the architectural principles of
For that purpose, SFC Echo Request and Echo Reply are specified in NSH. For that purpose, SFC Echo Request and Echo Reply are specified
the document. This mechanism enables on-demand Continuity Check, in Section 6. This mechanism enables on-demand Continuity Check,
Connectivity Verification among other operations over SFC in Connectivity Verification among other operations over SFC in
networks, addresses functionalities discussed in Sections 4.1, 4.2, networks, addresses functionalities discussed in Sections 4.1, 4.2,
and 4.3 of [RFC8924]. Also, this document updates Section 2.2 of and 4.3 of [RFC8924]. SFC Echo Request and Echo Reply, defined in
[RFC8300] in part of the definition of O bit in the (NSH). this document, can be used with encapsulations other than NSH, for
example, using MPLS encapsulation, as described in [RFC8595]. The
applicability of the SFC Echo Request/Reply mechanism in SFC
encapsulations other than NSH is outside the scope of this document.
Also, this document updates Section 2.2 of [RFC8300] in part of the
definition of O bit in the NSH.
2. Terminology and Conventions 2. Terminology and Conventions
The terminology defined in [RFC7665] is used extensively throughout The terminology defined in [RFC7665] is used extensively throughout
this document. The reader is expected to be familiar with it. this document. The reader is expected to be familiar with it.
In this document, SFC OAM refers to an active OAM [RFC7799] in an SFC In this document, SFC OAM refers to an active OAM [RFC7799] in an SFC
architecture. architecture.
2.1. Requirements Language 2.1. Requirements Language
skipping to change at page 4, line 43 skipping to change at page 5, line 5
SF: Service Function SF: Service Function
SFC: Service Function Chain SFC: Service Function Chain
SFF: Service Function Forwarder SFF: Service Function Forwarder
SFP: Service Function Path SFP: Service Function Path
MAC: Message Authentication Code MAC: Message Authentication Code
3. Requirements for Active OAM in SFC Network 3. Requirements for Active OAM in SFC
As discussed in [RFC8924], SFC-specific means are needed to perform As discussed in [RFC8924], SFC-specific means are needed to perform
the OAM task of fault management (FM) in an SFC architecture, the OAM task of fault management (FM) in an SFC architecture,
including failure detection, defect characterization, and including failure detection, defect characterization, and
localization. This document defines the set of requirements for localization. This document defines the set of requirements for
active FM OAM mechanisms to be used in an SFC architecture. active FM OAM mechanisms to be used in an SFC architecture.
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
|SFI11| |SFI12| |SFI21| |SFI22| |SFI31| |SFI32| |SFI11| |SFI12| |SFI21| |SFI22| |SFI31| |SFI32|
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
\ / \ / \ / \ / \ / \ /
+----------+ +----+ +----+ +----+ +----------+ +----+ +----+ +----+
|Classifier|---|SFF1|---------|SFF2|----------|SFF3| |Classifier|---|SFF1|---------|SFF2|----------|SFF3|
+----------+ +----+ +----+ +----+ +----------+ +----+ +----+ +----+
Figure 1: An Example of SFC Data Plane Figure 1: An Example of SFC Data Plane Architecture
Regarding the reference model depicted in Figure 1, consider a The architecture example depicted in Figure 1 considers a service
service function chain that includes three distinct service function chain that includes three distinct service functions. In
functions. In this example, the SFP traverses SFF1, SFF2, and SFF3, this example, the SFP traverses SFF1, SFF2, and SFF3, each SFF being
each SFF being connected to two instances of the same service connected to two instances of the same service function. End-to-end
function. End-to-end (E2E) SFC OAM has the Classifier as the (E2E) SFC OAM has the Classifier as the ingress and SFF3 as its
ingress, and SFF3 - as its egress. Segment SFC OAM is between two egress. Segment SFC OAM is between two elements that are part of the
elements that are part of the same SFP. Following are the same SFP. Following are the requirements for an FM SFC OAM, whether
requirements for an FM SFC OAM, whether with the E2E or segment with the E2E or segment scope:
scope:
REQ#1: Packets of active SFC OAM in SFC SHOULD be fate sharing REQ#1: Packets of active SFC OAM SHOULD be fate sharing with the
with the monitored SFC data, in the forward direction from ingress monitored SFC data in the forward direction from ingress toward
toward egress endpoint(s) of the OAM test. egress endpoint(s) of the OAM test.
The fate sharing, in the SFC environment, is achieved when a test The fate sharing, in the SFC environment, is achieved when a test
packet traverses the same path and receives the same treatment in the packet traverses the same path and receives the same treatment in the
transport layer as an SFC NSH packet. transport layer as an SFC-encapsulated packet (e.g., NSH).
REQ#2: SFC OAM MUST support monitoring of the continuity of the REQ#2: SFC OAM MUST support monitoring of the continuity of the
SFP between any of its elements. SFP between any of its elements.
A network failure might be declared when several consecutive test An SFC failure might be declared when several consecutive test
packets are not received within a pre-determined time. For example, packets are not received within a pre-determined time. For example,
in the E2E SFC OAM FM case, the egress, SFF3, in the example in in the E2E FM SFC OAM case, the egress, SFF3, in the example in
Figure 1, could be the entity that detects the SFP's failure by Figure 1, could be the entity that detects the SFP's failure by
monitoring a flow of periodic test packets. The ingress may be monitoring a flow of periodic test packets. The ingress may be
capable of recovering from the failure, e.g., using redundant SFC capable of recovering from the failure, e.g., using redundant SFC
elements. Thus, it is beneficial for the egress to signal the new elements. Thus, it is beneficial for the egress to signal the new
defect state to the ingress, which in this example is the Classifier. defect state to the ingress, which in this example is the Classifier.
Hence the following requirement: Hence the following requirement:
REQ#3: SFC OAM MUST support Remote Defect Indication notification REQ#3: SFC OAM MUST support Remote Defect Indication notification
by the egress to the ingress. by the egress to the ingress.
REQ#4: SFC OAM MUST support connectivity verification of the SFP. REQ#4: SFC OAM MUST support connectivity verification of the SFP.
Definition of the misconnection defect, entry and exit criteria Definition of the misconnection defect, entry, and exit criteria
are outside the scope of this document. are outside the scope of this document.
Once the SFF1 detects the defect, the objective of the SFC OAM Once the SFF1 detects the defect, the objective of the SFC OAM
changes from the detection of a defect to defect characterization and changes from the detection of a defect to defect characterization and
localization. localization.
REQ#5: SFC OAM MUST support fault localization of the Loss of REQ#5: SFC OAM MUST support fault localization of the Loss of
Continuity Check within an SFP. Continuity Check within an SFP.
REQ#6: SFC OAM MUST support an SFP tracing to discover the RSP. REQ#6: SFC OAM MUST support an SFP tracing to discover the RSP.
In the example presented in Figure 1, two distinct instances of the In the example presented in Figure 1, two distinct instances of the
same service function share the same SFF. In this example, the SFP same service function share the same SFF. In this example, the SFP
can be realized over several RSPs that use different instances of SF can be realized over several RSPs that use different instances of SF
of the same type. For example, RSP1(SFI11--SFI21--SFI31) and of the same type. For example, RSP1(SFI11--SFI21--SFI31) and
RSP2(SFI12--SFI22--SFI32). Available RSPs can be discovered using RSP2(SFI12--SFI22--SFI32). Available RSPs can be discovered using
the trace function discussed in Section 4.3 [RFC8924]. the trace function discussed in Section 4.3 [RFC8924] or the
procedure defined in Section 6.7.
REQ#7: SFC OAM MUST have the ability to discover and exercise all REQ#7: SFC OAM MUST have the ability to discover and exercise all
available RSPs in the network. available RSPs in the network.
The SFC OAM layer model described in [RFC8924] offers an approach for The SFC OAM layer model described in [RFC8924] offers an approach for
a defect localization within a service function chain. As the first defect localization within a service function chain. As the first
step, the SFP's continuity for SFFs that are part of the same SFP step, the SFP's continuity for SFFs that are part of the same SFP
could be verified. After the reachability of SFFs has already been could be verified. After the reachability of SFFs has already been
verified, SFFs that serve an SF may be used as a test packet source. verified, SFFs that serve an SF may be used as a test packet source.
In such a case, SFF can act as a proxy for another element within the In such a case, SFF can act as a proxy for another element within the
service function chain. service function chain.
REQ#8: SFC OAM MUST be able to trigger on-demand FM with responses REQ#8: SFC OAM MUST be able to trigger on-demand FM with responses
being directed towards the initiator of such proxy request. being directed towards the initiator of such proxy request.
4. Active OAM Identification in the NSH 4. Active OAM Identification in the NSH
skipping to change at page 6, line 48 skipping to change at page 7, line 18
O bit: Setting this bit indicates an OAM packet. O bit: Setting this bit indicates an OAM packet.
This document updates that definition as follows: This document updates that definition as follows:
O bit: Setting this bit indicates an OAM command and/or data in O bit: Setting this bit indicates an OAM command and/or data in
the NSH Context Header or packet payload. the NSH Context Header or packet payload.
Active SFC OAM is defined as a combination of OAM commands and/or Active SFC OAM is defined as a combination of OAM commands and/or
data included in a message that immediately follows the NSH. To data included in a message that immediately follows the NSH. To
identify the active OAM message, the Next Protocol field's value MUST identify the active OAM message, the "Next Protocol" field MUST be
be set to Active SFC OAM (TBA1) (Section 8.1). The rules for set to Active SFC OAM (TBA1) (Section 9.1). The rules for
interpreting the values of the O bit and the Next Protocol field are interpreting the values of the O bit and the "Next Protocol" field
as follows: are as follows:
* O bit set and the Next Protocol value is not one of identifying * O bit set and the "Next Protocol" value does not match one of
active or hybrid OAM protocol (per [RFC7799] definitions), e.g., identifying active or hybrid OAM protocols (per classification
defined in this specification Active SFC OAM: defined in [RFC7799]), e.g., defined in Section 9.1 Active SFC OAM
(TBA1).
- a Fixed-Length Context Header or Variable-Length Context - a Fixed-Length Context Header or Variable-Length Context
Header(s) contain an OAM command or data. Header(s) contain an OAM command or data.
- the type of payload is determined by the Next Protocol field. - the type of payload is determined by the "Next Protocol"
field.
* O bit set and the Next Protocol value is one of identifying active * O bit set and the "Next Protocol" value matches one of identifying
or hybrid OAM protocol: active or hybrid OAM protocols:
- the payload that immediately follows the NSH MUST contain an - the payload that immediately follows the NSH MUST contain an
OAM command or data. OAM command or data.
* O bit is clear: * O bit is clear:
- no OAM in a Fixed-Length Context Header or Variable-Length - no OAM in a Fixed-Length Context Header or Variable-Length
Context Header(s). Context Header(s).
- the payload determined by the Next Protocol field's value - the payload determined by the "Next Protocol" field MUST be
MUST be present. present.
* O bit is clear and the Next Protocol field's value identifies * O bit is clear, and the "Next Protocol" field identifies active or
active or hybrid OAM protocol MUST be identified and reported as hybrid OAM protocol MUST be identified and reported as an
the erroneous combination. An implementation MAY have control to erroneous combination. An implementation MAY have control to
enable processing of the OAM payload. enable processing of the OAM payload.
One conclusion from the above-listed rules of processing the O bit One conclusion from the above-listed rules of processing the O bit
and the Next Protocol field's value is to avoid the combination of and the "Next Protocol" field is to avoid the combination of OAM in
OAM in an NSH Context Header (Fixed-Length or Variable-Length) and an NSH Context Header (Fixed-Length or Variable-Length) and the
the payload immediately following the NSH because there is no payload immediately following the NSH because there is no unambiguous
unambiguous way to identify such combination using the O bit and the way to identify such combination using the O bit and the Next
Next Protocol field. Protocol field.
5. Active SFC OAM Header
As demonstrated in Section 4 [RFC8924] and Section 3 of this As demonstrated in Section 4 [RFC8924] and Section 3 of this
document, SFC OAM is required to perform multiple tasks. Several document, SFC OAM is required to perform multiple tasks. Several
active OAM protocols could be used to address all the requirements. active OAM protocols could be used to address all the requirements.
When IP/UDP encapsulation of an SFC OAM control message is used, When IP/UDP encapsulation of an SFC OAM control message is used,
protocols can be demultiplexed using the Destination UDP port number. protocols can be demultiplexed using the destination UDP port number.
But extra IP/UDP headers, especially in an IPv6 network, add But extra IP/UDP headers, especially in an IPv6 network, add
noticeable overhead. This document defines Active OAM Header noticeable overhead. This document defines Active OAM Header
(Figure 2) to demultiplex active OAM protocols on an SFC. (Figure 2) to demultiplex active OAM protocols on an SFC.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| V | Msg Type | Flags | Length | | V | Msg Type | Flags | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ SFC Active OAM Control Packet ~ ~ SFC Active OAM Control Packet ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: SFC Active OAM Header Figure 2: SFC Active OAM Header
V - two-bit-long field indicates the current version of the SFC V - two-bit-long field indicates the current version of the SFC
active OAM header. The current value is 0. active OAM header. The current value is 0. The version number is
to be incremented whenever a change is made that affects the
ability of an implementation to parse or process the SFC Active
OAM header correctly. For example, if syntactic or semantic
changes are made to any of the fixed fields.
Msg Type - six bits long field identifies OAM protocol, e.g., Echo Msg Type - six bits long field identifies OAM protocol, e.g., Echo
Request/Reply or Bidirectional Forwarding Detection. Request/Reply or Bidirectional Forwarding Detection.
Flags - eight bits long field carries bit flags that define Flags - eight bits long field carries bit flags that define
optional capability and thus processing of the SFC active OAM optional capability and thus processing of the SFC active OAM
control packet, e.g., optional timestamping. control packet, e.g., optional timestamping. No flags are defined
in this document. Thus, the bit flags MUST be zeroed on
transmission and ignored on receipt.
Length - two octets long field that is the length of the SFC Length - two octets long field that is the length of the SFC
active OAM control packet in octets. active OAM control packet in octets.
5. Echo Request/Echo Reply for SFC 6. Echo Request/Echo Reply for SFC
Echo Request/Reply is a well-known active OAM mechanism that is Echo Request/Reply is a well-known active OAM mechanism extensively
extensively used to verify a path's continuity, detect used to verify a path's continuity, detect inconsistencies between a
inconsistencies between a state in control and the data planes, and state in control and the data planes, and localize defects in the
localize defects in the data plane. ICMP ([RFC0792] for IPv4 and data plane. ICMP ([RFC0792] for IPv4 and [RFC4443] for IPv6
[RFC4443] for IPv6 networks respectively) and [RFC8029] are examples networks, respectively) and [RFC8029] are examples of broadly used
of broadly used active OAM protocols based on Echo Request/Reply active OAM protocols based on the Echo Request/Reply principle. The
principle. The SFC NSH Echo Request/Reply defined in this document SFC Echo Request/Reply defined in this document addresses several
addresses several requirements listed in Section 3. Specifically, as requirements listed in Section 3. Specifically, it can be used to
defined in this specification, it can be used to check the continuity check the continuity of an SFP, trace an SFP, or localize the failure
of an SFP, trace an SFP, localize the failure of the SFP. The SFC within an SFP. The SFC Echo Request/Reply control message format is
NSH Echo Request/Reply control message format is presented in presented in Figure 3.
Figure 3.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| V | Reserved | Global Flags | | V | Reserved | Echo Request Flags |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Message Type | Reply mode | Return Code |Return Subcode | | Message Type | Reply mode | Return Code |Return Subcode |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sender's Handle | | Sender's Handle |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Sequence Number | | Sequence Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ TLVs ~ ~ TLVs ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 3: SFC Echo Request/Reply Format Figure 3: SFC Echo Request/Reply Format
The interpretation of the fields is as follows: The interpretation of the fields is as follows:
Version (V) is a two-bit field that indicates the current version Version (V) is a two-bit field that indicates the current version
of the SFC Echo Request/Reply. The current value is 0. The of the SFC Echo Request/Reply. The current value is 0. The
version number is to be incremented whenever a change is made that version number is to be incremented whenever a change is made that
affects the ability of an implementation to parse or process affects the ability of an implementation to parse or process the
control packet correctly. control packet correctly. If a packet presumed to carry an SFC
Echo Request/Reply is received at an SFF, and the SFF does not
understand the Version field value, the packet MUST be discarded,
and the event SHOULD be logged.
Reserved - fourteen-bit field. It MUST be zeroed on transmission Reserved - fourteen-bit field. It MUST be zeroed on transmission
and ignored on receipt. and ignored on receipt.
The Global Flags is a two-octet bit vector field. The Echo Request Flags is a two-octet bit vector field. Note that
a flag defined in the Flags field of the SFC Active OAM header in
Figure 2 has no implication of those defined in the Echo Request
Flags field of an Echo Request/Reply message.
The Message Type is a one-octet field that reflects the packet The Message Type is a one-octet field that reflects the packet
type. Value TBA3 identifies Echo Request and TBA4 - Echo Reply. type. Value TBA3 identifies Echo Request and TBA4 - Echo Reply.
The Reply Mode is a one-octet field. It defines the type of the The Reply Mode is a one-octet field. It defines the type of the
return path requested by the sender of the Echo Request. return path requested by the sender of the Echo Request.
Return Codes and Subcodes are one-octet fields each. These can be Return Codes and Subcodes are one-octet fields each. These can be
used to inform the sender about the result of processing its used to inform the sender about the result of processing its
request. Initial Return Code values are according to Table 1. request. Initial Return Code values are provided in Table 1. For
For all Return Code values defined in this document, the value of all Return Code values defined in this document, the value of the
the Return Subcode field MUST be set to zero. Return Subcode field MUST be set to zero.
The Sender's Handle is a four-octet field. It is filled in by the The Sender's Handle is a four-octet field. It MUST be filled in
sender of the Echo Request and returned unchanged by the Echo by the sender of the Echo Request and returned unchanged by the
Reply sender. The sender of the Echo Request MAY use a pseudo- Echo Reply sender (if a reply mandated). The sender of the Echo
random number generator to set the value of the Sender's Handle Request SHOULD use a pseudo-random number generator to set the
field. value of the Sender's Handle field.
The Sequence Number is a four-octet field. It is assigned by the The Sequence Number is a four-octet field. It is assigned by the
sender and can be (for example) used to detect missed replies. sender and can be, for example, used to detect missed replies.
The value of the Sequence Number field SHOULD be monotonically The initial Sequence Number MUST be randomly generated and then
increasing in the course of the test session. SHOULD be monotonically increasing in the course of the test
session.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Reserved | Length | | Type | Reserved | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
~ Value ~ ~ Value ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 4: SFC Echo Request/Reply TLV Format Figure 4: SFC Echo Request/Reply TLV Format
TLV is a variable-length field. Multiple TLVs MAY be placed in an TLV is a variable-length field. Multiple TLVs MAY be placed in an
SFC Echo Request/Reply packet. Additional TLVs may be enclosed SFC Echo Request/Reply packet. Additional TLVs may be enclosed
within a given TLV, subject to the semantics of the (outer) TLV in within a given TLV, subject to the semantics of the (outer) TLV in
question. If more than one TLV is to be included, the value of the question. If more than one TLV is to be included, the value of the
Type field of the outmost outer TLV MUST be set to Multiple TLVs Used Type field of the outmost outer TLV MUST be set to "Multiple TLVs
(TBA12), as assigned by IANA according to Section 8.7. Figure 4 Used" (TBA12), as assigned by IANA according to Section 9.4.
presents the format of an SFC Echo Request/Reply TLV, where fields Figure 4 presents the format of an SFC Echo Request/Reply TLV, where
are defined as the following: fields are defined as follows:
Type - a one-octet-long field that characterizes the Type - a one-octet-long field that characterizes the
interpretation of the Value field. Type values allocated interpretation of the Value field. Type values allocated
according to Section 8.7. according to Section 9.4.
Reserved - one-octet-long field. The value of the Type field Reserved - one-octet-long field. The value of the Type field
determines its interpretation and encoding. determines its interpretation and encoding.
Length - two-octet-long field equal to the Value field's length in Length - two-octet-long field equal to the Value field's length in
octets. octets.
Value - a variable-length field. The value of the Type field Value - a variable-length field. The value of the Type field
determines its interpretation and encoding. determines its interpretation and encoding.
5.1. Return Codes 6.1. Return Codes
The value of the Return Code field is set to zero by the sender of an The value of the Return Code field is set to zero by the sender of an
Echo Request. The receiver of said Echo Request can set it to one of Echo Request. The receiver of said Echo Request can set it to one of
the values listed in Table 1 in the corresponding Echo Reply that it the values listed in Table 1 in the corresponding Echo Reply that it
generates. generates (in cases when the reply is requested).
+=======+============================================+ +=======+============================================+
| Value | Description | | Value | Description |
+=======+============================================+ +=======+============================================+
| 0 | No Return Code | | 0 | No Return Code |
+-------+--------------------------------------------+ +-------+--------------------------------------------+
| 1 | Malformed Echo Request received | | 1 | Malformed Echo Request received |
+-------+--------------------------------------------+ +-------+--------------------------------------------+
| 2 | One or more of the TLVs was not understood | | 2 | One or more of the TLVs was not understood |
+-------+--------------------------------------------+ +-------+--------------------------------------------+
| 3 | Authentication failed | | 3 | Authentication failed |
+-------+--------------------------------------------+ +-------+--------------------------------------------+
Table 1: SFC Echo Return Codes Table 1: SFC Echo Return Codes
5.2. Authentication in Echo Request/Reply 6.2. Authentication in Echo Request/Reply
Authentication can be used to protect the integrity of the Authentication can be used to protect the integrity of the
information in SFC Echo Request and/or Echo Reply. In the information in SFC Echo Request and/or Echo Reply. In the
[I-D.ietf-sfc-nsh-integrity] a variable-length Context Header has [I-D.ietf-sfc-nsh-integrity] a variable-length Context Header has
been defined to protect the integrity of the NSH and the payload. been defined to protect the integrity of the NSH and the payload.
The header can also be used for the optional encryption of the The header can also be used for the optional encryption of sensitive
sensitive metadata. MAC#1 Context Header is more suitable for the metadata. MAC#1 Context Header is more suitable for the integrity
integrity protection of active SFC OAM, particularly of the defined protection of active SFC OAM, particularly of the defined in this
in this document SFC Echo Request and Echo Reply. On the other hand, document SFC Echo Request and Echo Reply. On the other hand, using
using MAC#2 Context Header allows the detection of mishandling of the MAC#2 Context Header allows the detection of mishandling of the O-bit
O-bit by a transient SFC element. by a transient SFC element.
5.3. SFC Echo Request Transmission 6.3. SFC Echo Request Transmission
SFC Echo Request control packet MUST use the appropriate transport SFC Echo Request control packet MUST use the appropriate transport
encapsulation of the monitored SFP. If the NSH is used, Echo Request encapsulation of the monitored SFP. If the NSH is used, Echo Request
MUST set O bit, as defined in [RFC8300]. NSH MUST be immediately MUST set O bit, as defined in [RFC8300]. NSH MUST be immediately
followed by the SFC Active OAM Header defined in Section 4. The followed by the SFC Active OAM Header defined in Section 4. The
Message Type field's value in the SFC Active OAM Header MUST be set Message Type field's value in the SFC Active OAM Header MUST be set
to SFC Echo Request/Echo Reply value (TBA2) per Section 8.2. to SFC Echo Request/Echo Reply value (TBA2) per Section 9.2.2.
Value of the Reply Mode field MAY be set to: Value of the Reply Mode field MAY be set to:
* Do Not Reply (TBA5) if one-way monitoring is desired. If the Echo * Do Not Reply (TBA5) if one-way monitoring is desired. If the Echo
Request is used to measure synthetic packet loss; the receiver may Request is used to measure synthetic packet loss, the receiver may
report loss measurement results to a remote node. Note that ways report loss measurement results to a remote node. Note that ways
of learning the identy of that node is otside the scope of this of learning the identity of that node are outside the scope of
specification. this specification.
* Reply via an IPv4/IPv6 UDP Packet (TBA6) value likely will be the * Reply via an IPv4/IPv6 UDP Packet (TBA6) value likely will be the
most used. most used.
* Reply via Application Level Control Channel (TBA7) value if the * Reply via Application Level Control Channel (TBA7) value if the
SFP may have bi-directional paths. SFP may have bi-directional paths.
* Reply via Specified Path (TBA8) value to enforce the use of the * Reply via Specified Path (TBA8) value to enforce the use of the
particular return path specified in the included TLV to verify bi- particular return path specified in the included TLV to verify bi-
directional continuity and also increase the robustness of the directional continuity and also increase the robustness of the
monitoring by selecting a more stable path. monitoring by selecting a more stable path.
[I-D.ao-sfc-oam-return-path-specified] provides an example of the [I-D.ao-sfc-oam-return-path-specified] provides an example of
defining a specific path for the Echo Reply. communicating an explicit path for the Echo Reply.
5.4. SFC Echo Request Reception 6.3.1. Source TLV
Sending an SFC Echo Request to the control plane is triggered by one Responder to the SFC Echo Request encapsulates the SFC Echo Reply
of the following packet processing exceptions: NSH TTL expiration, message in IP/UDP packet if the Reply mode is "Reply via an IPv4/IPv6
NSH Service Index (SI) expiration, or the receiver is the terminal UDP Packet". Because the NSH does not identify the ingress node that
SFF for an SFP. generated the Echo Request, the source ID MUST be included in the
message and used as the IP destination address and destination UDP
port number of the SFC Echo Reply. The sender of the SFC Echo
Request MUST include an SFC Source TLV (Figure 5).
Firstly, if the SFC Echo Request is authenticated, the receiving SFF 0 1 2 3
MUST verify the authentication. If the verification fails, the 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
receiver SFF MUST send an SFC Echo Reply with the Return Code set to +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
"Authentication failed" and the Subcode set to zero. Then, the SFF | Source ID | Reserved1 | Length |
that has received an SFC Echo Request verifies the received packet's +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
general sanity. If the packet is not well-formed, the receiver SFF | Port Number | Reserved2 |
SHOULD send an SFC Echo Reply with the Return Code set to "Malformed +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Echo Request received" and the Subcode set to zero. If there are any | IP Address |
TLVs that SFF does not understand, the SFF MUST send an SFC Echo +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Reply with the Return Code set to 2 ("One or more TLVs was not
Figure 5: SFC Source TLV
where
Source ID Type is a one-octet-long field and has the value of
TBA13 Section 9.4.
Reserved1 - one-octet-long field.
Length is a two-octets-long field, and the value equals the length
of the Value field in octets. The value of the Length field can
be 8 or 20. If the value of the field is neither, the Source TLV
is considered to be malformed.
Port Number is a two-octets-long field. It contains the UDP port
number of the sender of the SFC OAM control message. The value of
the field MUST be used as the destination UDP port number in the
IP/UDP encapsulation of the SFC Echo Reply message.
Reserved2 is a two-octets-long field. The field MUST be zeroed on
transmit and ignored on receipt.
IP Address field contains the IP address of the sender of the SFC
OAM control message, IPv4 or IPv6. The value of the field MUST be
used as the destination IP address in the IP/UDP encapsulation of
the SFC Echo Reply message.
A single Source ID TLV for each address family, i.e., IPv4 and IPv6,
MAY be present in an SFC Echo Request message. If the Source TLVs
for both address families are present in an SFC Echo Request message,
the SFF MUST NOT replicate an SFC Echo Reply but choose the
destination IP address for the SFC Echo Reply based on the local
policy. If more than one Source ID TLV per the address family is
present, the receiver MUST use the first TLV and ignore the rest.
6.4. SFC Echo Request Reception
Punting received SFC Echo Request to the control plane is triggered
by one of the following packet processing exceptions: NSH TTL
expiration, NSH Service Index (SI) expiration, or the receiver is the
terminal SFF for an SFP.
Firstly, if the SFC Echo Request is integrity-protected, the
receiving SFF first MUST verify the authentication. Then the
receiver SFF MUST validate the Source TLV, as defined in
Section 6.3.1. If the authentication validation has failed and the
Source TLV is considered properly formatted, the SFF MUST send to the
system identified in the Source TLV (see Section 6.5), according to a
rate-limit control mechanism, an SFC Echo Reply with the Return Code
set to "Authentication failed" and the Subcode set to zero. If the
Source TLV is determined malformed, the received SFC Echo Request
processing is stopped, the message is dropped, and the event SHOULD
be logged, according to a rate-limiting control for logging. Then,
the SFF that has received an SFC Echo Request verifies the rest of
the received packet's general sanity. If the packet is not well-
formed, the receiver SFF SHOULD send an SFC Echo Reply with the
Return Code set to "Malformed Echo Request received" and the Subcode
set to zero under the control of the rate-limiting mechanism to the
system identified in the Source TLV (see Section 6.5). If there are
any TLVs that the SFF does not understand, the SFF MUST send an SFC
Echo Reply with the Return Code set to 2 ("One or more TLVs was not
understood") and set the Subcode to zero. In the latter case, the understood") and set the Subcode to zero. In the latter case, the
SFF MAY include an Errored TLVs TLV (Section 5.4.1) that, as sub- SFF MAY include an Errored TLVs TLV (Section 6.4.1) that, as sub-
TLVs, contains only the misunderstood TLVs. The header field's TLVs, contains only the misunderstood TLVs. Sender's Handle and
Sender's Handle, Sequence Number are not examined but are included in Sequence Number fields are not examined but are included in the SFC
the SFC Echo Reply message. If the sanity check of the received Echo Echo Reply message. If the sanity check of the received Echo Request
Request succeeded, then the SFF at the end of the SFP MUST set the succeeded, then the SFF at the end of the SFP MUST set the Return
Return Code value to 5 ("End of the SFP") and the Subcode set to Code value to 5 ("End of the SFP") and the Subcode set to zero. If
zero. If the SFF is not at theend of the SFP and the TTL value is 1, the SFF is not at the end of the SFP and the TTL value is 1, the
the value of the Return Code MUST be set to 4 ("TTL Exceeded") and value of the Return Code MUST be set to 4 ("TTL Exceeded") and the
the Subcode set to zero. Subcode set to zero. In all other cases, SFF MUST set the Return
Code value to 0 ("No Return Code") and the Subcode set to zero.
5.4.1. Errored TLVs TLV 6.4.1. Errored TLVs TLV
If the Return Code for the Echo Reply is determined as 2 ("One or If the Return Code for the Echo Reply is determined as 2 ("One or
more TLVs was not understood"), then the Errored TLVs TLV MAY be more TLVs was not understood"), the Errored TLVs TLV might be
included in an Echo Reply. The use of this TLV allows informing the included in an Echo Reply. The use of this TLV is meant to inform
sender of an Echo Request of mandatory TLVs either not supported by the sender of an Echo Request of TLVs either not supported by an
an implementation or parsed and found to be in error. implementation or parsed and found to be in error.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Errored TLVs | Reserved | Length | | Errored TLVs | Reserved | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value | | Value |
. . . .
. . . .
. . . .
| | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 5: Errored TLVs TLV Figure 6: Errored TLVs TLV
where where
The Errored TLVs Type MUST be set to TBA14 Section 8.7. The Errored TLVs Type MUST be set to TBA14 Section 9.4.
Reserved - one-octet-long field. Reserved - one-octet-long field.
Length - two-octet-long field equal to the length of the Value Length - two-octet-long field equal to the length of the Value
field in octets. field in octets.
The Value field contains the TLVs, encoded as sub-TLVs, that were The Value field contains the TLVs, encoded as sub-TLVs, that were
not understood or failed to be parsed correctly. not understood or failed to be parsed correctly.
5.5. SFC Echo Reply Transmission 6.5. SFC Echo Reply Transmission
The Reply Mode field directs whether and how the Echo Reply message The "Reply Mode" field directs whether and how the Echo Reply message
should be sent. The sender of the Echo Request MAY use TLVs to should be sent. The sender of the Echo Request MAY use TLVs to
request that the corresponding Echo Reply is transmitted over the request that the corresponding Echo Reply is transmitted over the
specified path. [I-D.ao-sfc-oam-return-path-specified] provides an specified path. [I-D.ao-sfc-oam-return-path-specified] provides an
example of a TLV that can be used to specify the path of the Echo example of a TLV that can be used to specify the return path of the
Reply. Value TBA3 is referred to as the "Do not reply" mode and Echo Reply. Value TBA3 is referred to as the "Do not reply" mode and
suppresses the Echo Reply packet transmission. The default value suppresses the Echo Reply packet transmission. The default value
(TBA6) for the Reply mode field requests the responder to send the (TBA6) for the Reply mode field requests the responder to send the
Echo Reply packet out-of-band as IPv4 or IPv6 UDP packet. Echo Reply packet out-of-band as IPv4 or IPv6 UDP packet.
Responder to the SFC Echo Request sends the Echo Reply over IP 6.6. SFC Echo Reply Reception
network if the Reply mode is Reply via an IPv4/IPv6 UDP Packet.
Because the NSH does not identify the ingress node that generated the
Echo Request, the source ID MUST be included in the message and used
as the IP destination address for IP/UDP encapsulation of the SFC
Echo Reply. The sender of the SFC Echo Request MUST include SFC
Source TLV Figure 6.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source ID | Reserved | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Value |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 6: SFC Source TLV
where
Source ID Type is a one-octet-long field and has the value of
TBA13 Section 8.7.
Reserved - one-octet-long field.
Length is a two-octets-long field, and the value equals the length
of the Value field in octets.
Value field contains the IP address of the sender of the SFC OAM
control message, IPv4 or IPv6.
The UDP destination port for SFC Echo Reply TBA15 will be allocated
by IANA Section 8.8.
5.6. SFC Echo Reply Reception
An SFF SHOULD NOT accept SFC Echo Reply unless the received passes An SFF SHOULD NOT accept SFC Echo Reply unless the received message
the following checks: passes the following checks:
* the received SFC Echo Reply is well-formed; * the received SFC Echo Reply is well-formed;
* it has an outstanding SFC Echo Request sent from the UDP port that * it has an outstanding SFC Echo Request sent from the UDP port that
matches destination UDP port number of the received packet; matches destination UDP port number of the received packet;
* if the matching to the Echo Request found, the value of the * if the matching to the Echo Request found, the value of the
Sender's Handle in the Echo Request sent is equal to the value of Sender's Handle in the Echo Request sent is equal to the value of
Sender's Handle in the Echo Reply received; Sender's Handle in the Echo Reply received;
* if all checks passed, the SFF checks if the Sequence Number in the * if all checks passed, the SFF checks if the Sequence Number in the
Echo Request sent matches to the Sequence Number in the Echo Reply Echo Request sent matches to the Sequence Number in the Echo Reply
received. received.
5.7. Tracing an SFP 6.7. Tracing an SFP
SFC Echo Request/Reply can be used to isolate a defect detected in SFC Echo Request/Reply can be used to isolate a defect detected in
the SFP and trace an RSP. As for ICMP echo request/reply [RFC0792] the SFP and trace an RSP. As for ICMP echo request/reply [RFC0792]
and MPLS echo request/reply [RFC8029], this mode is referred to as and MPLS echo request/reply [RFC8029], this mode is referred to as
"traceroute". In the traceroute mode, the sender transmits a "traceroute". In the traceroute mode, the sender transmits a
sequence of SFC Echo Request messages starting with the NSH TTL value sequence of SFC Echo Request messages starting with the NSH TTL value
set to 1 and is incremented by 1 in each next Echo Request packet. set to 1 and is incremented by 1 in each next Echo Request packet.
The sender stops transmitting SFC Echo Request packets when the The sender stops transmitting SFC Echo Request packets when the
Return Code in the received Echo Reply equals 5 ("End of the SFP"). Return Code in the received Echo Reply equals 5 ("End of the SFP").
Suppose a specialized information element (e.g., IPv6 Flow Label Suppose a specialized information element (e.g., IPv6 Flow Label
[RFC6437] or Flow ID [I-D.ietf-sfc-nsh-tlv]) is used for distributing [RFC6437] or Flow ID [I-D.ietf-sfc-nsh-tlv]) is used for distributing
the load across Equal Cost Multi-Path or Link Aggregation Group the load across Equal Cost Multi-Path or Link Aggregation Group
paths. In that case, such an element MAY also be used for the SFC paths. In that case, such an element MAY also be used for the SFC
OAM traffic. Doing so is meant to control whether the SFC Echo OAM traffic. Doing so is meant to control whether the SFC Echo
Request follows the same RSP as the monitored flow. Request follows the same RSP as the monitored flow.
6. Security Considerations 7. Security Considerations
When the integrity protection for SFC active OAM, and SFC Echo When the integrity protection for SFC active OAM, and SFC Echo
Request/Reply in particular, is required, it is RECOMMENDED to use Request/Reply in particular, is required, it is RECOMMENDED to use
one of Context Headers defined in [I-D.ietf-sfc-nsh-integrity]. one of the Context Headers defined in [I-D.ietf-sfc-nsh-integrity].
MAC#1 (Message Authentication Code) Context Header could be more MAC#1 (Message Authentication Code) Context Header could be more
suitable for active SFC OAM because it does not require re- suitable for active SFC OAM because it does not require re-
calculation of the MAC when the value of the NSH Base Header's TTL calculation of the MAC when the value of the NSH Base Header's TTL
field is changed. The integrity protection for SFC active OAM can field is changed. The integrity protection for SFC active OAM can
also be achieved using mechanisms in the underlay data plane. For also be achieved using mechanisms in the underlay data plane. For
example, if the underlay is an IPv6 network, IP Authentication Header example, if the underlay is an IPv6 network, IP Authentication Header
[RFC4302] or IP Encapsulating Security Payload Header [RFC4303] can [RFC4302] or IP Encapsulating Security Payload Header [RFC4303] can
be used to provide integrity protection. Confidentiality for the SFC be used to provide integrity protection. Confidentiality for the SFC
Echo Request/Reply exchanges can be achieved using the IP Echo Request/Reply exchanges can be achieved using the IP
Encapsulating Security Payload Header [RFC4303]. Also, the security Encapsulating Security Payload Header [RFC4303]. Also, the security
skipping to change at page 16, line 18 skipping to change at page 17, line 23
Reply and spoofing attacks involving faking or replying to SFC Echo Reply and spoofing attacks involving faking or replying to SFC Echo
Reply messages would have to match the Sender's Handle and Sequence Reply messages would have to match the Sender's Handle and Sequence
Number of an outstanding SFC Echo Request message, which is highly Number of an outstanding SFC Echo Request message, which is highly
unlikely. Thus the non-matching reply would be discarded. unlikely. Thus the non-matching reply would be discarded.
To protect against unauthorized sources trying to obtain information To protect against unauthorized sources trying to obtain information
about the overlay and/or underlay, an implementation MAY check that about the overlay and/or underlay, an implementation MAY check that
the source of the Echo Request is indeed part of the SFP. the source of the Echo Request is indeed part of the SFP.
7. Acknowledgments 8. Acknowledgments
Authors greatly appreciate thorough review and the most helpful Authors greatly appreciate thorough review and the most helpful
comments from Dan Wing, Dirk von Hugo, and Mohamed Boucadair. comments from Dan Wing, Dirk von Hugo, and Mohamed Boucadair.
8. IANA Considerations 9. IANA Considerations
8.1. SFC Active OAM Protocol 9.1. SFC Active OAM Protocol
IANA is requested to assign a new type from the SFC Next Protocol IANA is requested to assign a new type from the SFC Next Protocol
registry as follows: registry as follows:
+=======+================+===============+ +=======+================+===============+
| Value | Description | Reference | | Value | Description | Reference |
+=======+================+===============+ +=======+================+===============+
| TBA1 | SFC Active OAM | This document | | TBA1 | SFC Active OAM | This document |
+-------+----------------+---------------+ +-------+----------------+---------------+
Table 2: SFC Active OAM Protocol Table 2: SFC Active OAM Protocol
8.2. SFC Active OAM Message Type 9.2. SFC Active OAM
IANA is requested to create a new registry called "SFC Active OAM IANA is requested to create a new SFC Active OAM registry.
Message Type". All code points in the range 1 through 32767 in this
registry shall be allocated according to the "IETF Review" procedure 9.2.1. Version in the Active SFC OAM Header
specified in [RFC8126]. The remaining code points to be allocated
according to Table 3: IANA is requested to create in the SFC Active OAM registry a new sub-
registry called "SFC Active OAM Header Version". All code points are
assigned according to the "IETF Review" procedure specified in
[RFC8126]. The remaining code points to be allocated according to
Table 3:
+==============+=======================+===============+
| Version | Description | Reference |
+==============+=======================+===============+
| Version 0b00 | Protocol as defined | This document |
| | by this specification | |
+--------------+-----------------------+---------------+
| Version 0b01 | Unassigned | This document |
+--------------+-----------------------+---------------+
| Version 0b10 | Unassigned | This document |
+--------------+-----------------------+---------------+
| Version 0b11 | Unassigned | This document |
+--------------+-----------------------+---------------+
Table 3: SFC Active OAM Header Version
9.2.2. SFC Active OAM Message Type
IANA is requested to create in the SFC Active OAM registry a new sub-
registry called "SFC Active OAM Message Type". All code points in
the range 1 through 32767 in this registry shall be allocated
according to the "IETF Review" procedure specified in [RFC8126]. The
remaining code points to be allocated according to Table 4:
+===============+=============+=========================+ +===============+=============+=========================+
| Value | Description | Reference | | Value | Description | Reference |
+===============+=============+=========================+ +===============+=============+=========================+
| 0 | Reserved | | | 0 | Reserved | |
+---------------+-------------+-------------------------+ +---------------+-------------+-------------------------+
| 1 - 32767 | Reserved | IETF Consensus | | 1 - 32767 | Reserved | IETF Consensus |
+---------------+-------------+-------------------------+ +---------------+-------------+-------------------------+
| 32768 - 65530 | Reserved | First Come First Served | | 32768 - 65530 | Reserved | First Come First Served |
+---------------+-------------+-------------------------+ +---------------+-------------+-------------------------+
| 65531 - 65534 | Reserved | Private Use | | 65531 - 65534 | Reserved | Private Use |
+---------------+-------------+-------------------------+ +---------------+-------------+-------------------------+
| 65535 | Reserved | | | 65535 | Reserved | |
+---------------+-------------+-------------------------+ +---------------+-------------+-------------------------+
Table 3: SFC Active OAM Message Type Table 4: SFC Active OAM Message Type
IANA is requested to assign a new type from the SFC Active OAM IANA is requested to assign a new type from the SFC Active OAM
Message Type registry as follows: Message Type sub-registry as follows:
+=======+=============================+===============+ +=======+=============================+===============+
| Value | Description | Reference | | Value | Description | Reference |
+=======+=============================+===============+ +=======+=============================+===============+
| TBA2 | SFC Echo Request/Echo Reply | This document | | TBA2 | SFC Echo Request/Echo Reply | This document |
+-------+-----------------------------+---------------+ +-------+-----------------------------+---------------+
Table 4: SFC Echo Request/Echo Reply Type Table 5: SFC Echo Request/Echo Reply Type
8.3. SFC Echo Request/Echo Reply Parameters 9.2.3. SFC Active OAM Header Flags
IANA is requested to create in the SFC Active OAM registry the new
sub-registry SFC Active OAM Flags.
This sub-registry tracks the assignment of 8 flags in the Flags field
of the SFC Active OAM Header. The flags are numbered from 0 (most
significant bit, transmitted first) to 7.
New entries are assigned by Standards Action.
+============+=============+===============+
| Bit Number | Description | Reference |
+============+=============+===============+
| 7-0 | Unassigned | This document |
+------------+-------------+---------------+
Table 6: SFC Active OAM Header Flags
9.3. SFC Echo Request/Echo Reply Parameters
IANA is requested to create a new SFC Echo Request/Echo Reply IANA is requested to create a new SFC Echo Request/Echo Reply
Parameters registry. Parameters registry.
8.4. SFC Echo Request/Echo Reply Message Types 9.3.1. SFC Echo Request/Reply Version
IANA is requested to create in the SFC Echo Request/Echo Reply
Parameters registry a new sub-registry called "SFC Echo Request/Reply
Version". All code points assigned according to the "IETF Review"
procedure specified in [RFC8126]. The remaining code points to be
allocated according to Table 7:
+==============+=======================+===============+
| Version | Description | Reference |
+==============+=======================+===============+
| Version 0b00 | Protocol as defined | This document |
| | by this specification | |
+--------------+-----------------------+---------------+
| Version 0b01 | Unassigned | This document |
+--------------+-----------------------+---------------+
| Version 0b10 | Unassigned | This document |
+--------------+-----------------------+---------------+
| Version 0b11 | Unassigned | This document |
+--------------+-----------------------+---------------+
Table 7: SFC Echo Request/Reply Version
9.3.2. SFC Echo Request Flags
IANA is requested to create in the SFC Echo Request/Echo Reply
Parameters registry the new sub-registry SFC Echo Request Flags.
This sub-registry tracks the assignment of 16 flags in the SFC Echo
Request Flags field of the SFC Echo Request message. The flags are
numbered from 0 (most significant bit, transmitted first) to 15.
New entries are assigned by Standards Action.
+============+=============+===============+
| Bit Number | Description | Reference |
+============+=============+===============+
| 15-0 | Unassigned | This document |
+------------+-------------+---------------+
Table 8: SFC Echo Request Flags
9.3.3. SFC Echo Request/Echo Reply Message Types
IANA is requested to create in the SFC Echo Request/Echo Reply IANA is requested to create in the SFC Echo Request/Echo Reply
Parameters registry the new sub-registry Message Types. All code Parameters registry the new sub-registry Message Types. All code
points in the range 1 through 175 in this registry shall be allocated points in the range 1 through 175 in this registry shall be allocated
according to the "IETF Review" procedure specified in [RFC8126]. according to the "IETF Review" procedure specified in [RFC8126].
Code points in the range 176 through 239 in this registry shall be Code points in the range 176 through 239 in this registry shall be
allocated according to the "First Come First Served" procedure allocated according to the "First Come First Served" procedure
specified in [RFC8126]. The remaining code points are allocated specified in [RFC8126]. The remaining code points are allocated as
according to Table 5: as specified in Table 5. specified in Table 9.
+===========+==============+===============+ +===========+==============+===============+
| Value | Description | Reference | | Value | Description | Reference |
+===========+==============+===============+ +===========+==============+===============+
| 0 | Reserved | This document | | 0 | Reserved | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 1- 175 | Unassigned | This document | | 1- 175 | Unassigned | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 176 - 239 | Unassigned | This document | | 176 - 239 | Unassigned | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 240 - 251 | Experimental | This document | | 240 - 251 | Experimental | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 252 - 254 | Private Use | This document | | 252 - 254 | Private Use | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 255 | Reserved | This document | | 255 | Reserved | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
Table 5: SFC Echo Request/Echo Reply Table 9: SFC Echo Request/Echo Reply
Message Types Message Types
IANA is requested to assign values as listed in Table 6. IANA is requested to assign values as listed in Table 10.
+=======+==================+===============+ +=======+==================+===============+
| Value | Description | Reference | | Value | Description | Reference |
+=======+==================+===============+ +=======+==================+===============+
| TBA3 | SFC Echo Request | This document | | TBA3 | SFC Echo Request | This document |
+-------+------------------+---------------+ +-------+------------------+---------------+
| TBA4 | SFC Echo Reply | This document | | TBA4 | SFC Echo Reply | This document |
+-------+------------------+---------------+ +-------+------------------+---------------+
Table 6: SFC Echo Request/Echo Reply Table 10: SFC Echo Request/Echo Reply
Message Types Values Message Types Values
8.5. SFC Echo Reply Modes 9.3.4. SFC Echo Reply Modes
IANA is requested to create in the SFC Echo Request/Echo Reply IANA is requested to create in the SFC Echo Request/Echo Reply
Parameters registry the new sub-registry Reply Mode. All code points Parameters registry the new sub-registry Reply Mode. All code points
in the range 1 through 175 in this registry shall be allocated in the range 1 through 175 in this registry shall be allocated
according to the "IETF Review" procedure specified in [RFC8126]. according to the "IETF Review" procedure specified in [RFC8126].
Code points in the range 176 through 239 in this registry shall be Code points in the range 176 through 239 in this registry shall be
allocated according to the "First Come First Served" procedure allocated according to the "First Come First Served" procedure
specified in [RFC8126]. The remaining code points are allocated specified in [RFC8126]. The remaining code points are allocated
according to Table 7: as specified in Table 7. according to Table 11.
+===========+==============+===============+ +===========+==============+===============+
| Value | Description | Reference | | Value | Description | Reference |
+===========+==============+===============+ +===========+==============+===============+
| 0 | Reserved | This document | | 0 | Reserved | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 1- 175 | Unassigned | This document | | 1- 175 | Unassigned | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 176 - 239 | Unassigned | This document | | 176 - 239 | Unassigned | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 240 - 251 | Experimental | This document | | 240 - 251 | Experimental | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 252 - 254 | Private Use | This document | | 252 - 254 | Private Use | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 255 | Reserved | This document | | 255 | Reserved | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
Table 7: SFC Echo Reply Mode Table 11: SFC Echo Reply Mode
All code points in the range 1 through 191 in this registry shall be All code points in the range 1 through 191 in this registry shall be
allocated according to the "IETF Review" procedure specified in allocated according to the "IETF Review" procedure specified in
[RFC8126] and assign values as listed in Table 8. [RFC8126] and assign values as listed in Table 12.
+=======+====================================+===============+ +=======+====================================+===============+
| Value | Description | Reference | | Value | Description | Reference |
+=======+====================================+===============+ +=======+====================================+===============+
| 0 | Reserved | | | 0 | Reserved | |
+-------+------------------------------------+---------------+ +-------+------------------------------------+---------------+
| TBA5 | Do Not Reply | This document | | TBA5 | Do Not Reply | This document |
+-------+------------------------------------+---------------+ +-------+------------------------------------+---------------+
| TBA6 | Reply via an IPv4/IPv6 UDP Packet | This document | | TBA6 | Reply via an IPv4/IPv6 UDP Packet | This document |
+-------+------------------------------------+---------------+ +-------+------------------------------------+---------------+
skipping to change at page 19, line 52 skipping to change at page 22, line 52
| | with the data integrity protection | | | | with the data integrity protection | |
+-------+------------------------------------+---------------+ +-------+------------------------------------+---------------+
| TBA10 | Reply via Application Level | This document | | TBA10 | Reply via Application Level | This document |
| | Control Channel with the data | | | | Control Channel with the data | |
| | integrity protection | | | | integrity protection | |
+-------+------------------------------------+---------------+ +-------+------------------------------------+---------------+
| TBA11 | Reply via Specified Path with the | This document | | TBA11 | Reply via Specified Path with the | This document |
| | data integrity protection | | | | data integrity protection | |
+-------+------------------------------------+---------------+ +-------+------------------------------------+---------------+
Table 8: SFC Echo Reply Mode Values Table 12: SFC Echo Reply Mode Values
8.6. SFC Echo Return Codes 9.3.5. SFC Echo Return Codes
IANA is requested to create in the SFC Echo Request/Echo Reply IANA is requested to create in the SFC Echo Request/Echo Reply
Parameters registry the new sub-registry Return Codes as described in Parameters registry the new sub-registry Return Codes as described in
Table 9. Table 13.
+=========+=============+=========================+ +=========+=============+=========================+
| Value | Description | Reference | | Value | Description | Reference |
+=========+=============+=========================+ +=========+=============+=========================+
| 0-191 | Unassigned | IETF Review | | 0-191 | Unassigned | IETF Review |
+---------+-------------+-------------------------+ +---------+-------------+-------------------------+
| 192-251 | Unassigned | First Come First Served | | 192-251 | Unassigned | First Come First Served |
+---------+-------------+-------------------------+ +---------+-------------+-------------------------+
| 252-254 | Unassigned | Private Use | | 252-254 | Unassigned | Private Use |
+---------+-------------+-------------------------+ +---------+-------------+-------------------------+
| 255 | Reserved | | | 255 | Reserved | |
+---------+-------------+-------------------------+ +---------+-------------+-------------------------+
Table 9: SFC Echo Return Codes Table 13: SFC Echo Return Codes
Values defined for the Return Codes sub-registry are listed in Values defined for the Return Codes sub-registry are listed in
Table 10. Table 14.
+=======+=================================+===============+ +=======+=================================+===============+
| Value | Description | Reference | | Value | Description | Reference |
+=======+=================================+===============+ +=======+=================================+===============+
| 0 | No Return Code | This document | | 0 | No Return Code | This document |
+-------+---------------------------------+---------------+ +-------+---------------------------------+---------------+
| 1 | Malformed Echo Request received | This document | | 1 | Malformed Echo Request received | This document |
+-------+---------------------------------+---------------+ +-------+---------------------------------+---------------+
| 2 | One or more of the TLVs was not | This document | | 2 | One or more of the TLVs was not | This document |
| | understood | | | | understood | |
+-------+---------------------------------+---------------+ +-------+---------------------------------+---------------+
| 3 | Authentication failed | This document | | 3 | Authentication failed | This document |
+-------+---------------------------------+---------------+ +-------+---------------------------------+---------------+
| 4 | TTL Exceeded | This document | | 4 | TTL Exceeded | This document |
+-------+---------------------------------+---------------+ +-------+---------------------------------+---------------+
| 5 | End of the SFP | This document | | 5 | End of the SFP | This document |
+-------+---------------------------------+---------------+ +-------+---------------------------------+---------------+
Table 10: SFC Echo Return Codes Values Table 14: SFC Echo Return Codes Values
8.7. SFC TLV Type 9.4. SFC Active OAM TLV Type
IANA is requested to create the SFC OAM TLV Type registry. All code IANA is requested to create the SFC Active OAM TLV Type registry.
points in the range 1 through 175 in this registry shall be allocated All code points in the range 1 through 175 in this registry shall be
according to the "IETF Review" procedure specified in [RFC8126]. allocated according to the "IETF Review" procedure specified in
Code points in the range 176 through 239 in this registry shall be [RFC8126]. Code points in the range 176 through 239 in this registry
allocated according to the "First Come First Served" procedure shall be allocated according to the "First Come First Served"
specified in [RFC8126]. The remaining code points are allocated procedure specified in [RFC8126]. The remaining code points are
according to Table 11: allocated according to Table 15:
+===========+==============+===============+ +===========+==============+===============+
| Value | Description | Reference | | Value | Description | Reference |
+===========+==============+===============+ +===========+==============+===============+
| 0 | Reserved | This document | | 0 | Reserved | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 1- 175 | Unassigned | This document | | 1- 175 | Unassigned | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 176 - 239 | Unassigned | This document | | 176 - 239 | Unassigned | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 240 - 251 | Experimental | This document | | 240 - 251 | Experimental | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 252 - 254 | Private Use | This document | | 252 - 254 | Private Use | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
| 255 | Reserved | This document | | 255 | Reserved | This document |
+-----------+--------------+---------------+ +-----------+--------------+---------------+
Table 11: SFC OAM TLV Type Registry Table 15: SFC Active OAM TLV Type Registry
This document defines the following new values in SFC OAM TLV Type This document defines the following new values in SFC Active OAM TLV
registry: Type registry:
+=======+====================+===============+ +=======+====================+===============+
| Value | Description | Reference | | Value | Description | Reference |
+=======+====================+===============+ +=======+====================+===============+
| TBA12 | Multiple TLVs Used | This document | | TBA12 | Multiple TLVs Used | This document |
+-------+--------------------+---------------+ +-------+--------------------+---------------+
| TBA13 | Source ID TLV | This document | | TBA13 | Source ID TLV | This document |
+-------+--------------------+---------------+ +-------+--------------------+---------------+
| TBA14 | Errored TLVs | This document | | TBA14 | Errored TLVs | This document |
+-------+--------------------+---------------+ +-------+--------------------+---------------+
Table 12: SFC OAM Type Values Table 16: SFC OAM Type Values
8.8. SFC OAM UDP Port
IANA is requested to allocate UDP port number according to
+=============+============+===================+============+=====================+=============+
|Service Name |Port Number |Transport Protocol |Description |Semantics Definition |Reference |
+=============+============+===================+============+=====================+=============+
|SFC OAM |TBA15 |UDP |SFC OAM Echo|Section 5.5 |This document|
| | | |Reply | | |
+-------------+------------+-------------------+------------+---------------------+-------------+
Table 13: SFC OAM Port
9. References 10. References
9.1. Normative References 10.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997, DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>. <https://www.rfc-editor.org/info/rfc2119>.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC
2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174,
May 2017, <https://www.rfc-editor.org/info/rfc8174>. May 2017, <https://www.rfc-editor.org/info/rfc8174>.
[RFC8300] Quinn, P., Ed., Elzur, U., Ed., and C. Pignataro, Ed., [RFC8300] Quinn, P., Ed., Elzur, U., Ed., and C. Pignataro, Ed.,
"Network Service Header (NSH)", RFC 8300, "Network Service Header (NSH)", RFC 8300,
DOI 10.17487/RFC8300, January 2018, DOI 10.17487/RFC8300, January 2018,
<https://www.rfc-editor.org/info/rfc8300>. <https://www.rfc-editor.org/info/rfc8300>.
9.2. Informative References 10.2. Informative References
[I-D.ao-sfc-oam-return-path-specified] [I-D.ao-sfc-oam-return-path-specified]
Mirsky, G., Ao, T., Chen, Z., and G. Mishra, "Controlled Mirsky, G., Ao, T., Chen, Z., and G. Mishra, "Controlled
Return Path for Service Function Chain (SFC) OAM", Work in Return Path for Service Function Chain (SFC) OAM", Work in
Progress, Internet-Draft, draft-ao-sfc-oam-return-path- Progress, Internet-Draft, draft-ao-sfc-oam-return-path-
specified-09, 30 March 2021, <https://tools.ietf.org/html/ specified-09, 30 March 2021, <https://tools.ietf.org/html/
draft-ao-sfc-oam-return-path-specified-09>. draft-ao-sfc-oam-return-path-specified-09>.
[I-D.ietf-sfc-nsh-integrity] [I-D.ietf-sfc-nsh-integrity]
Boucadair, M., Reddy, T., and D. Wing, "Integrity Boucadair, M., Reddy, T., and D. Wing, "Integrity
skipping to change at page 24, line 10 skipping to change at page 26, line 40
Aldrin, S., and M. Chen, "Detecting Multiprotocol Label Aldrin, S., and M. Chen, "Detecting Multiprotocol Label
Switched (MPLS) Data-Plane Failures", RFC 8029, Switched (MPLS) Data-Plane Failures", RFC 8029,
DOI 10.17487/RFC8029, March 2017, DOI 10.17487/RFC8029, March 2017,
<https://www.rfc-editor.org/info/rfc8029>. <https://www.rfc-editor.org/info/rfc8029>.
[RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for [RFC8126] Cotton, M., Leiba, B., and T. Narten, "Guidelines for
Writing an IANA Considerations Section in RFCs", BCP 26, Writing an IANA Considerations Section in RFCs", BCP 26,
RFC 8126, DOI 10.17487/RFC8126, June 2017, RFC 8126, DOI 10.17487/RFC8126, June 2017,
<https://www.rfc-editor.org/info/rfc8126>. <https://www.rfc-editor.org/info/rfc8126>.
[RFC8595] Farrel, A., Bryant, S., and J. Drake, "An MPLS-Based
Forwarding Plane for Service Function Chaining", RFC 8595,
DOI 10.17487/RFC8595, June 2019,
<https://www.rfc-editor.org/info/rfc8595>.
[RFC8924] Aldrin, S., Pignataro, C., Ed., Kumar, N., Ed., Krishnan, [RFC8924] Aldrin, S., Pignataro, C., Ed., Kumar, N., Ed., Krishnan,
R., and A. Ghanwani, "Service Function Chaining (SFC) R., and A. Ghanwani, "Service Function Chaining (SFC)
Operations, Administration, and Maintenance (OAM) Operations, Administration, and Maintenance (OAM)
Framework", RFC 8924, DOI 10.17487/RFC8924, October 2020, Framework", RFC 8924, DOI 10.17487/RFC8924, October 2020,
<https://www.rfc-editor.org/info/rfc8924>. <https://www.rfc-editor.org/info/rfc8924>.
Authors' Addresses Authors' Addresses
Greg Mirsky Greg Mirsky
ZTE Corp. ZTE Corp.
Email: gregimirsky@gmail.com, gregory.mirsky@ztetx.com Email: gregimirsky@gmail.com, gregory.mirsky@ztetx.com
Wei Meng Wei Meng
ZTE Corporation ZTE Corporation
No.50 Software Avenue, Yuhuatai District No.50 Software Avenue, Yuhuatai District
Nanjing, Nanjing,
China China
 End of changes. 98 change blocks. 
262 lines changed or deleted 400 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/