Skip to main content

5.2. The Interfaces Group

Implementation of the Interfaces group is mandatory for all systems.

OBJECT: ifNumber { interfaces 1 }

Syntax: INTEGER

Definition: The number of network interfaces (regardless of their current state) on which this system can send/receive IP datagrams.

Access: read-only

Status: mandatory

5.2.1. The Interfaces Table​

OBJECT: ifTable { interfaces 2 }

Syntax: SEQUENCE OF IfEntry

Definition: A list of interface entries. The number of entries is given by the value of ifNumber.

Access: read-write

Status: mandatory

OBJECT: ifEntry { ifTable 1 }

Syntax:

IfEntry ::= SEQUENCE {
ifIndex
INTEGER,
ifDescr
OCTET STRING,
ifType
INTEGER,
ifMtu
INTEGER,
ifSpeed
Gauge,
ifPhysAddress
OCTET STRING,
ifAdminStatus
INTEGER,
ifOperStatus
INTEGER,
ifLastChange
TimeTicks,
ifInOctets
Counter,
ifInUcastPkts
Counter,
ifInNUcastPkts
Counter,
ifInDiscards
Counter,
ifInErrors
Counter,
ifInUnknownProtos
Counter,
ifOutOctets
Counter,
ifOutUcastPkts
Counter,
ifOutNUcastPkts
Counter,
ifOutDiscards
Counter,
ifOutErrors
Counter,
ifOutQLen
Gauge
}

Definition: An interface entry containing objects at the subnetwork layer and below for a particular interface.

Access: read-write

Status: mandatory

We now consider the individual components of each interface entry:

OBJECT: ifIndex { ifEntry 1 }

Syntax: INTEGER

Definition: A unique value for each interface. Its value ranges between 1 and the value of ifNumber. The value for each interface must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.

Access: read-only

Status: mandatory

OBJECT: ifDescr { ifEntry 2 }

Syntax: OCTET STRING

Definition: A text string containing information about the interface. This string should include the name of the manufacturer, the product name and the version of the hardware interface. The string is intended for presentation to a human; it must not contain anything but printable ASCII characters.

Access: read-only

Status: mandatory

OBJECT: ifType { ifEntry 3 }

Syntax:

INTEGER {
other(1), -- none of the following
regular1822(2),
hdh1822(3),
ddn-x25(4),
rfc877-x25(5),
ethernet-csmacd(6),
iso88023-csmacd(7),
iso88024-tokenBus(8),
iso88025-tokenRing(9),
iso88026-man(10),
starLan(11),
proteon-10MBit(12),
proteon-80MBit(13),
hyperchannel(14),
fddi(15),
lapb(16),
sdlc(17),
t1-carrier(18),
cept(19), -- european equivalent of T-1
basicIsdn(20),
primaryIsdn(21),
-- proprietary serial
propPointToPointSerial(22)
}

Definition: The type of interface, distinguished according to the physical/link/network protocol(s) immediately "below" IP in the protocol stack.

Access: read-only

Status: mandatory

OBJECT: ifMtu { ifEntry 4 }

Syntax: INTEGER

Definition: The size of the largest IP datagram which can be sent/received on the interface, specified in octets.

Access: read-only

Status: mandatory

OBJECT: ifSpeed { ifEntry 5 }

Syntax: Gauge

Definition: An estimate of the interface's current bandwidth in bits per second. For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.

Access: read-only

Status: mandatory

OBJECT: ifPhysAddress { ifEntry 6 }

Syntax: OCTET STRING

Definition: The interface's address at the protocol layer immediately "below" IP in the protocol stack. For interfaces which do not have such an address (e.g., a serial line), this object should contain an octet string of zero length.

Access: read-only

Status: mandatory

OBJECT: ifAdminStatus { ifEntry 7 }

Syntax:

INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}

Definition: The desired state of the interface. The testing(3) state indicates that no operational packets can be passed.

Access: read-write

Status: mandatory

OBJECT: ifOperStatus { ifEntry 8 }

Syntax:

INTEGER {
up(1), -- ready to pass packets
down(2),
testing(3) -- in some test mode
}

Definition: The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed.

Access: read-only

Status: mandatory

OBJECT: ifLastChange { ifEntry 9 }

Syntax: TimeTicks

Definition: The 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 this object contains a zero value.

Access: read-only

Status: mandatory

OBJECT: ifInOctets { ifEntry 10 }

Syntax: Counter

Definition: The total number of octets received on the interface, including framing characters.

Access: read-only

Status: mandatory

OBJECT: ifInUcastPkts { ifEntry 11 }

Syntax: Counter

Definition: The number of (subnet) unicast packets delivered to a higher-layer protocol.

Access: read-only

Status: mandatory

OBJECT: ifInNUcastPkts { ifEntry 12 }

Syntax: Counter

Definition: The number of non-unicast (i.e., subnet broadcast or subnet multicast) packets delivered to a higher-layer protocol.

Access: read-only

Status: mandatory

OBJECT: ifInDiscards { ifEntry 13 }

Syntax: Counter

Definition: The 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.

Access: read-only

Status: mandatory

OBJECT: ifInErrors { ifEntry 14 }

Syntax: Counter

Definition: The number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.

Access: read-only

Status: mandatory

OBJECT: ifInUnknownProtos { ifEntry 15 }

Syntax: Counter

Definition: The number of packets received via the interface which were discarded because of an unknown or unsupported protocol.

Access: read-only

Status: mandatory

OBJECT: ifOutOctets { ifEntry 16 }

Syntax: Counter

Definition: The total number of octets transmitted out of the interface, including framing characters.

Access: read-only

Status: mandatory

OBJECT: ifOutUcastPkts { ifEntry 17 }

Syntax: Counter

Definition: The total number of packets that higher-level protocols requested be transmitted to a subnet-unicast address, including those that were discarded or not sent.

Access: read-only

Status: mandatory

OBJECT: ifOutNUcastPkts { ifEntry 18 }

Syntax: Counter

Definition: The total number of packets that higher-level protocols requested be transmitted to a non-unicast (i.e., a subnet broadcast or subnet multicast) address, including those that were discarded or not sent.

Access: read-only

Status: mandatory

OBJECT: ifOutDiscards { ifEntry 19 }

Syntax: Counter

Definition: The 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.

Access: read-only

Status: mandatory

OBJECT: ifOutErrors { ifEntry 20 }

Syntax: Counter

Definition: The number of outbound packets that could not be transmitted because of errors.

Access: read-only

Status: mandatory

OBJECT: ifOutQLen { ifEntry 21 }

Syntax: Gauge

Definition: The length of the output packet queue (in packets).

Access: read-only

Status: mandatory