TUNNEL-MIB

The MIB module for management of IP Tunnels, independent of the specific encapsulation scheme in use. Copyright (C) The Interne...

  • Version: 2005-05-16

    TUNNEL-MIB@2005-05-16


    
      module TUNNEL-MIB {
    
        yang-version 1;
    
        namespace
          "urn:ietf:params:xml:ns:yang:smiv2:TUNNEL-MIB";
    
        prefix TUNNEL-MIB;
    
        import IANAifType-MIB {
          prefix ianaiftype-mib;
        }
        import IF-MIB {
          prefix if-mib;
        }
        import INET-ADDRESS-MIB {
          prefix inet-address;
        }
        import SNMPv2-TC {
          prefix snmpv2-tc;
        }
        import ietf-inet-types {
          prefix inet;
        }
        import ietf-yang-smiv2 {
          prefix smiv2;
        }
    
        organization
          "IETF IP Version 6 (IPv6) Working Group";
    
        contact
          " Dave Thaler
        Microsoft Corporation
        One Microsoft Way
        Redmond, WA  98052-6399
        EMail: dthaler@microsoft.com";
    
        description
          "The MIB module for management of IP Tunnels,
        independent of the specific encapsulation scheme in
        use.
        
        Copyright (C) The Internet Society (2005).  This
        version of this MIB module is part of RFC 4087;  see
        the RFC itself for full legal notices.";
    
        revision "2005-05-16" {
          description
            "IPv4-specific objects were deprecated, including
          tunnelIfLocalAddress, tunnelIfRemoteAddress, the
          tunnelConfigTable, and the tunnelMIBBasicGroup.
          
          Added IP version-agnostic objects that should be used
          instead, including tunnelIfAddressType,
          tunnelIfLocalInetAddress, tunnelIfRemoteInetAddress,
          the tunnelInetConfigTable, and the
          tunnelIMIBInetGroup.
          
          The new tunnelIfLocalInetAddress and
          tunnelIfRemoteInetAddress objects are read-write,
          rather than read-only.
          
          Updated DESCRIPTION clauses of existing version-
          agnostic objects (e.g., tunnelIfTOS) that contained
          IPv4-specific text to cover IPv6 as well.
          
          Added tunnelIfFlowLabel for tunnels over IPv6.
          
          The encapsulation method was previously an INTEGER
          type, and is now an IANA-maintained textual
          convention.
          
          Published as RFC 4087.";
        }
    
        revision "1999-08-24" {
          description
            "Initial version, published as RFC 2667.";
        }
    
        smiv2:alias "tunnelMIB" {
          smiv2:oid "1.3.6.1.2.1.10.131";
        }
        smiv2:alias "tunnelMIBObjects" {
          smiv2:oid "1.3.6.1.2.1.10.131.1";
        }
        smiv2:alias "tunnel" {
          smiv2:oid "1.3.6.1.2.1.10.131.1.1";
        }
        smiv2:alias "tunnelMIBConformance" {
          smiv2:oid "1.3.6.1.2.1.10.131.2";
        }
        smiv2:alias "tunnelMIBCompliances" {
          smiv2:oid "1.3.6.1.2.1.10.131.2.1";
        }
        smiv2:alias "tunnelMIBGroups" {
          smiv2:oid "1.3.6.1.2.1.10.131.2.2";
        }
    
        container TUNNEL-MIB {
          config false;
          container tunnelIfTable {
            smiv2:oid "1.3.6.1.2.1.10.131.1.1.1";
            description
              "The (conceptual) table containing information on
            configured tunnels.";
            list tunnelIfEntry {
              smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1";
              key "ifIndex";
              description
                "An entry (conceptual row) containing the information
              on a particular configured tunnel.";
              leaf ifIndex {
                type leafref {
                  path "/if-mib:IF-MIB/if-mib:ifTable/if-mib:ifEntry/if-mib:ifIndex";
                }
              }
    
              leaf tunnelIfLocalAddress {
                smiv2:max-access "read-only";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.1";
                type inet:ipv4-address;
                status deprecated;
                description
                  "The address of the local endpoint of the tunnel
                (i.e., the source address used in the outer IP
                header), or 0.0.0.0 if unknown or if the tunnel is
                over IPv6.
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelIfLocalInetAddress.";
              }
    
              leaf tunnelIfRemoteAddress {
                smiv2:max-access "read-only";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.2";
                type inet:ipv4-address;
                status deprecated;
                description
                  "The address of the remote endpoint of the tunnel
                (i.e., the destination address used in the outer IP
                header), or 0.0.0.0 if unknown, or an IPv6 address, or
                
                the tunnel is not a point-to-point link (e.g., if it
                is a 6to4 tunnel).
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelIfRemoteInetAddress.";
              }
    
              leaf tunnelIfEncapsMethod {
                smiv2:max-access "read-only";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.3";
                type ianaiftype-mib:IANAtunnelType;
                description
                  "The encapsulation method used by the tunnel.";
              }
    
              leaf tunnelIfHopLimit {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.4";
                type int32 {
                  range "0..255";
                }
                description
                  "The IPv4 TTL or IPv6 Hop Limit to use in the outer IP
                header.  A value of 0 indicates that the value is
                copied from the payload's header.";
              }
    
              leaf tunnelIfSecurity {
                smiv2:max-access "read-only";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.5";
                type enumeration {
                  enum "none" {
                    value 1;
                  }
                  enum "ipsec" {
                    value 2;
                  }
                  enum "other" {
                    value 3;
                  }
                }
                description
                  "The method used by the tunnel to secure the outer IP
                header.  The value ipsec indicates that IPsec is used
                between the tunnel endpoints for authentication or
                encryption or both.  More specific security-related
                information may be available in a MIB module for the
                security protocol in use.";
              }
    
              leaf tunnelIfTOS {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.6";
                type int32 {
                  range "-2..63";
                }
                description
                  "The method used to set the high 6 bits (the
                
                differentiated services codepoint) of the IPv4 TOS or
                IPv6 Traffic Class in the outer IP header.  A value of
                -1 indicates that the bits are copied from the
                payload's header.  A value of -2 indicates that a
                traffic conditioner is invoked and more information
                may be available in a traffic conditioner MIB module.
                A value between 0 and 63 inclusive indicates that the
                bit field is set to the indicated value.
                
                Note: instead of the name tunnelIfTOS, a better name
                would have been tunnelIfDSCPMethod, but the existing
                name appeared in RFC 2667 and existing objects cannot
                be renamed.";
              }
    
              leaf tunnelIfFlowLabel {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.7";
                type int32 {
                  range "-1..100";
                }
                description
                  "The method used to set the IPv6 Flow Label value.
                This object need not be present in rows where
                tunnelIfAddressType indicates the tunnel is not over
                IPv6.  A value of -1 indicates that a traffic
                conditioner is invoked and more information may be
                available in a traffic conditioner MIB.  Any other
                value indicates that the Flow Label field is set to
                the indicated value.";
              }
    
              leaf tunnelIfAddressType {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.8";
                type inet-address:InetAddressType;
                description
                  "The type of address in the corresponding
                tunnelIfLocalInetAddress and tunnelIfRemoteInetAddress
                objects.";
              }
    
              leaf tunnelIfLocalInetAddress {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.9";
                type inet-address:InetAddress;
                description
                  "The address of the local endpoint of the tunnel
                (i.e., the source address used in the outer IP
                header).  If the address is unknown, the value is
                
                0.0.0.0 for IPv4 or :: for IPv6.  The type of this
                object is given by tunnelIfAddressType.";
              }
    
              leaf tunnelIfRemoteInetAddress {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.10";
                type inet-address:InetAddress;
                description
                  "The address of the remote endpoint of the tunnel
                (i.e., the destination address used in the outer IP
                header).  If the address is unknown or the tunnel is
                not a point-to-point link (e.g., if it is a 6to4
                tunnel), the value is 0.0.0.0 for tunnels over IPv4 or
                :: for tunnels over IPv6.  The type of this object is
                given by tunnelIfAddressType.";
              }
    
              leaf tunnelIfEncapsLimit {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.1.1.11";
                type int32 {
                  range "-1..255";
                }
                description
                  "The maximum number of additional encapsulations
                permitted for packets undergoing encapsulation at this
                node.  A value of -1 indicates that no limit is
                present (except as a result of the packet size).";
                reference
                  "RFC 2473, section 4.1.1";
    
              }
            }  // list tunnelIfEntry
          }  // container tunnelIfTable
    
          container tunnelConfigTable {
            smiv2:oid "1.3.6.1.2.1.10.131.1.1.2";
            status deprecated;
            description
              "The (conceptual) table containing information on
            configured tunnels.  This table can be used to map a
            set of tunnel endpoints to the associated ifIndex
            value.  It can also be used for row creation.  Note
            that every row in the tunnelIfTable with a fixed IPv4
            destination address should have a corresponding row in
            the tunnelConfigTable, regardless of whether it was
            created via SNMP.
            
            Since this table does not support IPv6, it is
            deprecated in favor of tunnelInetConfigTable.";
            list tunnelConfigEntry {
              smiv2:oid "1.3.6.1.2.1.10.131.1.1.2.1";
              key "tunnelConfigLocalAddress tunnelConfigRemoteAddress tunnelConfigEncapsMethod tunnelConfigID";
              status deprecated;
              description
                "An entry (conceptual row) containing the information
              on a particular configured tunnel.
              
              Since this entry does not support IPv6, it is
              deprecated in favor of tunnelInetConfigEntry.";
              leaf tunnelConfigLocalAddress {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.2.1.1";
                type inet:ipv4-address;
                status deprecated;
                description
                  "The address of the local endpoint of the tunnel, or
                0.0.0.0 if the device is free to choose any of its
                addresses at tunnel establishment time.
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelInetConfigLocalAddress.";
              }
    
              leaf tunnelConfigRemoteAddress {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.2.1.2";
                type inet:ipv4-address;
                status deprecated;
                description
                  "The address of the remote endpoint of the tunnel.
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelInetConfigRemoteAddress.";
              }
    
              leaf tunnelConfigEncapsMethod {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.2.1.3";
                type ianaiftype-mib:IANAtunnelType;
                status deprecated;
                description
                  "The encapsulation method used by the tunnel.
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelInetConfigEncapsMethod.";
              }
    
              leaf tunnelConfigID {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.2.1.4";
                type int32 {
                  range "1..2147483647";
                }
                status deprecated;
                description
                  "An identifier used to distinguish between multiple
                tunnels of the same encapsulation method, with the
                same endpoints.  If the encapsulation protocol only
                allows one tunnel per set of endpoint addresses (such
                as for GRE or IP-in-IP), the value of this object is
                1.  For encapsulation methods (such as L2F) which
                allow multiple parallel tunnels, the manager is
                responsible for choosing any ID which does not
                conflict with an existing row, such as choosing a
                random number.
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelInetConfigID.";
              }
    
              leaf tunnelConfigIfIndex {
                smiv2:max-access "read-only";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.2.1.5";
                type if-mib:InterfaceIndexOrZero;
                status deprecated;
                description
                  "If the value of tunnelConfigStatus for this row is
                active, then this object contains the value of ifIndex
                corresponding to the tunnel interface.  A value of 0
                is not legal in the active state, and means that the
                interface index has not yet been assigned.
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelInetConfigIfIndex.";
              }
    
              leaf tunnelConfigStatus {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.2.1.6";
                type snmpv2-tc:RowStatus;
                status deprecated;
                description
                  "The status of this row, by which new entries may be
                created, or old entries deleted from this table.  The
                agent need not support setting this object to
                createAndWait or notInService since there are no other
                writable objects in this table, and writable objects
                in rows of corresponding tables such as the
                tunnelIfTable may be modified while this row is
                active.
                
                To create a row in this table for an encapsulation
                method which does not support multiple parallel
                tunnels with the same endpoints, the management
                station should simply use a tunnelConfigID of 1, and
                set tunnelConfigStatus to createAndGo.  For
                encapsulation methods such as L2F which allow multiple
                parallel tunnels, the management station may select a
                pseudo-random number to use as the tunnelConfigID and
                set tunnelConfigStatus to createAndGo.  In the event
                that this ID is already in use and an
                inconsistentValue is returned in response to the set
                operation, the management station should simply select
                a new pseudo-random number and retry the operation.
                
                Creating a row in this table will cause an interface
                index to be assigned by the agent in an
                implementation-dependent manner, and corresponding
                rows will be instantiated in the ifTable and the
                tunnelIfTable.  The status of this row will become
                active as soon as the agent assigns the interface
                index, regardless of whether the interface is
                operationally up.
                
                Deleting a row in this table will likewise delete the
                corresponding row in the ifTable and in the
                tunnelIfTable.
                
                Since this object does not support IPv6, it is
                deprecated in favor of tunnelInetConfigStatus.";
              }
            }  // list tunnelConfigEntry
          }  // container tunnelConfigTable
    
          container tunnelInetConfigTable {
            smiv2:oid "1.3.6.1.2.1.10.131.1.1.3";
            description
              "The (conceptual) table containing information on
            configured tunnels.  This table can be used to map a
            set of tunnel endpoints to the associated ifIndex
            value.  It can also be used for row creation.  Note
            that every row in the tunnelIfTable with a fixed
            destination address should have a corresponding row in
            the tunnelInetConfigTable, regardless of whether it
            was created via SNMP.";
            list tunnelInetConfigEntry {
              smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1";
              key "tunnelInetConfigAddressType tunnelInetConfigLocalAddress tunnelInetConfigRemoteAddress tunnelInetConfigEncapsMethod tunnelInetConfigID";
              description
                "An entry (conceptual row) containing the information
              on a particular configured tunnel.  Note that there is
              a 128 subid maximum for object OIDs.  Implementers
              need to be aware that if the total number of octets in
              tunnelInetConfigLocalAddress and
              tunnelInetConfigRemoteAddress exceeds 110 then OIDs of
              column instances in this table will have more than 128
              sub-identifiers and cannot be accessed using SNMPv1,
              SNMPv2c, or SNMPv3.  In practice this is not expected
              to be a problem since IPv4 and IPv6 addresses will not
              cause the limit to be reached, but if other types are
              supported by an agent, care must be taken to ensure
              that the sum of the lengths do not cause the limit to
              be exceeded.";
              leaf tunnelInetConfigAddressType {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.1";
                type inet-address:InetAddressType;
                description
                  "The address type over which the tunnel encapsulates
                packets.";
              }
    
              leaf tunnelInetConfigLocalAddress {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.2";
                type inet-address:InetAddress;
                description
                  "The address of the local endpoint of the tunnel, or
                0.0.0.0 (for IPv4) or :: (for IPv6) if the device is
                free to choose any of its addresses at tunnel
                establishment time.";
              }
    
              leaf tunnelInetConfigRemoteAddress {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.3";
                type inet-address:InetAddress;
                description
                  "The address of the remote endpoint of the tunnel.";
              }
    
              leaf tunnelInetConfigEncapsMethod {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.4";
                type ianaiftype-mib:IANAtunnelType;
                description
                  "The encapsulation method used by the tunnel.";
              }
    
              leaf tunnelInetConfigID {
                smiv2:max-access "not-accessible";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.5";
                type int32 {
                  range "1..2147483647";
                }
                description
                  "An identifier used to distinguish between multiple
                tunnels of the same encapsulation method, with the
                same endpoints.  If the encapsulation protocol only
                allows one tunnel per set of endpoint addresses (such
                as for GRE or IP-in-IP), the value of this object is
                1.  For encapsulation methods (such as L2F) which
                allow multiple parallel tunnels, the manager is
                responsible for choosing any ID which does not
                
                conflict with an existing row, such as choosing a
                random number.";
              }
    
              leaf tunnelInetConfigIfIndex {
                smiv2:max-access "read-only";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.6";
                type if-mib:InterfaceIndexOrZero;
                description
                  "If the value of tunnelInetConfigStatus for this row
                is active, then this object contains the value of
                ifIndex corresponding to the tunnel interface.  A
                value of 0 is not legal in the active state, and means
                that the interface index has not yet been assigned.";
              }
    
              leaf tunnelInetConfigStatus {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.7";
                type snmpv2-tc:RowStatus;
                description
                  "The status of this row, by which new entries may be
                created, or old entries deleted from this table.  The
                agent need not support setting this object to
                createAndWait or notInService since there are no other
                writable objects in this table, and writable objects
                in rows of corresponding tables such as the
                tunnelIfTable may be modified while this row is
                active.
                
                To create a row in this table for an encapsulation
                method which does not support multiple parallel
                tunnels with the same endpoints, the management
                station should simply use a tunnelInetConfigID of 1,
                and set tunnelInetConfigStatus to createAndGo.  For
                encapsulation methods such as L2F which allow multiple
                parallel tunnels, the management station may select a
                pseudo-random number to use as the tunnelInetConfigID
                and set tunnelInetConfigStatus to createAndGo.  In the
                event that this ID is already in use and an
                inconsistentValue is returned in response to the set
                operation, the management station should simply select
                a new pseudo-random number and retry the operation.
                
                Creating a row in this table will cause an interface
                index to be assigned by the agent in an
                implementation-dependent manner, and corresponding
                rows will be instantiated in the ifTable and the
                
                tunnelIfTable.  The status of this row will become
                active as soon as the agent assigns the interface
                index, regardless of whether the interface is
                operationally up.
                
                Deleting a row in this table will likewise delete the
                corresponding row in the ifTable and in the
                tunnelIfTable.";
              }
    
              leaf tunnelInetConfigStorageType {
                smiv2:max-access "read-write";
                smiv2:oid "1.3.6.1.2.1.10.131.1.1.3.1.8";
                type snmpv2-tc:StorageType;
                description
                  "The storage type of this row.  If the row is
                permanent(4), no objects in the row need be writable.";
              }
            }  // list tunnelInetConfigEntry
          }  // container tunnelInetConfigTable
        }  // container TUNNEL-MIB
      }  // module TUNNEL-MIB
    

© 2023 YumaWorks, Inc. All rights reserved.