---
type: Article
title: "SNMP Enum Decoder | IF-MIB Status"
description: "Translate common IF-MIB and HOST-RESOURCES-MIB integer enumeration values into interface and device status labels."
resource: "https://snmp-monitoring.com/tools/snmp-enum-decoder/"
tags: [tools, snmp]
timestamp: 2026-07-13T00:00:00Z
---

# SNMP Enum Decoder

Resolve common integer status values from IF-MIB and HOST-RESOURCES-MIB. Enter an object name such as `ifOperStatus` and the integer returned by an SNMP GET or walk. The decoder displays the standard label when the object and value are in its built-in reference. An integer by itself is ambiguous because each MIB object can define its own enumeration.

## Common SNMP status enumerations

IF-MIB defines `ifAdminStatus` for the configured state of an interface and `ifOperStatus` for its current operational state. Values include up, down, testing, unknown, dormant, notPresent, and lowerLayerDown. Comparing the two can help identify an administratively disabled port versus a link that failed below it.

HOST-RESOURCES-MIB defines `hrDeviceStatus` with states such as running, warning, testing, down, and notPresent. These labels are defined by the MIB syntax. The agent returns an integer, and a MIB-aware tool uses the object definition to render its symbolic name.

## Why object context matters

The value `2` does not universally mean down. It means the second enumeration for a particular object. For `ifAdminStatus`, 2 is down. For another object, the second value could have an entirely different meaning. Always include the object name or OID when decoding a raw integer, and check the MIB used by the device.

Vendor MIBs define additional states for fans, power supplies, disks, and other hardware. Their values may resemble standard enums but must be interpreted according to the vendor's MIB. If a value is not listed, search the relevant MIB definition or use the [OID lookup tool](/tools/snmp-oid-lookup.md) to identify the object before interpreting it.

## FAQ

**What does ifOperStatus 7 mean?** In IF-MIB, 7 is `lowerLayerDown`, indicating that an interface is down because a lower-layer interface is down.

**Is integer 2 always the down state?** No. Enumerated values are specific to an object's MIB definition.

**Can this decode vendor-specific values?** The built-in list includes selected standard objects. Vendor-specific enumerations require that vendor's MIB file.

## Conclusion

Use both the OID and integer value to resolve an enumeration safely. For context from a full response, paste the output into the [SNMP walk decoder](/tools/snmp-walk-decoder.md) and consult the [interface status OID guide](/sensors/network/interface-info.md).
