<?xml version="1.0" encoding="US-ASCII"?>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc tocappendix="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
  <!ENTITY rfc2119 PUBLIC '' 'reference.RFC.2119.xml'>

  <!ENTITY rfc5213 PUBLIC '' 'reference.RFC.5213.xml'>

  <!ENTITY rfc5847 PUBLIC '' 'reference.RFC.5847.xml'>

  <!ENTITY rfc7563 PUBLIC '' 'reference.RFC.7563.xml'>

  <!ENTITY rfc2460 PUBLIC '' 'reference.RFC.2460.xml'>

  <!ENTITY rfc6275 PUBLIC '' 'reference.RFC.6275.xml'>

  <!ENTITY rfc8126 PUBLIC '' 'reference.RFC.8126.xml'>

  <!ENTITY rfc8174 PUBLIC '' 'reference.RFC.8174.xml'>
]>


<rfc category="std" ipr="trust200902" number="8127" submissionType="IETF" consensus="yes">
<front>

<title abbrev="LMA-Controlled MAG Configuration Parameters">
Mobile Access Gateway Configuration Parameters
Controlled by&nbsp;the&nbsp;Local&nbsp;Mobility&nbsp;Anchor
</title>


<author initials="D" surname="Patki" fullname="Dhananjay Patki">
<organization abbrev="">Cisco</organization>
<address>
<postal>
<street>Cessna Business Park SEZ, Kadubeesanahalli</street>
<city>Bangalore</city>
<region>Karnataka</region>
<code>560087</code>
<country>India</country>
</postal>
<email>dhpatki@cisco.com</email>
</address>
</author>


<author initials="S" surname="Gundavelli" fullname="Sri Gundavelli">
<organization abbrev="">Cisco</organization>
<address>
<postal>
<street>170 West Tasman Drive</street>
<city>San Jose</city>
<region>CA</region>
<code>95134</code>
<country>United States of America</country>
</postal>
<email>sgundave@cisco.com</email>
</address>
</author>

<author initials="J" surname="Lee" fullname="Jong-Hyouk Lee">
<organization>Sangmyung University</organization>
<address>
<postal>
<street>31, Sangmyeongdae-gil, Dongnam-gu</street>
<city>Cheonan 31066</city>
<country>Republic of Korea</country>
</postal>
<email>jonghyouk@smu.ac.kr</email>
</address>
</author>

<author initials="Q.F" surname="Fu" fullname="Qiao Fu">
<organization>China Mobile</organization>
<address>
<postal>
<street>Xuanwumenxi Ave. No.32</street>
<city>Beijing</city>
<country>China</country>
</postal>
<email>fuqiao1@outlook.com</email>
</address>
</author>


<author initials="L" surname="Bertz" fullname="Lyle T. Bertz">
<organization>Sprint</organization>
<address>
<postal>
<street></street>
<city>Kansas</city>
<country>United States of America</country>
</postal>
<email>Lyle.T.Bertz@sprint.com</email>
</address>
</author>


<date month="August" year="2017" />
<area>Internet</area>
<workgroup>DMM WG</workgroup>

<abstract>
<t>
This specification defines a new extension, LMA&nbhy;Controlled&nbhy;MAG&nbhy;Session&nbhy;Params, to Proxy Mobile IPv6. This option can be used by the local mobility anchor (LMA) in a Proxy Mobile IPv6 domain for signaling a mobile access gateway (MAG) on enforcing specific values for various configuration parameters such as heartbeat and binding refresh parameters.
</t>
</abstract>

</front>


<middle>




<section anchor="sec:introduction" title="Introduction">
<t>

    A large Proxy Mobile IPv6 (PMIPv6) <xref target="RFC5213"></xref> deployment, such as residential deployment, can have tens of thousands of mobile access gateways (MAGs) spread across geographical locations. While it can be operationally challenging to manage such a large number of MAGs, it can also be very difficult to ensure configuration consistency across all the MAGs if they are not centrally managed. Configuring aggressive values of parameters such as re-registration timeout and heartbeat interval can potentially create considerable signaling load on the local mobility anchor (LMA).

