Skip to main content

Definitions of Managed Objects for MAP-E
draft-ietf-softwire-map-mib-03

The information below is for an old version of the document.
Document Type
This is an older version of an Internet-Draft that was ultimately published as RFC 8389.
Authors Yu Fu , Sheng Jiang , Bing Liu , Jiang Dong , Yuchi Chen
Last updated 2014-12-15
Replaces draft-fu-softwire-map-mib
RFC stream Internet Engineering Task Force (IETF)
Formats
Reviews
Additional resources Mailing list discussion
Stream WG state WG Document
Document shepherd (None)
IESG IESG state Became RFC 8389 (Proposed Standard)
Consensus boilerplate Unknown
Telechat date (None)
Responsible AD (None)
Send notices to (None)
draft-ietf-softwire-map-mib-03
Internet Engineering Task Force                                    Y. Fu
Internet-Draft                                                  S. Jiang
Intended status: Standards Track                                  B. Liu
Expires: June 18, 2015                      Huawei Technologies Co., Ltd
                                                                 J. Dong
                                                                 Y. Chen
                                                     Tsinghua University
                                                       December 15, 2014

                Definitions of Managed Objects for MAP-E
                     draft-ietf-softwire-map-mib-03

Abstract

   This memo defines a portion of the Management Information Base (MIB)
   for using with network management protocols in the Internet
   community.  In particular, it defines managed objects for MAP
   encapsulation mode.

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 http://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 June 18, 2015.

