Blame test/dumps/yang/IF-MIB

Packit 022b05
/*
Packit 022b05
 * This module has been generated by smidump 0.4.8:
Packit 022b05
 *
Packit 022b05
 *      smidump -f yang IF-MIB
Packit 022b05
 *
Packit 022b05
 * Do not edit. Edit the source file instead!
Packit 022b05
 */
Packit 022b05
Packit 022b05
module IF-MIB {
Packit 022b05
Packit 022b05
  /*** NAMESPACE / PREFIX DEFINITION ***/
Packit 022b05
Packit 022b05
  namespace "urn:ietf:params:xml:ns:yang:smiv2:IF-MIB";
Packit 022b05
  prefix "if-mib";
Packit 022b05
Packit 022b05
  /*** LINKAGE (IMPORTS / INCLUDES) ***/
Packit 022b05
Packit 022b05
  import IANAifType-MIB { prefix "ianaiftype-mib"; }
Packit 022b05
  import SNMPv2-TC      { prefix "smiv2"; }
Packit 022b05
  import yang-types     { prefix "yang"; }
Packit 022b05
Packit 022b05
  /*** META INFORMATION ***/
Packit 022b05
Packit 022b05
  organization      
Packit 022b05
   "IETF Interfaces MIB Working Group";
Packit 022b05
Packit 022b05
  contact           
Packit 022b05
   "   Keith McCloghrie
Packit 022b05
    Cisco Systems, Inc.
Packit 022b05
    170 West Tasman Drive
Packit 022b05
    San Jose, CA  95134-1706
Packit 022b05
    US
Packit 022b05
    
Packit 022b05
    408-526-5260
Packit 022b05
    kzm@cisco.com";
Packit 022b05
Packit 022b05
  description       
Packit 022b05
   "The MIB module to describe generic objects for network
Packit 022b05
    interface sub-layers.  This MIB is an updated version of
Packit 022b05
    MIB-II's ifTable, and incorporates the extensions defined in
Packit 022b05
    RFC 1229.";
Packit 022b05
Packit 022b05
  revision "2000-06-14" {
Packit 022b05
    description     
Packit 022b05
     "Clarifications agreed upon by the Interfaces MIB WG, and
Packit 022b05
      published as RFC 2863.";
Packit 022b05
  }
Packit 022b05
  revision "1996-02-28" {
Packit 022b05
    description     
Packit 022b05
     "Revisions made by the Interfaces MIB WG, and published in
Packit 022b05
      RFC 2233.";
Packit 022b05
  }
Packit 022b05
  revision "1993-11-08" {
Packit 022b05
    description     
Packit 022b05
     "Initial revision, published as part of RFC 1573.";
Packit 022b05
  }
Packit 022b05
Packit 022b05
  /*** TYPE DEFINITIONS ***/
Packit 022b05
Packit 022b05
  typedef OwnerString {
Packit 022b05
    type string {
Packit 022b05
      length "0..255";
Packit 022b05
      pattern "\p{IsBasicLatin}{0,255}";
Packit 022b05
    }
Packit 022b05
    status deprecated;
Packit 022b05
    description     
Packit 022b05
     "This data type is used to model an administratively
Packit 022b05
      assigned name of the owner of a resource.  This information
Packit 022b05
      is taken from the NVT ASCII character set.  It is suggested
Packit 022b05
      that this name contain one or more of the following: ASCII
Packit 022b05
      form of the manager station's transport address, management
Packit 022b05
      station name (e.g., domain name), network management
Packit 022b05
      personnel's name, location, or phone number.  In some cases
Packit 022b05
      the agent itself will be the owner of an entry.  In these
Packit 022b05
      cases, this string shall be set to a string starting with
Packit 022b05
      'agent'.";
Packit 022b05
  }
Packit 022b05
Packit 022b05
  typedef InterfaceIndex {
Packit 022b05
    type int32 {
Packit 022b05
      range "1..2147483647";
Packit 022b05
    }
Packit 022b05
    description     
Packit 022b05
     "A unique value, greater than zero, for each interface or
Packit 022b05
      interface sub-layer in the managed system.  It is
Packit 022b05
      recommended that values are assigned contiguously starting
Packit 022b05
      from 1.  The value for each interface sub-layer must remain
Packit 022b05
      constant at least from one re-initialization of the entity's
Packit 022b05
      network management system to the next re-initialization.";
Packit 022b05
  }
Packit 022b05
Packit 022b05
  typedef InterfaceIndexOrZero {
Packit 022b05
    type int32 {
Packit 022b05
      range "0..2147483647";
Packit 022b05
    }
Packit 022b05
    description     
Packit 022b05
     "This textual convention is an extension of the
Packit 022b05
      InterfaceIndex convention.  The latter defines a greater
Packit 022b05
      than zero value used to identify an interface or interface
Packit 022b05
      sub-layer in the managed system.  This extension permits the
Packit 022b05
      additional value of zero.  the value zero is object-specific
Packit 022b05
      and must therefore be defined as part of the description of
Packit 022b05
      any object which uses this syntax.  Examples of the usage of
Packit 022b05
      zero might include situations where interface was unknown,
Packit 022b05
      or when none or all interfaces need to be referenced.";
Packit 022b05
  }
Packit 022b05
Packit 022b05
  container interfaces {
Packit 022b05
Packit 022b05
    leaf ifNumber {
Packit 022b05
      type int32;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The number of network interfaces (regardless of their
Packit 022b05
        current state) present on this system.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
Packit 022b05
    /* XXX table comments here XXX */
Packit 022b05
Packit 022b05
    list ifEntry {
Packit 022b05
Packit 022b05
      key "ifIndex";
Packit 022b05
      description   
Packit 022b05
       "An entry containing management information applicable to a
Packit 022b05
        particular interface.";
Packit 022b05
Packit 022b05
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type if-mib:InterfaceIndex;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "A unique value, greater than zero, for each interface.  It
Packit 022b05
          is recommended that values are assigned contiguously
Packit 022b05
          starting from 1.  The value for each interface sub-layer
Packit 022b05
          must remain constant at least from one re-initialization of
Packit 022b05
          the entity's network management system to the next re-
Packit 022b05
          initialization.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifDescr {
Packit 022b05
        type smiv2:DisplayString {
Packit 022b05
          length "0..255";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "A textual string containing information about the
Packit 022b05
          interface.  This string should include the name of the
Packit 022b05
          manufacturer, the product name and the version of the
Packit 022b05
          interface hardware/software.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifType {
Packit 022b05
        type ianaiftype-mib:IANAifType;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The type of interface.  Additional values for ifType are
Packit 022b05
          assigned by the Internet Assigned Numbers Authority (IANA),
Packit 022b05
          through updating the syntax of the IANAifType textual
Packit 022b05
          convention.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifMtu {
Packit 022b05
        type int32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The size of the largest packet which can be sent/received
Packit 022b05
          on the interface, specified in octets.  For interfaces that
Packit 022b05
          are used for transmitting network datagrams, this is the
Packit 022b05
          size of the largest network datagram that can be sent on the
Packit 022b05
          interface.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifSpeed {
Packit 022b05
        type yang:gauge32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "An estimate of the interface's current bandwidth in bits
Packit 022b05
          per second.  For interfaces which do not vary in bandwidth
Packit 022b05
          or for those where no accurate estimation can be made, this
Packit 022b05
          object should contain the nominal bandwidth.  If the
Packit 022b05
          bandwidth of the interface is greater than the maximum value
Packit 022b05
          reportable by this object then this object should report its
Packit 022b05
          maximum value (4,294,967,295) and ifHighSpeed must be used
Packit 022b05
          to report the interace's speed.  For a sub-layer which has
Packit 022b05
          no concept of bandwidth, this object should be zero.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifPhysAddress {
Packit 022b05
        type yang:phys-address;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The interface's address at its protocol sub-layer.  For
Packit 022b05
          example, for an 802.x interface, this object normally
Packit 022b05
          contains a MAC address.  The interface's media-specific MIB
Packit 022b05
          must define the bit and byte ordering and the format of the
Packit 022b05
          value of this object.  For interfaces which do not have such
Packit 022b05
          an address (e.g., a serial line), this object should contain
Packit 022b05
          an octet string of zero length.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifAdminStatus {
Packit 022b05
        type enumeration {
Packit 022b05
          enum up      { value 1; }
Packit 022b05
          enum down    { value 2; }
Packit 022b05
          enum testing { value 3; }
Packit 022b05
        }
Packit 022b05
        config true;
Packit 022b05
        description 
Packit 022b05
         "The desired state of the interface.  The testing(3) state
Packit 022b05
          indicates that no operational packets can be passed.  When a
Packit 022b05
          managed system initializes, all interfaces start with
Packit 022b05
          ifAdminStatus in the down(2) state.  As a result of either
Packit 022b05
          explicit management action or per configuration information
Packit 022b05
          retained by the managed system, ifAdminStatus is then
Packit 022b05
          changed to either the up(1) or testing(3) states (or remains
Packit 022b05
          in the down(2) state).";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifOperStatus {
Packit 022b05
        type enumeration {
Packit 022b05
          enum up             { value 1; }
Packit 022b05
          enum down           { value 2; }
Packit 022b05
          enum testing        { value 3; }
Packit 022b05
          enum unknown        { value 4; }
Packit 022b05
          enum dormant        { value 5; }
Packit 022b05
          enum notPresent     { value 6; }
Packit 022b05
          enum lowerLayerDown { value 7; }
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The current operational state of the interface.  The
Packit 022b05
          testing(3) state indicates that no operational packets can
Packit 022b05
          be passed.  If ifAdminStatus is down(2) then ifOperStatus
Packit 022b05
          should be down(2).  If ifAdminStatus is changed to up(1)
Packit 022b05
          then ifOperStatus should change to up(1) if the interface is
Packit 022b05
          ready to transmit and receive network traffic; it should
Packit 022b05
          change to dormant(5) if the interface is waiting for
Packit 022b05
          external actions (such as a serial line waiting for an
Packit 022b05
          incoming connection); it should remain in the down(2) state
Packit 022b05
          if and only if there is a fault that prevents it from going
Packit 022b05
          to the up(1) state; it should remain in the notPresent(6)
Packit 022b05
          state if the interface has missing (typically, hardware)
Packit 022b05
          components.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifLastChange {
Packit 022b05
        type yang:timeticks;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The value of sysUpTime at the time the interface entered
Packit 022b05
          its current operational state.  If the current state was
Packit 022b05
          entered prior to the last re-initialization of the local
Packit 022b05
          network management subsystem, then this object contains a
Packit 022b05
          zero value.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifInOctets {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The total number of octets received on the interface,
Packit 022b05
          
Packit 022b05
          
Packit 022b05
          including framing characters.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifInUcastPkts {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The number of packets, delivered by this sub-layer to a
Packit 022b05
          higher (sub-)layer, which were not addressed to a multicast
Packit 022b05
          or broadcast address at this sub-layer.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifInNUcastPkts {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        status deprecated;
Packit 022b05
        description 
Packit 022b05
         "The number of packets, delivered by this sub-layer to a
Packit 022b05
          higher (sub-)layer, which were addressed to a multicast or
Packit 022b05
          broadcast address at this sub-layer.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.
Packit 022b05
          
Packit 022b05
          This object is deprecated in favour of ifInMulticastPkts and
Packit 022b05
          ifInBroadcastPkts.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifInDiscards {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The number of inbound packets which were chosen to be
Packit 022b05
          discarded even though no errors had been detected to prevent
Packit 022b05
          
Packit 022b05
          
Packit 022b05
          their being deliverable to a higher-layer protocol.  One
Packit 022b05
          possible reason for discarding such a packet could be to
Packit 022b05
          free up buffer space.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifInErrors {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "For packet-oriented interfaces, the number of inbound
Packit 022b05
          packets that contained errors preventing them from being
Packit 022b05
          deliverable to a higher-layer protocol.  For character-
Packit 022b05
          oriented or fixed-length interfaces, the number of inbound
Packit 022b05
          transmission units that contained errors preventing them
Packit 022b05
          from being deliverable to a higher-layer protocol.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifInUnknownProtos {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "For packet-oriented interfaces, the number of packets
Packit 022b05
          received via the interface which were discarded because of
Packit 022b05
          an unknown or unsupported protocol.  For character-oriented
Packit 022b05
          or fixed-length interfaces that support protocol
Packit 022b05
          multiplexing the number of transmission units received via
Packit 022b05
          the interface which were discarded because of an unknown or
Packit 022b05
          unsupported protocol.  For any interface that does not
Packit 022b05
          support protocol multiplexing, this counter will always be
Packit 022b05
          0.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifOutOctets {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The total number of octets transmitted out of the
Packit 022b05
          interface, including framing characters.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifOutUcastPkts {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The total number of packets that higher-level protocols
Packit 022b05
          requested be transmitted, and which were not addressed to a
Packit 022b05
          multicast or broadcast address at this sub-layer, including
Packit 022b05
          those that were discarded or not sent.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifOutNUcastPkts {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        status deprecated;
Packit 022b05
        description 
Packit 022b05
         "The total number of packets that higher-level protocols
Packit 022b05
          requested be transmitted, and which were addressed to a
Packit 022b05
          multicast or broadcast address at this sub-layer, including
Packit 022b05
          those that were discarded or not sent.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.
Packit 022b05
          
Packit 022b05
          This object is deprecated in favour of ifOutMulticastPkts
Packit 022b05
          and ifOutBroadcastPkts.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifOutDiscards {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The number of outbound packets which were chosen to be
Packit 022b05
          discarded even though no errors had been detected to prevent
Packit 022b05
          their being transmitted.  One possible reason for discarding
Packit 022b05
          such a packet could be to free up buffer space.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifOutErrors {
Packit 022b05
        type yang:counter32;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "For packet-oriented interfaces, the number of outbound
Packit 022b05
          packets that could not be transmitted because of errors.
Packit 022b05
          For character-oriented or fixed-length interfaces, the
Packit 022b05
          number of outbound transmission units that could not be
Packit 022b05
          transmitted because of errors.
Packit 022b05
          
Packit 022b05
          Discontinuities in the value of this counter can occur at
Packit 022b05
          re-initialization of the management system, and at other
Packit 022b05
          times as indicated by the value of
Packit 022b05
          ifCounterDiscontinuityTime.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifOutQLen {
Packit 022b05
        type yang:gauge32;
Packit 022b05
        config false;
Packit 022b05
        status deprecated;
Packit 022b05
        description 
Packit 022b05
         "The length of the output packet queue (in packets).";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifSpecific {
Packit 022b05
        type yang:object-identifier;
Packit 022b05
        config false;
Packit 022b05
        status deprecated;
Packit 022b05
        description 
Packit 022b05
         "A reference to MIB definitions specific to the particular
Packit 022b05
          media being used to realize the interface.  It is
Packit 022b05
          
Packit 022b05
          
Packit 022b05
          recommended that this value point to an instance of a MIB
Packit 022b05
          object in the media-specific MIB, i.e., that this object
Packit 022b05
          have the semantics associated with the InstancePointer
Packit 022b05
          textual convention defined in RFC 2579.  In fact, it is
Packit 022b05
          recommended that the media-specific MIB specify what value
Packit 022b05
          ifSpecific should/can take for values of ifType.  If no MIB
Packit 022b05
          definitions specific to the particular media are available,
Packit 022b05
          the value should be set to the OBJECT IDENTIFIER { 0 0 }.";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
  }
Packit 022b05
Packit 022b05
  container ifMIBObjects {
Packit 022b05
Packit 022b05
Packit 022b05
    /* XXX table comments here XXX */
Packit 022b05
Packit 022b05
    list ifStackEntry {
Packit 022b05
Packit 022b05
      key "ifStackHigherLayer ifStackLowerLayer";
Packit 022b05
      description   
Packit 022b05
       "Information on a particular relationship between two sub-
Packit 022b05
        layers, specifying that one sub-layer runs on 'top' of the
Packit 022b05
        other sub-layer.  Each sub-layer corresponds to a conceptual
Packit 022b05
        row in the ifTable.";
Packit 022b05
Packit 022b05
Packit 022b05
      leaf ifStackHigherLayer {
Packit 022b05
        type if-mib:InterfaceIndexOrZero;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The value of ifIndex corresponding to the higher sub-layer
Packit 022b05
          of the relationship, i.e., the sub-layer which runs on 'top'
Packit 022b05
          of the sub-layer identified by the corresponding instance of
Packit 022b05
          ifStackLowerLayer.  If there is no higher sub-layer (below
Packit 022b05
          the internetwork layer), then this object has the value 0.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifStackLowerLayer {
Packit 022b05
        type if-mib:InterfaceIndexOrZero;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The value of ifIndex corresponding to the lower sub-layer
Packit 022b05
          of the relationship, i.e., the sub-layer which runs 'below'
Packit 022b05
          the sub-layer identified by the corresponding instance of
Packit 022b05
          ifStackHigherLayer.  If there is no lower sub-layer, then
Packit 022b05
          this object has the value 0.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifStackStatus {
Packit 022b05
        type smiv2:RowStatus;
Packit 022b05
        config true;
Packit 022b05
        description 
Packit 022b05
         "The status of the relationship between two sub-layers.
Packit 022b05
          
Packit 022b05
          Changing the value of this object from 'active' to
Packit 022b05
          'notInService' or 'destroy' will likely have consequences up
Packit 022b05
          and down the interface stack.  Thus, write access to this
Packit 022b05
          object is likely to be inappropriate for some types of
Packit 022b05
          interfaces, and many implementations will choose not to
Packit 022b05
          support write-access for any type of interface.";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
Packit 022b05
Packit 022b05
    /* XXX table comments here XXX */
Packit 022b05
Packit 022b05
    list ifRcvAddressEntry {
Packit 022b05
Packit 022b05
      key "ifIndex ifRcvAddressAddress";
Packit 022b05
      description   
Packit 022b05
       "A list of objects identifying an address for which the
Packit 022b05
        system will accept packets/frames on the particular
Packit 022b05
        interface identified by the index value ifIndex.";
Packit 022b05
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type keyref {
Packit 022b05
          path "/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "Automagically generated keyref leaf.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifRcvAddressAddress {
Packit 022b05
        type yang:phys-address;
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "An address for which the system will accept packets/frames
Packit 022b05
          on this entry's interface.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifRcvAddressStatus {
Packit 022b05
        type smiv2:RowStatus;
Packit 022b05
        config true;
Packit 022b05
        description 
Packit 022b05
         "This object is used to create and delete rows in the
Packit 022b05
          ifRcvAddressTable.";
Packit 022b05
      }
Packit 022b05
Packit 022b05
      leaf ifRcvAddressType {
Packit 022b05
        type enumeration {
Packit 022b05
          enum other       { value 1; }
Packit 022b05
          enum volatile    { value 2; }
Packit 022b05
          enum nonVolatile { value 3; }
Packit 022b05
        }
Packit 022b05
        config true;
Packit 022b05
        description 
Packit 022b05
         "This object has the value nonVolatile(3) for those entries
Packit 022b05
          in the table which are valid and will not be deleted by the
Packit 022b05
          next restart of the managed system.  Entries having the
Packit 022b05
          value volatile(2) are valid and exist, but have not been
Packit 022b05
          saved, so that will not exist after the next restart of the
Packit 022b05
          managed system.  Entries having the value other(1) are valid
Packit 022b05
          and exist but are not classified as to whether they will
Packit 022b05
          continue to exist after the next restart.";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifTableLastChange {
Packit 022b05
      type yang:timeticks;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The value of sysUpTime at the time of the last creation or
Packit 022b05
        deletion of an entry in the ifTable.  If the number of
Packit 022b05
        entries has been unchanged since the last re-initialization
Packit 022b05
        of the local network management subsystem, then this object
Packit 022b05
        contains a zero value.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifStackLastChange {
Packit 022b05
      type yang:timeticks;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The value of sysUpTime at the time of the last change of
Packit 022b05
        the (whole) interface stack.  A change of the interface
Packit 022b05
        stack is defined to be any creation, deletion, or change in
Packit 022b05
        value of any instance of ifStackStatus.  If the interface
Packit 022b05
        stack has been unchanged since the last re-initialization of
Packit 022b05
        the local network management subsystem, then this object
Packit 022b05
        contains a zero value.";
Packit 022b05
    }
Packit 022b05
  }
Packit 022b05
Packit 022b05
Packit 022b05
  /* XXX table comments here XXX */
Packit 022b05
Packit 022b05
  augment "/if-mib:interfaces/if-mib:ifEntry" {
Packit 022b05
    description     
Packit 022b05
     "An entry containing additional management information
Packit 022b05
      applicable to a particular interface.";
Packit 022b05
Packit 022b05
    leaf ifName {
Packit 022b05
      type smiv2:DisplayString;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The textual name of the interface.  The value of this
Packit 022b05
        object should be the name of the interface as assigned by
Packit 022b05
        the local device and should be suitable for use in commands
Packit 022b05
        entered at the device's `console'.  This might be a text
Packit 022b05
        name, such as `le0' or a simple port number, such as `1',
Packit 022b05
        depending on the interface naming syntax of the device.  If
Packit 022b05
        several entries in the ifTable together represent a single
Packit 022b05
        interface as named by the device, then each will have the
Packit 022b05
        same value of ifName.  Note that for an agent which responds
Packit 022b05
        to SNMP queries concerning an interface on some other
Packit 022b05
        (proxied) device, then the value of ifName for such an
Packit 022b05
        interface is the proxied device's local name for it.
Packit 022b05
        
Packit 022b05
        If there is no local name, or this object is otherwise not
Packit 022b05
        applicable, then this object contains a zero-length string.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifInMulticastPkts {
Packit 022b05
      type yang:counter32;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The number of packets, delivered by this sub-layer to a
Packit 022b05
        higher (sub-)layer, which were addressed to a multicast
Packit 022b05
        address at this sub-layer.  For a MAC layer protocol, this
Packit 022b05
        includes both Group and Functional addresses.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        
Packit 022b05
        
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifInBroadcastPkts {
Packit 022b05
      type yang:counter32;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The number of packets, delivered by this sub-layer to a
Packit 022b05
        higher (sub-)layer, which were addressed to a broadcast
Packit 022b05
        address at this sub-layer.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifOutMulticastPkts {
Packit 022b05
      type yang:counter32;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The total number of packets that higher-level protocols
Packit 022b05
        requested be transmitted, and which were addressed to a
Packit 022b05
        multicast address at this sub-layer, including those that
Packit 022b05
        were discarded or not sent.  For a MAC layer protocol, this
Packit 022b05
        includes both Group and Functional addresses.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifOutBroadcastPkts {
Packit 022b05
      type yang:counter32;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The total number of packets that higher-level protocols
Packit 022b05
        requested be transmitted, and which were addressed to a
Packit 022b05
        broadcast address at this sub-layer, including those that
Packit 022b05
        were discarded or not sent.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        
Packit 022b05
        
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCInOctets {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The total number of octets received on the interface,
Packit 022b05
        including framing characters.  This object is a 64-bit
Packit 022b05
        version of ifInOctets.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCInUcastPkts {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The number of packets, delivered by this sub-layer to a
Packit 022b05
        higher (sub-)layer, which were not addressed to a multicast
Packit 022b05
        or broadcast address at this sub-layer.  This object is a
Packit 022b05
        64-bit version of ifInUcastPkts.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCInMulticastPkts {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The number of packets, delivered by this sub-layer to a
Packit 022b05
        higher (sub-)layer, which were addressed to a multicast
Packit 022b05
        address at this sub-layer.  For a MAC layer protocol, this
Packit 022b05
        includes both Group and Functional addresses.  This object
Packit 022b05
        is a 64-bit version of ifInMulticastPkts.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCInBroadcastPkts {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The number of packets, delivered by this sub-layer to a
Packit 022b05
        higher (sub-)layer, which were addressed to a broadcast
Packit 022b05
        address at this sub-layer.  This object is a 64-bit version
Packit 022b05
        of ifInBroadcastPkts.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCOutOctets {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The total number of octets transmitted out of the
Packit 022b05
        interface, including framing characters.  This object is a
Packit 022b05
        64-bit version of ifOutOctets.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCOutUcastPkts {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The total number of packets that higher-level protocols
Packit 022b05
        requested be transmitted, and which were not addressed to a
Packit 022b05
        multicast or broadcast address at this sub-layer, including
Packit 022b05
        those that were discarded or not sent.  This object is a
Packit 022b05
        64-bit version of ifOutUcastPkts.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCOutMulticastPkts {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The total number of packets that higher-level protocols
Packit 022b05
        requested be transmitted, and which were addressed to a
Packit 022b05
        multicast address at this sub-layer, including those that
Packit 022b05
        were discarded or not sent.  For a MAC layer protocol, this
Packit 022b05
        includes both Group and Functional addresses.  This object
Packit 022b05
        is a 64-bit version of ifOutMulticastPkts.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHCOutBroadcastPkts {
Packit 022b05
      type yang:counter64;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The total number of packets that higher-level protocols
Packit 022b05
        requested be transmitted, and which were addressed to a
Packit 022b05
        broadcast address at this sub-layer, including those that
Packit 022b05
        were discarded or not sent.  This object is a 64-bit version
Packit 022b05
        of ifOutBroadcastPkts.
Packit 022b05
        
Packit 022b05
        Discontinuities in the value of this counter can occur at
Packit 022b05
        re-initialization of the management system, and at other
Packit 022b05
        times as indicated by the value of
Packit 022b05
        ifCounterDiscontinuityTime.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifLinkUpDownTrapEnable {
Packit 022b05
      type enumeration {
Packit 022b05
        enum enabled  { value 1; }
Packit 022b05
        enum disabled { value 2; }
Packit 022b05
      }
Packit 022b05
      config true;
Packit 022b05
      description   
Packit 022b05
       "Indicates whether linkUp/linkDown traps should be generated
Packit 022b05
        for this interface.
Packit 022b05
        
Packit 022b05
        By default, this object should have the value enabled(1) for
Packit 022b05
        interfaces which do not operate on 'top' of any other
Packit 022b05
        interface (as defined in the ifStackTable), and disabled(2)
Packit 022b05
        otherwise.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifHighSpeed {
Packit 022b05
      type yang:gauge32;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "An estimate of the interface's current bandwidth in units
Packit 022b05
        of 1,000,000 bits per second.  If this object reports a
Packit 022b05
        value of `n' then the speed of the interface is somewhere in
Packit 022b05
        the range of `n-500,000' to `n+499,999'.  For interfaces
Packit 022b05
        which do not vary in bandwidth or for those where no
Packit 022b05
        accurate estimation can be made, this object should contain
Packit 022b05
        the nominal bandwidth.  For a sub-layer which has no concept
Packit 022b05
        of bandwidth, this object should be zero.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifPromiscuousMode {
Packit 022b05
      type smiv2:TruthValue;
Packit 022b05
      config true;
Packit 022b05
      description   
Packit 022b05
       "This object has a value of false(2) if this interface only
Packit 022b05
        accepts packets/frames that are addressed to this station.
Packit 022b05
        This object has a value of true(1) when the station accepts
Packit 022b05
        all packets/frames transmitted on the media.  The value
Packit 022b05
        true(1) is only legal on certain types of media.  If legal,
Packit 022b05
        setting this object to a value of true(1) may require the
Packit 022b05
        interface to be reset before becoming effective.
Packit 022b05
        
Packit 022b05
        The value of ifPromiscuousMode does not affect the reception
Packit 022b05
        of broadcast and multicast packets/frames by the interface.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifConnectorPresent {
Packit 022b05
      type smiv2:TruthValue;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "This object has the value 'true(1)' if the interface
Packit 022b05
        sublayer has a physical connector and the value 'false(2)'
Packit 022b05
        otherwise.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifAlias {
Packit 022b05
      type smiv2:DisplayString {
Packit 022b05
        length "0..64";
Packit 022b05
      }
Packit 022b05
      config true;
Packit 022b05
      description   
Packit 022b05
       "This object is an 'alias' name for the interface as
Packit 022b05
        specified by a network manager, and provides a non-volatile
Packit 022b05
        'handle' for the interface.
Packit 022b05
        
Packit 022b05
        On the first instantiation of an interface, the value of
Packit 022b05
        ifAlias associated with that interface is the zero-length
Packit 022b05
        string.  As and when a value is written into an instance of
Packit 022b05
        ifAlias through a network management set operation, then the
Packit 022b05
        agent must retain the supplied value in the ifAlias instance
Packit 022b05
        associated with the same interface for as long as that
Packit 022b05
        interface remains instantiated, including across all re-
Packit 022b05
        initializations/reboots of the network management system,
Packit 022b05
        including those which result in a change of the interface's
Packit 022b05
        ifIndex value.
Packit 022b05
        
Packit 022b05
        An example of the value which a network manager might store
Packit 022b05
        in this object for a WAN interface is the (Telco's) circuit
Packit 022b05
        number/identifier of the interface.
Packit 022b05
        
Packit 022b05
        Some agents may support write-access only for interfaces
Packit 022b05
        having particular values of ifType.  An agent which supports
Packit 022b05
        write access to this object is required to keep the value in
Packit 022b05
        non-volatile storage, but it may limit the length of new
Packit 022b05
        values depending on how much storage is already occupied by
Packit 022b05
        the current values for other interfaces.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifCounterDiscontinuityTime {
Packit 022b05
      type yang:timestamp;
Packit 022b05
      config false;
Packit 022b05
      description   
Packit 022b05
       "The value of sysUpTime on the most recent occasion at which
Packit 022b05
        any one or more of this interface's counters suffered a
Packit 022b05
        discontinuity.  The relevant counters are the specific
Packit 022b05
        instances associated with this interface of any Counter32 or
Packit 022b05
        
Packit 022b05
        
Packit 022b05
        Counter64 object contained in the ifTable or ifXTable.  If
Packit 022b05
        no such discontinuities have occurred since the last re-
Packit 022b05
        initialization of the local management subsystem, then this
Packit 022b05
        object contains a zero value.";
Packit 022b05
    }
Packit 022b05
  }
Packit 022b05
Packit 022b05
Packit 022b05
  /* XXX table comments here XXX */
Packit 022b05
Packit 022b05
  augment "/if-mib:interfaces/if-mib:ifEntry" {
Packit 022b05
    status deprecated;
Packit 022b05
    description     
Packit 022b05
     "An entry containing objects for invoking tests on an
Packit 022b05
      interface.";
Packit 022b05
Packit 022b05
    leaf ifTestId {
Packit 022b05
      type smiv2:TestAndIncr;
Packit 022b05
      config true;
Packit 022b05
      status deprecated;
Packit 022b05
      description   
Packit 022b05
       "This object identifies the current invocation of the
Packit 022b05
        interface's test.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifTestStatus {
Packit 022b05
      type enumeration {
Packit 022b05
        enum notInUse { value 1; }
Packit 022b05
        enum inUse    { value 2; }
Packit 022b05
      }
Packit 022b05
      config true;
Packit 022b05
      status deprecated;
Packit 022b05
      description   
Packit 022b05
       "This object indicates whether or not some manager currently
Packit 022b05
        has the necessary 'ownership' required to invoke a test on
Packit 022b05
        this interface.  A write to this object is only successful
Packit 022b05
        when it changes its value from 'notInUse(1)' to 'inUse(2)'.
Packit 022b05
        After completion of a test, the agent resets the value back
Packit 022b05
        to 'notInUse(1)'.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifTestType {
Packit 022b05
      type smiv2:AutonomousType;
Packit 022b05
      config true;
Packit 022b05
      status deprecated;
Packit 022b05
      description   
Packit 022b05
       "A control variable used to start and stop operator-
Packit 022b05
        initiated interface tests.  Most OBJECT IDENTIFIER values
Packit 022b05
        assigned to tests are defined elsewhere, in association with
Packit 022b05
        specific types of interface.  However, this document assigns
Packit 022b05
        a value for a full-duplex loopback test, and defines the
Packit 022b05
        special meanings of the subject identifier:
Packit 022b05
        
Packit 022b05
            noTest  OBJECT IDENTIFIER ::= { 0 0 }
Packit 022b05
        
Packit 022b05
        When the value noTest is written to this object, no action
Packit 022b05
        is taken unless a test is in progress, in which case the
Packit 022b05
        test is aborted.  Writing any other value to this object is
Packit 022b05
        
Packit 022b05
        
Packit 022b05
        only valid when no test is currently in progress, in which
Packit 022b05
        case the indicated test is initiated.
Packit 022b05
        
Packit 022b05
        When read, this object always returns the most recent value
Packit 022b05
        that ifTestType was set to.  If it has not been set since
Packit 022b05
        the last initialization of the network management subsystem
Packit 022b05
        on the agent, a value of noTest is returned.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifTestResult {
Packit 022b05
      type enumeration {
Packit 022b05
        enum none         { value 1; }
Packit 022b05
        enum success      { value 2; }
Packit 022b05
        enum inProgress   { value 3; }
Packit 022b05
        enum notSupported { value 4; }
Packit 022b05
        enum unAbleToRun  { value 5; }
Packit 022b05
        enum aborted      { value 6; }
Packit 022b05
        enum failed       { value 7; }
Packit 022b05
      }
Packit 022b05
      config false;
Packit 022b05
      status deprecated;
Packit 022b05
      description   
Packit 022b05
       "This object contains the result of the most recently
Packit 022b05
        requested test, or the value none(1) if no tests have been
Packit 022b05
        requested since the last reset.  Note that this facility
Packit 022b05
        provides no provision for saving the results of one test
Packit 022b05
        when starting another, as could be required if used by
Packit 022b05
        multiple managers concurrently.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifTestCode {
Packit 022b05
      type yang:object-identifier;
Packit 022b05
      config false;
Packit 022b05
      status deprecated;
Packit 022b05
      description   
Packit 022b05
       "This object contains a code which contains more specific
Packit 022b05
        information on the test result, for example an error-code
Packit 022b05
        after a failed test.  Error codes and other values this
Packit 022b05
        object may take are specific to the type of interface and/or
Packit 022b05
        test.  The value may have the semantics of either the
Packit 022b05
        AutonomousType or InstancePointer textual conventions as
Packit 022b05
        defined in RFC 2579.  The identifier:
Packit 022b05
        
Packit 022b05
            testCodeUnknown  OBJECT IDENTIFIER ::= { 0 0 }
Packit 022b05
        
Packit 022b05
        is defined for use if no additional result code is
Packit 022b05
        available.";
Packit 022b05
    }
Packit 022b05
Packit 022b05
    leaf ifTestOwner {
Packit 022b05
      type if-mib:OwnerString;
Packit 022b05
      config true;
Packit 022b05
      status deprecated;
Packit 022b05
      description   
Packit 022b05
       "The entity which currently has the 'ownership' required to
Packit 022b05
        invoke a test on this interface.";
Packit 022b05
    }
Packit 022b05
  }
Packit 022b05
Packit 022b05
  notification linkDown {
Packit 022b05
    description     
Packit 022b05
     "A linkDown trap signifies that the SNMP entity, acting in
Packit 022b05
      an agent role, has detected that the ifOperStatus object for
Packit 022b05
      one of its communication links is about to enter the down
Packit 022b05
      state from some other state (but not from the notPresent
Packit 022b05
      state).  This other state is indicated by the included value
Packit 022b05
      of ifOperStatus.";
Packit 022b05
Packit 022b05
    container linkDown-ifIndex {
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type keyref {
Packit 022b05
          path "/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "Automagically generated keyref leaf.";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
    container linkDown-ifAdminStatus {
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type keyref {
Packit 022b05
          path "/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "Automagically generated keyref leaf.";
Packit 022b05
      }
Packit 022b05
      leaf ifAdminStatus {
Packit 022b05
        type enumeration {
Packit 022b05
          enum up      { value 1; }
Packit 022b05
          enum down    { value 2; }
Packit 022b05
          enum testing { value 3; }
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The desired state of the interface.  The testing(3) state
Packit 022b05
          indicates that no operational packets can be passed.  When a
Packit 022b05
          managed system initializes, all interfaces start with
Packit 022b05
          ifAdminStatus in the down(2) state.  As a result of either
Packit 022b05
          explicit management action or per configuration information
Packit 022b05
          retained by the managed system, ifAdminStatus is then
Packit 022b05
          changed to either the up(1) or testing(3) states (or remains
Packit 022b05
          in the down(2) state).";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
    container linkDown-ifOperStatus {
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type keyref {
Packit 022b05
          path "/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "Automagically generated keyref leaf.";
Packit 022b05
      }
Packit 022b05
      leaf ifOperStatus {
Packit 022b05
        type enumeration {
Packit 022b05
          enum up             { value 1; }
Packit 022b05
          enum down           { value 2; }
Packit 022b05
          enum testing        { value 3; }
Packit 022b05
          enum unknown        { value 4; }
Packit 022b05
          enum dormant        { value 5; }
Packit 022b05
          enum notPresent     { value 6; }
Packit 022b05
          enum lowerLayerDown { value 7; }
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The current operational state of the interface.  The
Packit 022b05
          testing(3) state indicates that no operational packets can
Packit 022b05
          be passed.  If ifAdminStatus is down(2) then ifOperStatus
Packit 022b05
          should be down(2).  If ifAdminStatus is changed to up(1)
Packit 022b05
          then ifOperStatus should change to up(1) if the interface is
Packit 022b05
          ready to transmit and receive network traffic; it should
Packit 022b05
          change to dormant(5) if the interface is waiting for
Packit 022b05
          external actions (such as a serial line waiting for an
Packit 022b05
          incoming connection); it should remain in the down(2) state
Packit 022b05
          if and only if there is a fault that prevents it from going
Packit 022b05
          to the up(1) state; it should remain in the notPresent(6)
Packit 022b05
          state if the interface has missing (typically, hardware)
Packit 022b05
          components.";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
  }
Packit 022b05
Packit 022b05
  notification linkUp {
Packit 022b05
    description     
Packit 022b05
     "A linkUp trap signifies that the SNMP entity, acting in an
Packit 022b05
      agent role, has detected that the ifOperStatus object for
Packit 022b05
      one of its communication links left the down state and
Packit 022b05
      transitioned into some other state (but not into the
Packit 022b05
      notPresent state).  This other state is indicated by the
Packit 022b05
      included value of ifOperStatus.";
Packit 022b05
Packit 022b05
    container linkUp-ifIndex {
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type keyref {
Packit 022b05
          path "/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "Automagically generated keyref leaf.";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
    container linkUp-ifAdminStatus {
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type keyref {
Packit 022b05
          path "/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "Automagically generated keyref leaf.";
Packit 022b05
      }
Packit 022b05
      leaf ifAdminStatus {
Packit 022b05
        type enumeration {
Packit 022b05
          enum up      { value 1; }
Packit 022b05
          enum down    { value 2; }
Packit 022b05
          enum testing { value 3; }
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The desired state of the interface.  The testing(3) state
Packit 022b05
          indicates that no operational packets can be passed.  When a
Packit 022b05
          managed system initializes, all interfaces start with
Packit 022b05
          ifAdminStatus in the down(2) state.  As a result of either
Packit 022b05
          explicit management action or per configuration information
Packit 022b05
          retained by the managed system, ifAdminStatus is then
Packit 022b05
          changed to either the up(1) or testing(3) states (or remains
Packit 022b05
          in the down(2) state).";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
    container linkUp-ifOperStatus {
Packit 022b05
      leaf ifIndex {
Packit 022b05
        type keyref {
Packit 022b05
          path "/if-mib:interfaces/if-mib:ifEntry/if-mib:ifIndex";
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "Automagically generated keyref leaf.";
Packit 022b05
      }
Packit 022b05
      leaf ifOperStatus {
Packit 022b05
        type enumeration {
Packit 022b05
          enum up             { value 1; }
Packit 022b05
          enum down           { value 2; }
Packit 022b05
          enum testing        { value 3; }
Packit 022b05
          enum unknown        { value 4; }
Packit 022b05
          enum dormant        { value 5; }
Packit 022b05
          enum notPresent     { value 6; }
Packit 022b05
          enum lowerLayerDown { value 7; }
Packit 022b05
        }
Packit 022b05
        config false;
Packit 022b05
        description 
Packit 022b05
         "The current operational state of the interface.  The
Packit 022b05
          testing(3) state indicates that no operational packets can
Packit 022b05
          be passed.  If ifAdminStatus is down(2) then ifOperStatus
Packit 022b05
          should be down(2).  If ifAdminStatus is changed to up(1)
Packit 022b05
          then ifOperStatus should change to up(1) if the interface is
Packit 022b05
          ready to transmit and receive network traffic; it should
Packit 022b05
          change to dormant(5) if the interface is waiting for
Packit 022b05
          external actions (such as a serial line waiting for an
Packit 022b05
          incoming connection); it should remain in the down(2) state
Packit 022b05
          if and only if there is a fault that prevents it from going
Packit 022b05
          to the up(1) state; it should remain in the notPresent(6)
Packit 022b05
          state if the interface has missing (typically, hardware)
Packit 022b05
          components.";
Packit 022b05
      }
Packit 022b05
    }
Packit 022b05
Packit 022b05
  }
Packit 022b05
} /* end of module IF-MIB */