This document provides a new option to enable the LMA to control various parameters on the MAG such as the re-registration frequency <xref target="RFC5213"></xref> and heartbeat frequency <xref target="RFC5847"></xref>. With this option, the configuration of these tunable parameters enforced centrally from the LMA enables Service Providers to have better control on the behavior of the MAGs with deterministic signaling load on the LMA.

</t>
</section>




<section anchor="sec:conventions_terminology" title="Conventions and Terminology">




<section anchor="sec:conventions" title="Conventions">
<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&nbsp;14 <xref target="RFC2119" /> <xref target="RFC8174" /> when, and only when, they
      appear in all capitals, as shown here.
</t>
</section> 

<section anchor="sec:terminology" title="Terminology">
<t>
All the terms used in this document are to be interpreted as defined in
<xref target="RFC5213"/>, <xref target="RFC5847"/>, and <xref target="RFC7563"/>.
</t>

</section> 
</section>




<section anchor="sec:extension" title="Protocol Extension">

<t>
The LMA-Controlled MAG Parameters (LCMPs) option is a mobility header option used to exchange information related to the parameters that an LMA enforces on a MAG. This option can be included only in the Proxy Binding Acknowledge (PBA) message, and there MUST NOT be more than a single instance of this mobility option in a given PBA message. This option MUST contain one or more LCMP sub-options. Each LCMP sub-option carries a specific configuration parameter.  The sub-options are defined in <xref target="sec:suboptions"></xref>.

The LCMP option has an alignment requirement of 4n+2 <xref target="RFC2460"/>.

<figure anchor="figure1" title="LMA-Controlled MAG Parameters Option">
<artwork>
<![CDATA[

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
                                +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                                |      Type     |   Length      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                     LCMP Sub-Option(s)                        ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

]]> 
</artwork>
</figure>

<list style="hanging">

<t hangText="Type"><vspace blankLines="1" />
MUST be set to the value of 62, indicating that it is an
LMA&nbhy;Controlled&nbhy;MAG&nbhy;Parameters option. 
</t>

<t hangText="Length"><vspace blankLines="1" />
8-bit unsigned integer indicating the length in octets of the option,
excluding the Type and Length fields. 
</t>

<t hangText="LCMP Sub-Option(s)"><vspace blankLines="1" />
LCMP sub-options are described in the sections below. The sub-options can be
present in any order. Inclusion of any specific sub-option is optional, but at
least one sub-option MUST be present. 
</t>

</list>
</t>

<section anchor="sec:suboptions" title="Format of the LCMP Sub-Options">

<t>
The LCMP sub-options are used for carrying information elements related to various parameters that need to be configured on the MAG. These sub-options can be included in the LCMP option defined in <xref target="sec:extension"></xref>.

The LCMP sub-options have an alignment requirement of 4n. The format of this sub-option is as follows.

<figure anchor="figure2" title="LMA-Controlled MAG Parameters Sub-Option">
<artwork>
<![CDATA[

 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   LCMP Type   | LCMP Length   |       Sub-Option Data         ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

]]> 
</artwork>
</figure>

<list style="hanging">

<t hangText="Type"><vspace blankLines="1" />
8-bit unsigned integer indicating the type of the LCMP sub-option. This specification defines the following types:
</t>

<t> 0 - Reserved </t>
<t> 1 - Binding Re-registration Control Sub-Option </t>
<t> 2 - Heartbeat Control Sub-Option </t>

<t hangText="Length"><vspace blankLines="1" />
8-bit unsigned integer indicating the number of octets needed to encode the Option Data, excluding the LCMP Type and LCMP Length fields of the sub-option.
</t>

</list>

</t>

<section anchor="sec:brcso" title="Binding Re-registration Control Sub-Option">
<t>
The Binding Re-registration Control Sub-Option is a mobility sub-option
carried in the LCMP mobility option defined in <xref
target="sec:extension"></xref>. This sub-option carries timer values related
to re-registration. There MUST be no more than a single instance of this
sub-option in the LCMP option. The format of this sub-option is defined
below. 

