6man Working Group R. Bonica
Internet-Draft Juniper Networks
Intended status: Standards Track G. Chen
Expires: September 10, 2019 Baidu
Y. Zhu
China Telecom
March 9, 2019

OAM Capabilities for IPv6


This document defines new IPv6 Operations and Management (OAM) capabilities. In order to support these new capabilities, this document defines an IPv6 OAM Option and an ICMPv6 OAM message.

Status of This Memo

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

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

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

This Internet-Draft will expire on September 10, 2019.

Copyright Notice

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

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Simplified BSD License.

Table of Contents

1. Problem Statement

This document defines new IPv6 Operations and Management (OAM) capabilities. In order to support these new capabilities, this document defines an IPv6 OAM Option and an ICMPv6 OAM message.

2. Requirements Language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC8174] when, and only when, they appear in all capitals, as shown here.

3. The OAM Option

IPv6 source nodes use the OAM option to invoke one or more OAM actions on downstream devices. The OAM option can be included in any of the following:

If a Hop-by-hop header includes an OAM option, OAM actions MAY be invoked on every node along the path to the destination, including the destination. If a Destination Options header that precedes a Routing header includes an OAM option, OAM actions are invoked by the first node that appears in the IPv6 Destination Address field plus subsequent nodes listed in the Routing header. If a Destination Options header that precedes an upper-layer header includes an OAM option, OAM actions are invoked on the destination node only.

The OAM option includes the following fields:

Option Data Bits Mapped to OAM Actions
Bit Action Notes
0 Log the packet The processing node creates a log entry. The log entry reflects the time at which it was created. It also reflects the time at which the packet arrived.
1 Count the packet The processing node increments a counter.
2 Send an ICMPv6 OAM The processing node sends an ICMP OAM message to the packet's source. The OAM message indicates the time at which the packet arrived.
3 Send telemetry The processing node sends telemetry to a monitoring station. Telemetry includes the packet and the time at which the packet arrived.
4-15 Reserved

Table 1 maps Option Data bits to OAM actions.

NOTE 1: As per [RFC8200], the highest-order two bits of the Option Type (i.e., the "act" bits) specify the action taken by a processing node that does not recognize Option Type. The required action is skip over this option and continue processing the header. Therefore, IANA is requested to assign this Option Type with "act" bits "00".

NOTE 2: As per [RFC8200], the third-highest-order bit (i.e., the "chg" bit) of the Option Type specifies whether Option Data can change on route to the packet's destination. Because option data MUST NOT be changed, IANA is requested to assign this Option Type with "chg" bit "0".

3.1. Processing

The processing of OAM actions is optional. If a node does not support particular OAM action, it can ignore the corresponding bit in Option Data.

Having processed an OAM option, the processing node should continue to process the packet. If possible, the OAM action should be executed in parallel with the processing of the rest of the packet.

The processing node SHOULD execute the OAM action, even if it can not process the packet further. For example, assume the following:

In this case, the node SHOULD execute the requested OAM action. Because the node does not maintain a route to the packet's Destination Address, it should also send an ICMPv6 Destination Unreachable message to the source node an discard the packet.

4. The ICMPv6 OAM Message

          0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      |     Type      |     Code      |          Checksum             |
      |    Length     |                Reserved                       |
      |                     Timestamp (seconds)                       |
      |                     Timestamp (fraction)                      |
      |                                                               |
      +                        Original Datagram                      +
      |                                                               |

Figure 1

Figure 1 depicts the ICMPv6 OAM message. The ICMPv6 OAM message contains the following fields:

ICMPv6 OAM messages SHOULD be rate limited by the sender.

The Timestamp fields SHOULD be as accurate as possible. They SHOULD reflect the time at which the original packet arrived, not the time at which the ICMPv6 OAM message was sent.

5. IANA Considerations

IANA is requested to perform the following actions:

6. Security Considerations

The OAM option can also be used in denial of service attacks. Network devices SHOULD protect themselves against such attacks by limiting the number of OAM options that they process per unit time. If the rate limit is exceeded, the network device MAY either discard the packet or continue to process the packet, ignoring the OAM option.

7. Acknowledgements

The authors acknowledge Fred Baker, Ross Callon, Brian Carpenter and Tom Herbert for their helpful comments.

8. Normative References

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997.
[RFC4443] Conta, A., Deering, S. and M. Gupta, "Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification", STD 89, RFC 4443, DOI 10.17487/RFC4443, March 2006.
[RFC5905] Mills, D., Martin, J., Burbank, J. and W. Kasch, "Network Time Protocol Version 4: Protocol and Algorithms Specification", RFC 5905, DOI 10.17487/RFC5905, June 2010.
[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017.
[RFC8200] Deering, S. and R. Hinden, "Internet Protocol, Version 6 (IPv6) Specification", STD 86, RFC 8200, DOI 10.17487/RFC8200, July 2017.

Authors' Addresses

Ron Bonica Juniper Networks Herndon, Virginia 20171 USA EMail: rbonica@juniper.net
Gang Chen Baidu Baidu Technology Park Building No.2, No.10 Xibeiwang East Road Haidian District Beijing, 100193 P.R. China EMail: phdgang@gmail.com
Yongqing Zhu China Telecom 109 West Zhongshan Ave, Tianhe District Guangzhou, P.R. China EMail: zhuyq.gd@chinatelecom.cn