<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY bom    "&#65279;">
  <!ENTITY wd     "&#x2011;">
]>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902"
     docName="draft-li-opsawg-oam-interval-mod-00"
     category="std" submissionType="IETF" consensus="true" version="3"
     xml:lang="en" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title abbrev="OAM CCM Interval Mod">Coordinated CCM Interval Modification Procedures</title>
    <seriesInfo name="Internet-Draft" value="draft-li-opsawg-oam-interval-mod-00"/>

    <author fullname="Zhiqiang Li" initials="Z." surname="Li">
      <organization>China Mobile</organization>
      <address>
        <postal><city>Beijing</city><code>100053</code>
        <country>China</country></postal>
        <email>lizhiqiangyjy@chinamobile.com</email>
      </address>
    </author>
    <author fullname="Zongpeng Du" initials="Z." surname="Du">
      <organization>China Mobile</organization>
      <address>
        <postal><city>Beijing</city><code>100053</code>
        <country>China</country></postal>
        <email>duzongpeng@chinamobile.com</email>
      </address>
    </author>
    <author fullname="Junjie Wang" initials="J." surname="Wang">
      <organization>Centec</organization>
      <address>
        <postal><city>Shanghai</city><code>201203</code>
        <country>China</country></postal>
        <email>wangjj@centec.com</email>
      </address>
    </author>
    <author fullname="Wei Cheng" initials="W." surname="Cheng">
      <organization>Centec</organization>
      <address>
        <postal><city>Shanghai</city><code>201203</code>
        <country>China</country></postal>
        <email>chengw@centec.com</email>
      </address>
    </author>
    <author fullname="Guoying Zhang" initials="G." surname="Zhang">
      <organization>Centec</organization>
      <address>
        <postal><city>Shanghai</city><code>201203</code>
        <country>China</country></postal>
        <email>zhanggy@centec.com</email>
      </address>
    </author>
    <author fullname="Xun Sun" initials="X." surname="Sun">
      <organization>Inesa</organization>
      <address>
        <postal><city>Shanghai</city><code>200030</code>
        <country>China</country></postal>
        <email>sunxun@inesa.com</email>
      </address>
    </author>
    <author fullname="Chunhao Zhao" initials="C." surname="Zhao">
      <organization>SAIA</organization>
      <address>
        <postal><city>Shanghai</city><code>200125</code>
        <country>China</country></postal>
        <email>chunhao.zhao@sh-aia.com</email>
      </address>
    </author>

    <date year="2026" month="July" day="4"/>
    <area>OPS</area>
    <workgroup>OPSAWG</workgroup>
    <keyword>CFM</keyword>
    <keyword>CCM</keyword>
    <keyword>OAM</keyword>
    <keyword>interval</keyword>
    <keyword>IEEE 802.1ag</keyword>
    <keyword>Y.1731</keyword>
    <abstract>
      <t>In IEEE 802.1ag Connectivity Fault Management (CFM), the Continuity Check Message (CCM) interval is a static parameter that must match on both peer Maintenance End Points (MEPs). Changing the interval at runtime on one MEP without simultaneously updating the peer causes a Loss of Continuity (LOC) defect and may trigger protection switching.</t>
      <t>Because the CFM PDU formats and OpCode space are governed by IEEE 802.1, this document does not modify the protocol; instead, it specifies a coordinated management-plane procedure that transitions both MEPs to a new CCM interval without raising spurious defects or triggering protection switching, together with failure handling and rollback behavior. The procedure can be operated through existing configuration models such as the connection-oriented OAM YANG model.</t>
    </abstract>
  </front>

  <middle>