<figure anchor="figure3" title="Binding Re-registration Control Sub-Option">
<artwork>
<![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LCMP Type = 1 |  LCMP Length  |  Re-registration-Start-Time   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  Initial-Retransmission-Time  | Maximum-Retransmission-Time   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]> 
</artwork>
</figure>

<list style="hanging">

<t hangText="LCMP Type"><vspace blankLines="1" />
1 for the Binding Re-registration Control Sub-Option.
</t>

<t hangText="LCMP Length"><vspace blankLines="1" />
6
</t>

<t hangText="Re-registration-Start-Time"><vspace blankLines="1" />
16-bit unsigned integer indicating the number of time units before the expiry
of the PMIPv6 binding lifetime when the registration refresh process needs to
be activated. One time unit is 4 seconds.
</t>

<t hangText="Initial-Retransmission-Time"><vspace blankLines="1" />
16-bit unsigned integer indicating minimum delay in seconds before the first Proxy Binding Update (PBU) retransmission of the exponential backoff process.
</t>

<t hangText="Maximum-Retransmission-Time"><vspace blankLines="1" />
16-bit unsigned integer indicating maximum delay in seconds before the last PBU retransmission message of the exponential backoff process.
</t>

</list>

</t>
</section>

<section anchor="sec:hbcso" title="Heartbeat Control Sub-Option">
<t>

<figure anchor="figure4" title="Heartbeat Control Sub-Option">
<artwork>
<![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| LCMP Type = 2 |  LCMP Length  |        HB-Interval            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    HB-Retransmission-Delay    |    HB-Max-Retransmissions     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]> 
</artwork>
</figure>

<list style="hanging">

<t hangText="LCMP Type"><vspace blankLines="1" />
2 for the Heartbeat Control Sub-Option.
</t>

<t hangText="LCMP Length"><vspace blankLines="1" />
6
</t>

<t hangText="HB-Interval"><vspace blankLines="1" />
16-bit unsigned integer indicating the heartbeat interval, i.e., time delay in seconds after a successful heartbeat exchange (heartbeat request followed by response) when the next heartbeat exchange can be triggered.
</t>

<t hangText="HB-Retransmission-Delay"><vspace blankLines="1" />
16-bit unsigned integer indicating minimum time delay in seconds before a heartbeat message is retransmitted.
</t>

<t hangText="HB-Max-Retransmissions"><vspace blankLines="1" />
16-bit unsigned integer indicating maximum number of heartbeat retransmissions.
</t>

</list>

</t>

</section>

</section>
</section>



<section anchor="sec:configvars" title="Protocol Configuration Variables">

<section anchor="sec:lmaconfigvars" title="Local Mobility Anchor -- Configuration Variables">
<t>
This specification defines the following variables to be configured by the system management. The configured values for these protocol variables MUST survive server reboots and service restarts.

<list style="hanging">

<t hangText="EnableLCMPSubOptReregControl"><vspace blankLines="1" />
This flag indicates the operational state of the Binding Re&nbhy;registration Control Sub-Option support. The default value of this flag is (0), indicating that support for the Binding Re&nbhy;registration Control Sub-Option is disabled.
</t>

<t hangText="EnableLCMPSubOptHeartbeatControl"><vspace blankLines="1" />
This flag indicates the operational state of the Heartbeat Control Sub-Option support. The default value of this flag is (0), indicating that support for the Heartbeat Control Sub-Option is disabled.
</t>

</list>

The following variables MAY be defined at various granularities such as per binding, per cluster of bindings, per peering MAG, per cluster of peering MAGs, or any other custom grouping. Regardless of the granularity of this configuration, the LMA MUST be able to determine the value of these variables for every individual binding.

<list style="hanging">

<t hangText="LCMPReregistrationStartTime"><vspace blankLines="1" />
This variable is used to set the minimum time interval in number of seconds before the expiry of the PMIPv6 binding lifetime when the registration refresh process SHOULD be activated. The default value of this variable is 10 units, where each unit is 4 seconds.
</t>

