All MIBs › IF-MIB › ifHCInOctets
ifHCInOctets
Module: IF-MIB
OID (symbolic): IF-MIB::ifHCInOctets
OID (numeric): 1.3.6.1.2.1.31.1.1.1.6
Node type: OBJECT-TYPE
Type: Counter64
Access: read-only
Description: The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets.
Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
What is ifHCInOctets?
This is a 64-bit counter of the total octets received on the interface, including framing characters, serving as the high-capacity version of the older 32-bit ifInOctets. It matters because on fast interfaces a 32-bit counter can wrap around in well under a minute, making bandwidth graphs unreliable, whereas the 64-bit counter stays accurate for practical polling intervals. For instance, a monitoring system polls ifHCInOctets every 5 minutes on a 10-gigabit uplink to compute inbound throughput without worrying about counter rollover.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.6 snmpwalk -v2c -c public <target> IF-MIB::ifHCInOctets
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.31.1.1.1.6.1 snmpget -v2c -c public <target> IF-MIB::ifHCInOctets.1
Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IF-MIB::ifHCInOctets OID value, configure state conditions and alerts, and monitor any SNMP-managed network devices from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.31 | ifMIB | IF-MIB |
| 1.3.6.1.2.1.31.1 | ifMIBObjects | IF-MIB |
| 1.3.6.1.2.1.31.1.1 | ifXTable | IF-MIB |
| 1.3.6.1.2.1.31.1.1.1 | ifXEntry | IF-MIB |
| 1.3.6.1.2.1.31.1.1.1.6 | ifHCInOctets | IF-MIB |