<section anchor="introduction" numbered="true" toc="include"><name>Introduction</name>
<t>Ethernet Connectivity Fault Management (CFM) <xref target="IEEE-802.1ag"/> <xref target="ITU-Y.1731"/> uses Continuity Check Messages (CCMs) for periodic connectivity verification between Maintenance End Points (MEPs). A receiving MEP declares Loss of Continuity (LOC) if no valid CCM arrives within 3.5 times the configured interval. <xref target="IEEE-802.1ag"/> defines eight interval values, ranging from 3.3 ms to 10 minutes, encoded as the 3-bit Period field in the CCM PDU.</t>
<t>Both peer MEPs in a Maintenance Association must use the same CCM interval. <xref target="IEEE-802.1ag"/> treats this interval as a static provisioning parameter set before session establishment. No in-band signaling exists to modify the interval during the session lifetime. When an operator needs to change the interval -- for example, increasing the rate during troubleshooting and reducing it afterward -- each MEP must be reconfigured separately. The time gap between the two reconfigurations creates a window of mismatched intervals that triggers LOC defects and may cause protection switching.</t>
<t>The IETF's BFD protocol <xref target="RFC5880"/> includes built-in timer negotiation (Section 6.8.2 of <xref target="RFC5880"/>): each BFD Control packet carries the sender's desired intervals, and peers adjust continuously. Ethernet CCM lacks equivalent in-band interval signaling. This document specifies a coordinated management-plane procedure for CCM interval modification.</t>
<section anchor="requirements-language" numbered="true" toc="include"><name>Requirements Language</name>
<t>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 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>
</section></section>
<section anchor="terminology" numbered="true" toc="include"><name>Terminology</name>
<t>This document uses the CFM terminology from <xref target="IEEE-802.1ag"/> and <xref target="ITU-Y.1731"/>. In this document, "CCM interval" and "CCM Period" both refer to the value encoded in the 3-bit Period field of the CCM PDU.</t>
<dl><dt>Interval Learning State:</dt><dd>A transient MEP state in which the MEP applies the interval value from the next received CCM carrying PC=1.</dd></dl>
</section>
<section anchor="relationship" numbered="true" toc="include"><name>Relationship to Existing Standards</name>
<t><xref target="IEEE-802.1ag"/> and <xref target="ITU-Y.1731"/> define the CCM format, interval encoding, and LOC detection. This document extends CFM with a signaling procedure for runtime interval changes; it does not modify the existing CCM processing rules. <xref target="RFC5880"/> defines BFD with built-in timer negotiation. The procedure in this document serves the same operational purpose for CCM but is adapted to CCM's constraints. <xref target="RFC7369"/> specifies GMPLS extensions for CCM interval provisioning at session setup. This document addresses the case of interval changes after session establishment. <xref target="RFC8531"/> defines a YANG data model for connection-oriented OAM including CCM. The extension in this document is compatible with that model.</t>
</section>
<section anchor="procedure" numbered="true" toc="include"><name>Coordinated Interval Modification Procedure</name>
<t>This document defines a management-plane procedure that changes the CCM interval of an active Maintenance Association without inducing spurious LOC defects. The procedure does not modify the CCM PDU, define new CFM OpCodes or TLVs, or alter the CCM processing rules of <xref target="IEEE-802.1ag"/>; all protocol elements on the wire remain unchanged. The CFM PDU and OpCode space are governed by IEEE 802.1, and protocol extensions to CFM are outside the scope of the IETF.</t>
<t>The procedure is executed by a coordinating management system (a controller or an orchestration function) that has configuration access to both MEPs, for example through the YANG model of <xref target="RFC8531"/>.</t>
<section anchor="phase1" numbered="true" toc="include"><name>Phase 1: Defect Suppression Window</name>
<t>The management system instructs both MEPs to enter a transition window in which LOC defect consequences are suppressed: alarm generation and protection-switching actions triggered by LOC for the affected Maintenance Association are temporarily inhibited. The window duration MUST be bounded by a configured value; a default of 3 times the larger of the old and new intervals plus the expected configuration propagation delay is RECOMMENDED.</t>
</section>
<section anchor="phase2" numbered="true" toc="include"><name>Phase 2: Interval Application</name>
<t>The management system reconfigures the CCM interval on both MEPs to the new value, in either order. During the window, interval mismatch between the two MEPs may cause CCM defect conditions (such as LOC at the MEP still running the shorter interval); these are suppressed per Phase 1 and clear once both MEPs operate at the new interval.</t>
</section>
<section anchor="phase3" numbered="true" toc="include"><name>Phase 3: Verification and Resumption</name>
<t>After confirming that both MEPs report the new interval and that CCM reception is healthy (no active LOC), the management system ends the transition window, restoring normal defect handling. If verification fails before the window expires, the management system MUST either roll both MEPs back to the previous interval or extend the window, and MUST raise an operator notification.</t>
</section>
<section anchor="failure-handling" numbered="true" toc="include"><name>Failure Handling</name>
<t>If connectivity to one MEP is lost mid-procedure, the management system MUST roll back the reachable MEP to the previous interval before the window expires. Because defect consequences are suppressed only for a bounded window, a genuine connectivity failure occurring during the window is reported at most one window-duration late; operators SHOULD size the window accordingly.</t>
</section></section>
<section anchor="yang-considerations" numbered="true" toc="include"><name>YANG Considerations</name>
<t>The procedure can be executed with existing configuration models. A future revision of this document may define an augmentation to <xref target="RFC8531"/> providing: (1) a transition-window state with bounded duration and automatic expiry, and (2) an atomic interval-change action that encapsulates the three phases, so that a single management operation per MEP suffices.</t>
</section>
<section anchor="manageability" numbered="true" toc="include"><name>Manageability Considerations</name>
<t>Implementations SHOULD expose, per Maintenance Association: whether an interval modification is in progress, current and target interval values, transition-window status and remaining duration, and counters for successful, rolled-back, and failed modification attempts.</t>
</section>
<section anchor="security-considerations" numbered="true" toc="include"><name>Security Considerations</name>
<t>The procedure in this document operates entirely through the management plane. An attacker with management access could suppress defect consequences or change CCM intervals, disrupting fault detection; management interfaces used for this procedure MUST be authenticated and authorized, for example using the NETCONF access control model <xref target="RFC8341"/>. Defect-suppression windows are a temporary reduction in fault visibility; implementations MUST bound their duration and SHOULD log window entry, exit, and expiry as auditable events. Interval modification attempts SHOULD be rate-limited and logged.</t>
</section>
<section anchor="iana-considerations" numbered="true" toc="include"><name>IANA Considerations</name>
<t>This document has no IANA actions. The CFM OpCode and TLV spaces are administered by IEEE 802.1 and are not affected by this document.</t>
</section>
  </middle>

  <back>
      <references title="Normative References">
    <reference anchor="IEEE-802.1ag">
      <front>
        <title>IEEE Standard for Local and Metropolitan Area Networks -- Virtual Bridged Local Area Networks Amendment 5: Connectivity Fault Management</title>
        <author fullname="IEEE">
          <organization>IEEE</organization>
        </author>
        <date year="2007"/>
      </front>
      <seriesInfo name="IEEE" value="802.1ag-2007"/>
    </reference>
    <reference anchor="ITU-Y.1731">
      <front>
        <title>OAM functions and mechanisms for Ethernet-based networks</title>
        <author fullname="ITU-T">
          <organization>ITU-T</organization>
        </author>
        <date year="2018"/>
      </front>
      <seriesInfo name="ITU-T" value="Y.1731"/>
    </reference>
    <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119">
      <front>
        <title>Key words for use in RFCs to Indicate Requirement Levels</title>
        <author initials="S." surname="Bradner" fullname="Scott Bradner"/>
        <date year="1997" month="March"/>
      </front>
      <seriesInfo name="BCP" value="14"/>
      <seriesInfo name="RFC" value="2119"/>
      <seriesInfo name="DOI" value="10.17487/RFC2119"/>
    </reference>
    <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174">
      <front>
        <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
        <author initials="B." surname="Leiba" fullname="Barry Leiba"/>
        <date year="2017" month="May"/>
      </front>
      <seriesInfo name="BCP" value="14"/>
      <seriesInfo name="RFC" value="8174"/>
      <seriesInfo name="DOI" value="10.17487/RFC8174"/>
    </reference>
    <reference anchor="RFC8341" target="https://www.rfc-editor.org/info/rfc8341">
      <front>
        <title>Network Configuration Access Control Model</title>
        <author initials="A." surname="Bierman" fullname="Andy Bierman"/>
        <author initials="M." surname="Bjorklund" fullname="Martin Bjorklund"/>
        <date year="2018" month="March"/>
      </front>
      <seriesInfo name="STD" value="91"/>
      <seriesInfo name="RFC" value="8341"/>
      <seriesInfo name="DOI" value="10.17487/RFC8341"/>
    </reference>
    <reference anchor="RFC8531" target="https://www.rfc-editor.org/info/rfc8531">
      <front>
        <title>Generic YANG Data Model for Connection-Oriented OAM Protocols</title>
        <author initials="D." surname="Kumar" fullname="Deepak Kumar"/>
        <author initials="Q." surname="Wu" fullname="Qin Wu"/>
        <author initials="M." surname="Wang" fullname="Michael Wang"/>
        <date year="2019" month="April"/>
      </front>
      <seriesInfo name="RFC" value="8531"/>
      <seriesInfo name="DOI" value="10.17487/RFC8531"/>
    </reference>
      </references>
      <references title="Informative References">
    <reference anchor="RFC5880" target="https://www.rfc-editor.org/info/rfc5880">
      <front>
        <title>Bidirectional Forwarding Detection (BFD)</title>
        <author initials="D." surname="Katz" fullname="Dave Katz"/>
        <author initials="D." surname="Ward" fullname="David Ward"/>
        <date year="2010" month="June"/>
      </front>
      <seriesInfo name="RFC" value="5880"/>
      <seriesInfo name="DOI" value="10.17487/RFC5880"/>
    </reference>
    <reference anchor="RFC7369" target="https://www.rfc-editor.org/info/rfc7369">
      <front>
        <title>GMPLS RSVP-TE Extensions for Ethernet OAM Configuration</title>
        <author initials="A." surname="Takacs" fullname="Attila Takacs"/>
        <author initials="B." surname="Gero" fullname="Bela Gero"/>
        <author initials="H." surname="Long" fullname="Himanshu Long"/>
        <date year="2014" month="October"/>
      </front>
      <seriesInfo name="RFC" value="7369"/>
      <seriesInfo name="DOI" value="10.17487/RFC7369"/>
    </reference>
      </references>
      <section anchor="acknowledgements" numbered="false" toc="include">
        <name>Acknowledgements</name>
        <t>The BFD timer negotiation in RFC 5880 served as the design precedent for runtime interval signaling in continuity check protocols.</t>
      </section>
  </back>
</rfc>