<t hangText="LCMPInitialRetransmissionTime"><vspace blankLines="1" />
This variable is used to set the minimum delay in seconds before the first PBU retransmission of the exponential backoff process. This variable is the same as INITIAL_BINDACK_TIMEOUT mentioned in Section 6.9.4 of <xref target="RFC5213"/>. The default value of this variable is 1 second.
</t>

<t hangText="LCMPMaximumRetransmissionTime"><vspace blankLines="1" />
This variable is used to set the maximum delay in seconds before the last PBU retransmission message of the exponential backoff process. This variable is the same as MAX_BINDACK_TIMEOUT mentioned in Section 6.9.4 of <xref target="RFC5213"/>. The default value of this variable is 32 seconds.
</t>

<t hangText="LCMPHeartbeatInterval"><vspace blankLines="1" />
This variable is used to set the time delay in seconds after a successful heartbeat exchange (heartbeat request followed by response) when the next heartbeat exchange can be triggered. The default value of this variable is 60 seconds. The time delay SHOULD NOT be less than 30 seconds or more than 3600 seconds. The value of this variable MAY be derived from the variable HEARTBEAT_INTERVAL defined in Section 5 of <xref target="RFC5847"/> if configured on the LMA.
</t>

<t hangText="LCMPHeartbeatRetransmissionDelay"><vspace blankLines="1" />
This variable is used to set the minimum time delay in seconds before a heartbeat
message is retransmitted. The value of this variable SHOULD be less than LCMPHeartbeatInterval. The default value of this variable is 5 seconds.
</t>

<t hangText="LCMPHeartbeatMaxRetransmissions"><vspace blankLines="1" />
This variable is used to set the maximum number of heartbeat retransmissions. The default value of this variable is 3. The value of this variable MAY be derived from the variable MISSING_HEARTBEATS_ALLOWED defined in Section 5 of <xref target="RFC5847"/> if configured on the LMA.
</t>

</list>

</t>

</section>

</section>

<section anchor="sec:operation" title="Protocol Considerations">
<t>
The following considerations apply to the LMA and the MAG.
</t>
<t>
For supporting this extension, the conceptual Binding Cache Entry data structure maintained by the LMA, described in Section 5.1 of <xref target="RFC5213"/>, and the conceptual Binding Update List entry data structure maintained by the MAG, described in Section 6.1 of <xref target="RFC5213"/>, need to be extended to store the information elements related to the LCMP option that are defined below.
<list style="symbols">
<t> LCMPReregistrationStartTime </t>
<t> LCMPInitialRetransmissionTime </t>
<t> LCMPMaximumRetransmissionTime </t>
<t> LCMPHeartbeatInterval </t>
<t> LCMPHeartbeatRetransmissionDelay </t>
<t> LCMPHeartbeatMaxRetransmissions </t>
</list>
</t>

<section anchor="sec:lmacons" title="Local Mobility Anchor Considerations">
<t>
On receiving a PBU message <xref target="RFC5213"/> from a MAG, the LMA MUST check if the variable EnableLCMPSubOptReregControl is configured and set to (1). If yes, and if LCMPReregistrationStartTime, LCMPInitialRetransmissionTime, and LCMPMaximumRetransmissionTime are all set to NON_ZERO values, then it MUST include the Binding Re&nbhy;registration Control Sub-Option in the LCMP mobility option, which is in turn included in the PBA message. If the variable EnableLCMPSubOptReregControl is configured and set to (1), and if any of LCMPReregistrationStartTime, LCMPInitialRetransmissionTime, and LCMPMaximumRetransmissionTime is set to ZERO value, then the LMA MUST report a configuration error and reject the binding request by sending a PBA message with status code '128 - Reason Unspecified' <xref target="RFC5213"/>.
</t>
<t>
The LMA MUST also check if variable EnableLCMPSubOptHeartbeatControl is configured and set to (1). If yes, and if LCMPHeartbeatInterval, LCMPHeartbeatRetransmissionDelay, and LCMPHeartbeatMaxRetransmissions are all set to NON_ZERO values, then it MUST include the Heartbeat Control Sub-Option in the LCMP mobility option, which is in turn included in the PBA message. If the variable EnableLCMPSubOptHeartbeatControl is set to (1), and if any of LCMPHeartbeatInterval, LCMPHeartbeatRetransmissionDelay, and LCMPHeartbeatMaxRetransmissions is set to ZERO value, then the LMA MUST report a configuration error and reject the binding request by sending a PBA message with status code '128 - Reason Unspecified' <xref target="RFC5213"/>.
</t>
</section>

