IF-MIB :: ifTestStatus

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsIF-MIBifTestStatus

ifTestStatus

Module: IF-MIB

OID (symbolic): IF-MIB::ifTestStatus

OID (numeric): 1.3.6.1.2.1.31.1.3.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: This object indicates whether or not some manager currently has the necessary 'ownership' required to invoke a test on this interface. A write to this object is only successful when it changes its value from 'notInUse(1)' to 'inUse(2)'. After completion of a test, the agent resets the value back to 'notInUse(1)'.

What is ifTestStatus?

This deprecated read-write object shows whether a manager currently holds the 'ownership' needed to run a test on the interface, with notInUse(1) meaning free and inUse(2) meaning a test is active; a write only succeeds when it flips the value from notInUse to inUse. The agent automatically resets it back to notInUse(1) once the test finishes, so it doubles as a busy/done flag. For example, a manager sets ifTestStatus to inUse(2) to claim the interface for a diagnostic loopback test, and the agent flips it back to notInUse(1) once the test completes.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.31.1.3.1.2
snmpwalk -v2c -c public <target> IF-MIB::ifTestStatus

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.31.1.3.1.2.1
snmpget -v2c -c public <target> IF-MIB::ifTestStatus.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.2.1.31.1.3.1.2.1 i <value>

Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IF-MIB::ifTestStatus 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.2mgmtAXON-MIB
1.3.6.1.2.1mib_2AXON-MIB
Numeric OIDNameModule
1.3.6.1.2.1.31ifMIBIF-MIB
1.3.6.1.2.1.31.1ifMIBObjectsIF-MIB
1.3.6.1.2.1.31.1.3ifTestTableIF-MIB
1.3.6.1.2.1.31.1.3.1ifTestEntryIF-MIB
1.3.6.1.2.1.31.1.3.1.2ifTestStatusIF-MIB