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.
Integer and enumeration
Decode SNMP enum values
Translate common integer values from IF-MIB interface status and HOST-RESOURCES-MIB device status into readable states.
ifOperStatus(7)
lowerLayerDown
a lower-layer interface is down
An INTEGER label is defined by a MIB. Vendor-specific enumerations need the matching vendor MIB. A raw number without its object name may have a different meaning.
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 to identify the object before interpreting it.