Copyright Notice

   Copyright (c) 2014 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
   (http://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

Fu, et al.                Expires June 18, 2015                 [Page 1]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

   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.

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  The Internet-Standard Management Framework  . . . . . . . . .   3
   3.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   4.  Structure of the MIB Module . . . . . . . . . . . . . . . . .   3
     4.1.  The mapMIBObjects . . . . . . . . . . . . . . . . . . . .   3
       4.1.1.  The mapRule Subtree . . . . . . . . . . . . . . . . .   3
       4.1.2.  The mapSecurityCheck Subtree  . . . . . . . . . . . .   3
     4.2.  The mapMIBConformance Subtree . . . . . . . . . . . . . .   4
   5.  Definitions . . . . . . . . . . . . . . . . . . . . . . . . .   4
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  10
   7.  Security Considerations . . . . . . . . . . . . . . . . . . .  10
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  11
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .  11
     8.2.  Informative References  . . . . . . . . . . . . . . . . .  12
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  12

1.  Introduction

   MAP [I-D.ietf-softwire-map] is a stateless mechanism for running IPv4
   over IPv6-only infrastructure.  In particular, it includes two mode,
   translation mode or encapsulation mode.  For the encapsulation mode,
   it provides an automatic tunnelling mechanism for providing IPv4
   connectivity service to end users over a service provider's IPv6
   network

   This document defines a portion of the Management Information Base
   (MIB) for use with network management protocols in the Internet
   community.  This MIB module may be used for monitoring the devices in
   the MAP scenario, especially, for the encapsulation mode.

Fu, et al.                Expires June 18, 2015                 [Page 2]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

2.  The Internet-Standard Management Framework

   For a detailed overview of the documents that describe the current
   Internet-Standard Management Framework, please refer to section 7 of
   [RFC3410].

   Managed objects are accessed via a virtual information store, termed
   the Management Information Base or MIB.  MIB objects are generally
   accessed through the Simple Network Management Protocol (SNMP).
   Objects in the MIB are defined using the mechanisms defined in the
   Structure of Management Information (SMI).  This memo specifies a MIB
   module that is compliant to the SMIv2, which is described in
   [RFC2578], [RFC2579] and [RFC2580].

3.  Terminology

   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
   [RFC2119].

4.  Structure of the MIB Module

   The MAP-E MIB provides a way to configure and manage the devices in
   MAP encapsulation mode through SNMP.

   MAP-E MIB is configurable on a per-interface basis.  It depends on
   several parts of the IF-MIB[RFC2863].

4.1.  The mapMIBObjects

4.1.1.  The mapRule Subtree

   The mapRule subtree describes managed objects used for managing the
   multiple mapping rules in the MAP encapsulation mode.

   According to the MAP specification, the mapping rules are divided
   into two categories, which are BMR (Basic Mapping Rule), and FMR
   (Forwarding Mapping Rule).

4.1.2.  The mapSecurityCheck Subtree

   The mapSecurityCheck subtree is to statistic the number of invalid
   packets that been identified.  There are two kind of invalid packets
   which are defined in the MAP specification as the following.

   - The BR MUST perform a validation of the consistency of the source
   IPv6 address and source port number for the packet using BMR.

Fu, et al.                Expires June 18, 2015                 [Page 3]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

   - The CE SHOULD check that MAP received packets' transport-layer
   destination port number is in the range configured by MAP for the CE.

4.2.  The mapMIBConformance Subtree

   The mapMIBConformance subtree provides conformance information of MIB
   objects.

5.  Definitions

      MAP-E-MIB DEFINITIONS  ::=  BEGIN

      IMPORTS
         MODULE-IDENTITY, OBJECT-TYPE, transmission,
         Integer32, Counter64
            FROM SNMPv2-SMI
         ifIndex
            FROM IF-MIB
         InetAddressType, InetAddress,
         InetPortNumber, InetAddressPrefixLength
            FROM INET-ADDRESS-MIB
         OBJECT-GROUP, MODULE-COMPLIANCE
            FROM SNMPv2-CONF;

      mapMIB MODULE-IDENTITY
      LAST-UPDATED "201412150000Z" - December 15, 2014
      ORGANIZATION "IETF Softwire Working Group"
      CONTACT-INFO
         "Yu Fu
          Huawei Technologies Co., Ltd
          Huawei Building, 156 Beiqing Rd., Hai-Dian District
          Beijing, P.R. China 100095
          EMail: eleven.fuyu@huawei.com

          Sheng Jiang
          Huawei Technologies Co., Ltd
          Huawei Building, 156 Beiqing Rd., Hai-Dian District
          Beijing, P.R. China 100095
          EMail: jiangsheng@huawei.com

          Bing Liu
          Huawei Technologies Co., Ltd
          Huawei Building, 156 Beiqing Rd., Hai-Dian District
          Beijing, P.R. China 100095
          EMail: leo.liubing@huawei.com

          Jiang Dong
          Tsinghua University

Fu, et al.                Expires June 18, 2015                 [Page 4]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

          Department of Computer Science, Tsinghua University
          Beijing  100084
          P.R. China
          Email: knight.dongjiang@gmail.com

          Yuchi Chen
          Tsinghua University
          Department of Computer Science, Tsinghua University
          Beijing  100084
          P.R. China
          Email: chenycmx@gmail.com"

      DESCRIPTION
         "The MIB module is defined for management of objects in the
         MAP-E BRs or CEs."
      REVISION    "201412150000Z"
      DESCRIPTION
        "Initial version. Published as RFC xxxx."
      --RFC Ed.: RFC-edtitor pls fill in xxxx
       ::=  {  transmission xxx  }
      --xxx to be replaced withIANA-assigned value

      mapMIBObjects OBJECT IDENTIFIER ::= {mapMIB 1}

      mapRule   OBJECT IDENTIFIER
         ::=  { mapMIBObjects 1 }

      mapSecurityCheck   OBJECT IDENTIFIER
         ::=  { mapMIBObjects 2 }

      mapRuleTable OBJECT-TYPE
         SYNTAX     SEQUENCE OF MapRuleEntry
         MAX-ACCESS  not-accessible
         STATUS     current
         DESCRIPTION
            "The (conceptual) table containing rule Information of
             specific mapping rule. It can also be used for row
             creation."
         ::=  { mapRule 1 }

      mapRuleEntry OBJECT-TYPE
         SYNTAX     MapRuleEntry
         MAX-ACCESS  not-accessible
         STATUS     current
         DESCRIPTION
            "Each entry in this table contains the information on a
             particular mapping rule."
             INDEX   { mapRuleID }

Fu, et al.                Expires June 18, 2015                 [Page 5]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

         ::=  { mapRuleTable 1 }

      MapRuleEntry  ::=
         SEQUENCE {
          mapRuleID                   Integer32,
          mapRuleIPv6PrefixType       InetAddressType,
          mapRuleIPv6Prefix           InetAddress,
          mapRuleIPv6PrefixLen        InetAddressPrefixLength,
          mapRuleIPv4PrefixType       InetAddressType,
          mapRuleIPv4Prefix           InetAddress,
          mapRuleIPv4PrefixLen        InetAddressPrefixLength,
          mapRuleStartPort            InetPortNumber,
          mapRuleEndPort              InetPortNumber,
          mapRuleEALen                Integer32,
          mapRuleType                 Integer32
      }

      mapRuleID OBJECT-TYPE
          SYNTAX Integer32 (1..2147483647)
          MAX-ACCESS not-accessible
          STATUS current
          DESCRIPTION
             "An identifier used to distinguish the multiple mapping
              rule which is unique with each CE in the same BR."
          ::= { mapRuleEntry 1 }

      mapRuleIPv6PrefixType OBJECT-TYPE
          SYNTAX     InetAddressType
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             "In this object, it MUST be set to the value of 2 to
              present IPv6 type. It complies the textule convention
              of IPv6 address defined in [RFC4001]."
          ::= { mapRuleEntry 2 }

      mapRuleIPv6Prefix OBJECT-TYPE
          SYNTAX     InetAddress
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             "The IPv6 prefix defined in mapping rule which will be
              assigned to CE ."
          ::= { mapRuleEntry 3 }

      mapRuleIPv6PrefixLen OBJECT-TYPE
          SYNTAX     InetAddressPrefixLength
          MAX-ACCESS read-create

Fu, et al.                Expires June 18, 2015                 [Page 6]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

          STATUS     current
          DESCRIPTION
             "The length of the IPv6 prefix defined in the mapping rule.
              As a parameter for mapping rule, it will be also assigned
              to CE."
          ::= { mapRuleEntry 4 }

      mapRuleIPv4PrefixType OBJECT-TYPE
          SYNTAX     InetAddressType
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             "In this object, it MUST be set to the value of 1 to
              present IPv4 type. It complies the textual convention
              of IPv6 address defined in [RFC4001]."
          ::= { mapRuleEntry 5 }

      mapRuleIPv4Prefix OBJECT-TYPE
          SYNTAX     InetAddress
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             " The IPv4 prefix defined in mapping rule which will be
              assigned to CE."
          ::= { mapRuleEntry 6 }

      mapRuleIPv4PrefixLen OBJECT-TYPE
          SYNTAX     InetAddressPrefixLength
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             "The length of the IPv4 prefix defined in the mapping
              rule. As a parameter for mapping rule, it will be also
              assigned to CE."
          ::= { mapRuleEntry 7 }

      mapRuleStartPort OBJECT-TYPE
          SYNTAX     InetPortNumber
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             "The start port number of the port range derived
              from the mapping rule which will be assigned to CE."
          ::= { mapRuleEntry 8 }

      mapRuleEndPort OBJECT-TYPE
          SYNTAX     InetPortNumber
          MAX-ACCESS read-create

Fu, et al.                Expires June 18, 2015                 [Page 7]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

          STATUS     current
          DESCRIPTION
             " The end port number of the port range derived
              from the mapping rule which will be assigned to CE."
          ::= { mapRuleEntry 9 }

      mapRuleEALen OBJECT-TYPE
          SYNTAX     Integer32
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             "The length of the Embedded-Address (EA) defined in
              mapping rule which will be assigned to CE."
          ::= { mapRuleEntry 10 }

      mapRuleType OBJECT-TYPE
          SYNTAX     Integer32
          MAX-ACCESS read-create
          STATUS     current
          DESCRIPTION
             "The type of the mapping rule. A value of 0 means it
              is a BMR; a non-zero value means it is a FMR."
          ::= { mapRuleEntry 11 }

      mapSecurityCheckTable OBJECT-TYPE
         SYNTAX     SEQUENCE OF MapSecurityCheckEntry
         MAX-ACCESS  not-accessible
         STATUS     current
         DESCRIPTION
            "The (conceptual) table containing information on
             MAP security checks. This table can be used to statistic
             the number of invalid packets that been identified"
         ::=  { mapSecurityCheck 1 }

      mapSecurityCheckEntry OBJECT-TYPE
         SYNTAX     MapSecurityCheckEntry
         MAX-ACCESS  not-accessible
         STATUS     current
         DESCRIPTION
            "Each entry in this table contains the information on a
             particular MAP SecurityCheck."
             INDEX   { ifIndex }
         ::=  { mapSecurityCheckTable 1 }

      MapSecurityCheckEntry  ::=
         SEQUENCE {
          mapSecurityCheckInvalidv4       Counter64,
          mapSecurityCheckInvalidv6       Counter64

Fu, et al.                Expires June 18, 2015                 [Page 8]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

      }

      mapSecurityCheckInvalidv4 OBJECT-TYPE
          SYNTAX     Counter64
          MAX-ACCESS accessible-for-notify
          STATUS     current
          DESCRIPTION
             "The CE SHOULD check that MAP received packets'
              transport-layer destination port number is in the range
              configured by MAP for the CE. So this object indicate
              the number of the invalid IPv4 packets received by the
              MAP."
          ::= { mapSecurityCheckEntry 1 }

      mapSecurityCheckInvalidv6 OBJECT-TYPE
          SYNTAX     Counter64
          MAX-ACCESS accessible-for-notify
          STATUS     current
          DESCRIPTION
             "The BR MUST perform a validation of the consistency of
              the source IPv6 address and source port number for the
              packet using BMR. So this object indicate the number of
              the invalid IPv6 packets received by the BR."
          ::= { mapSecurityCheckEntry 2 }

      -- Conformance Information
      mapMIBConformance OBJECT IDENTIFIER ::= {mapMIB 2}
      mapMIBCompliances OBJECT IDENTIFIER ::= { mapMIBConformance 1 }
      mapMIBGroups OBJECT IDENTIFIER ::= { mapMIBConformance 2 }

      -- compliance statements
      mapMIBCompliance MODULE-COMPLIANCE
         STATUS current
         DESCRIPTION
            " Describes the minimal requirements for conformance
              to the MAP-E MIB."
         MODULE -- this module
             MANDATORY-GROUPS { mapMIBRuleGroup , mapMIBSecurityGroup }
        ::= { mapMIBCompliances 1 }

      -- Units of Conformance
      mapMIBRuleGroup OBJECT-GROUP
         OBJECTS {
                 mapRuleIPv6PrefixType,
                 mapRuleIPv6Prefix,
                 mapRuleIPv6PrefixLen,
                 mapRuleIPv4PrefixType,
                 mapRuleIPv4Prefix,

Fu, et al.                Expires June 18, 2015                 [Page 9]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

                 mapRuleIPv4PrefixLen,
                 mapRuleStartPort,
                 mapRuleEndPort, mapRuleEALen,
                 mapRuleType  }
         STATUS current
         DESCRIPTION
            " The collection of this objects are used to give the
             information of mapping rules in MAP-E."
         ::= { mapMIBGroups 1 }

     mapMIBSecurityGroup OBJECT-GROUP
        OBJECTS {
           mapSecurityCheckInvalidv4,
           mapSecurityCheckInvalidv6 }
       STATUS current
       DESCRIPTION
       " The collection of this objects are used to give the
       information on MAP security checks."
       ::= { mapMIBGroups 2 }

       END

6.  IANA Considerations

   The MIB module in this document uses the following IANA-assigned
   OBJECT IDENTIFIER values recorded in the SMI Numbers registry:

         Descriptor        OBJECT IDENTIFIER value
         ----------        -----------------------
         MAP-E-MIB          { transmission XXX }

7.  Security Considerations

   The MAP-E MIB module can be used for configuration of certain
   objects, and anything that can be configured can be incorrectly
   configured, with potentially disastrous results.  Because this MIB
   module reuses the IP tunnel MIB, the security considerations for
   these MIBs are also applicable to the MAP-E MIB.

   SNMP versions prior to SNMPv3 did not include adequate security.
   Even if the network itself is secure (for example by using IPSec),
   even then, there is no control as to who on the secure network is
   allowed to access and GET/SET (read/change/create/delete) the objects
   in this MIB module.

   It is RECOMMENDED that implementers consider the security features as
   provided by the SNMPv3 framework (see [RFC3410] [RFC3410], section

Fu, et al.                Expires June 18, 2015                [Page 10]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

   8), including full support for the SNMPv3 cryptographic mechanisms
   (for authentication and privacy).

   Further, deployment of SNMP versions prior to SNMPv3 is NOT
   RECOMMENDED.  Instead, it is RECOMMENDED to deploy SNMPv3 and to
   enable cryptographic security.  It is then a customer/operator
   responsibility to ensure that the SNMP entity giving access to an
   instance of this MIB module is properly configured to give access to
   the objects only to those principals (users) that have legitimate
   rights to indeed GET or SET (change/create/delete) them.

8.  References

8.1.  Normative References

   [I-D.ietf-softwire-map]
              Troan, O., Dec, W., Li, X., Bao, C., Matsushima, S.,
              Murakami, T., and T. Taylor, "Mapping of Address and Port
              with Encapsulation (MAP)", draft-ietf-softwire-map-12
              (work in progress), November 2014.

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC2578]  McCloghrie, K., Ed., Perkins, D., Ed., and J.
              Schoenwaelder, Ed., "Structure of Management Information
              Version 2 (SMIv2)", STD 58, RFC 2578, April 1999.

   [RFC2580]  McCloghrie, K., Perkins, D., and J. Schoenwaelder,
              "Conformance Statements for SMIv2", STD 58, RFC 2580,
              April 1999.

   [RFC2863]  McCloghrie, K. and F. Kastenholz, "The Interfaces Group
              MIB", RFC 2863, June 2000.

   [RFC3411]  Harrington, D., Presuhn, R., and B. Wijnen, "An
              Architecture for Describing Simple Network Management
              Protocol (SNMP) Management Frameworks", STD 62, RFC 3411,
              December 2002.

   [RFC4001]  Daniele, M., Haberman, B., Routhier, S., and J.
              Schoenwaelder, "Textual Conventions for Internet Network
              Addresses", RFC 4001, February 2005.

   [RFC4087]  Thaler, D., "IP Tunnel MIB", RFC 4087, June 2005.

