Interfaces Object

MIB Object Object ID: 1.3.6.1.2.1.2 + Description
ifNumber .1 The number of network interfaces (regardless of their current state) present on this system.
ifTable .2 A list of interface entries. The number of entries is given by the value of ifNumber.

Interface Table

The following table describes the standard SNMP Get support for the interfaces table, which contains information on the entity's interfaces. Each interface is thought of as being attached to a subnetwork. (Note that this term should not be confused with subnet, which refers to an addressing partitioning scheme used in the Internet suite of protocols.)

MIB Object Object ID 1.3.6.1.2.1.2.2.1 + Description
ifIndex .1 Unique value for each interface. Value has a range between 1 and the value of ifNumber and must remain constant at least from one re-initialization of the entity's NMS to the next re-initialization. See for examples of ifIndex values.

The ifIndex values for the mgmt and media interfaces can be mapped as follows:

Media Port
  • Slot 0/Port 0: 1.3.6.1.2.1.2.2.1.1.5 (ifIndex value is 5)
  • Slot 0/Port 1: 1.3.6.1.2.1.2.2.1.1.7 (ifIndex value is 7)
  • Slot 0/Port 2 (or Slot 1/port 0): 1.3.6.1.2.1.2.2.1.1.9 (ifIndex value is 9)
  • Slot 0/Port 3 (or Slot 1/port 1): 1.3.6.1.2.1.2.2.1.1.11 (ifIndex value is 11)
HA Ports
  • wancom1 (Management HA Port slot 0/port 1): 1.3.6.1.2.1.2.2.1.1.2 (ifIndex value is 2)
  • wancom2 (Management HA Port slot 0/port 2): 1.3.6.1.2.1.2.2.1.1.3 (ifIndex value is 3)
ifDescr .2 Textual string containing information about the interface. This string includes the name of the manufacturer, the product name, and the version of the hardware interface.
ifType .3 Information about the type of interface, distinguished according to the physical/link protocol(s) immediately below the network layer in the protocol stack.
ifMtu .4 Size of the largest datagram which can be sent/received on the interface, specified in octets. For interfaces that transmit network datagrams, this is the size of the largest network datagram that can be sent on the interface.
ifSpeed .5 Estimate of the interface's current bandwidth in bits per second. For interfaces which do not vary in bandwidth or for those where an accurate estimation cannot be made, it contains the nominal bandwidth.
ifPhysAddress .6 Address of the interface, at the protocol layer immediately below the network layer in the protocol stack. For interfaces which do not have such an address for example., a serial line), it contains an octet string of zero length.
ifAdminStatus .7 Current administrative state of the interface. The testing(3) state indicates that operational packets cannot be passed.
ifOperStatus .8 Current operational state of the interface. The testing(3) state indicates that operational packets cannot be passed.
ifLastChange .9 Value of sysUpTime at the time the interface entered its current operational state. If the current state was entered prior to the last re-initialization of the local network management subsystem, then it contains a zero value.
ifInOctets .10 Total number of octets received on the interface, including framing characters.
ifInUcastPkts .11 Number of subnetwork-unicast packets delivered to a higherlayer protocol.
ifInNUcastPkts .12 Number of non-unicast (i.e., subnetwork-broadcast or subnetwork-multicast) packets delivered to a higher-layer protocol.
ifInDiscards .13 Number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol. One possible reason for discarding such a packet could be to free up buffer space.
ifInErrors .14 Number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
ifInUnknownProtos .15 Number of packets received via the interface which were discarded because of an unknown or unsupported protocol.
ifOutOctets .16 Total number of octets transmitted out of the interface, including framing characters.
ifOutUcastPkts .17 Total number of packets that higher-level protocols requested be transmitted to a subnetwork-unicast address, including those that were discarded or not sent.
ifOutNUcastPkt .18 Total number of packets that higher-level protocols requested be transmitted to a non-unicast (i.e., a subnetwork-broadcast or subnetwork-multicast) address, including those that were discarded or not sent.
ifOutDiscards .19 Number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted. One possible reason for discarding such a packet could be to free up buffer space.
ifOutErrors .20 Number of outbound packets that could not be transmitted because of errors.
ifOutQLen .21 Length of the output packet queue (in packets).
ifSpecific .22 Returns a reference to MIB definitions specific to the particular media being used to realize the interface. For example, if the interface is realized by an ethernet, then the value of this object refers to a document defining objects specific to Ethernet. If this information is not present, its value should be set to the OBJECT IDENTIFIER {0 0}, which is a syntactically valid object identifier, and any conformant implementation of ASN.1 and BER must be able to generate and recognize this value.

Interface Description in MIB

The ifDescr object in the ifEntry object in ifTable is a string of up to 255 characters. It currently contains the name of the interface only. This change adds to the ifDescr string, separated from the first part by a space, a keyword that represents the internal interface type. The values can be {ETH, FE, GE, OC, XE, null}.

RFC 3635 supercedes RFC 2665. RFC 2665 recommends, but RFC 3635 requires, that all Ethernet-like interfaces use an ifType of ethernetCsmacd (6) regardless of the speed that the interface is running or the link-layer encapsulation in use. Heretofore, Oracle Communications Session Border Controllers could return values of fastEthernet (62) and gigaEthernet (117), but, in accordance with RFC 3635, will now return ethernetCsmacd (6) for all Ethernet interface types. To let users determine the type of Ethernet interface more readily than by some other method, Oracle has changed the syntax for ifDescr to include the interface type.

The current values of ifDescr are either the names of physical or network interfaces (for example, "wancom0", "lo", "s1p0", "Access", or "Core"), or, for sub-interfaces, interface names appended with sub-interface numbers (for example, "Access.22" or "Core.33"). This change adds to the ifDescr string, separated from the first part by a space, a keyword that represents the internal interface type rather than the actual queried value. The current set of possible values is {ETH, FE, GE, XE, null}.

Examples:

  • wancom0 GE
  • lo (Second part empty)
  • s1p0 GE
  • s0p0 XE
  • Access GE
  • Access.22 (Second part empty)
  • Core.33 (Second part empty)