<section anchor="sec:magcons" title="Mobile Access Gateway Considerations">
<t>
If the PBA message <xref target="RFC5213"/> received from the LMA contains the
LCMP mobility option and the Binding Re-registration Control Sub-Option, then
the MAG MUST overwrite the timer parameters related to binding re-registration
that are configured locally on the MAG with the parameters received in the
Binding Re-registration Control Sub-Option. If any of the parameters in the
Binding Re-registration Control Sub-Option are ZERO, then the PBA message MUST
be ignored and an error message SHOULD be logged. 
</t>
<t>
Similarly, if the LCMP mobility option contains the Heartbeat Control
Sub-Option, then the MAG MUST overwrite the heartbeat-related timer parameters
configured locally on the MAG with the parameters received in the Heartbeat
Control Sub-Option. If any of the parameters in the Heartbeat Control
Sub-Option, except HB-Retransmission-Delay, are ZERO, then the PBA message
MUST be ignored and an error message SHOULD be logged. 
</t>
</section>

</section>

<section anchor="sec:iana" title="IANA Considerations">
<t>
IANA has updated the "Mobile IPv6 parameters" registry as described here.
</t>

<t>
<list style="symbols">
<t>
Action 1: This specification defines a new mobility header option,
"LMA-Controlled MAG Parameters". This
mobility option is described in <xref target="sec:extension"></xref>. The type
value 62 has been assigned for this option in the "Mobility Options" registry,
as defined in <xref target="RFC6275"/>.  
</t>

<t>
Action 2: This specification defines a new mobility sub-option format, the
LCMP sub-option. The format of this mobility sub-option is described in <xref
target="sec:suboptions"></xref>. This sub-option can be carried in the LCMP
option. The type values for this sub-option are managed by IANA, under
the "LMA-Controlled MAG Parameters Sub-Option Type Values" registry. Per this
document, IANA has reserved the following type values. Approval of new LCMP
sub-option type values are to be made through Expert Review <xref
target="RFC8126"/>. 

<figure><artwork>
   +---+-----------------------------------------------------+
   | 0 | Reserved                                            |
   +---+-----------------------------------------------------+
   | 1 | Binding Re-registration Control Sub-Option          |
   +---+-----------------------------------------------------+
   | 2 | Heartbeat Control Sub-Option                        |
   +---+-----------------------------------------------------+
</artwork></figure>
</t>
</list>
</t>
</section>

<section anchor="sec:secons" title="Security Considerations">
<t>
The LCMP option defined in this specification allows the configuration of re-registration and heartbeat frequencies. This option is defined for carrying it in Proxy Binding Update and Proxy
   Binding Acknowledgement messages.  This option is carried like any
   other mobility header option as specified and does not
   require any special security considerations.
</t>

</section>



</middle>

<back>

<references title="Normative References">
&rfc2119;
&rfc5213;
&rfc5847;
&rfc7563;
&rfc8174;
</references>


<references title="Informative References">
&rfc2460;
&rfc6275;
&rfc8126;

</references>

<section anchor="sec:ack" title="Acknowledgements"  numbered="no">
<t>
The authors would like to thank the DMM Working Group for all the comments and discussions on this document. The authors would also like to thank Suresh Krishnan, Ralph Droms, Mirja Kuhlewind, Alexey Melnikov, and Ben Campbell for their review feedback.</t>

<t>
The work of Jong-Hyouk Lee was supported by 'The Cross-Ministry Giga KOREA Project' grant from the Ministry of Science, ICT and Future Planning, Korea.
</t>
</section>

</back>
</rfc>