Fu, et al.                Expires June 18, 2015                [Page 11]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

8.2.  Informative References

   [RFC2579]  McCloghrie, K., Ed., Perkins, D., Ed., and J.
              Schoenwaelder, Ed., "Textual Conventions for SMIv2", STD
              58, RFC 2579, April 1999.

   [RFC2629]  Rose, M., "Writing I-Ds and RFCs using XML", RFC 2629,
              June 1999.

   [RFC3410]  Case, J., Mundy, R., Partain, D., and B. Stewart,
              "Introduction and Applicability Statements for Internet-
              Standard Management Framework", RFC 3410, December 2002.

Authors' Addresses

   Yu Fu
   Huawei Technologies Co., Ltd
   Q14, Huawei Campus, No.156 Beiqing Road
   Hai-Dian District, Beijing, 100095
   P.R. China
   Email: eleven.fuyu@huawei.com

   Sheng Jiang
   Huawei Technologies Co., Ltd
   Q14, Huawei Campus, No.156 Beiqing Road
   Hai-Dian District, Beijing, 100095
   P.R. China
   Email: jiangsheng@huawei.com

   Bing Liu
   Huawei Technologies Co., Ltd
   Q14, Huawei Campus, No.156 Beiqing Road
   Hai-Dian District, Beijing, 100095
   P.R. China
   Email: leo.liubing@huawei.com

Fu, et al.                Expires June 18, 2015                [Page 12]
Internet-Draft       draft-ietf-softwire-map-mib-03        December 2014

   Jiang Dong
   Tsinghua University
   Department of Computer Science, Tsinghua University
   Beijing  100084
   P.R. China
   Email: knight.dongjiang@gmail.com

   Yuchi Chen
   Tsinghua University
   Department of Computer Science, Tsinghua University
   Beijing  100084
   P.R. China
   Email: flashfoxmx@gmail.com

Fu, et al.                Expires June 18, 2015                [Page 13]