IF-MIB :: ifTestType

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsIF-MIBifTestType

ifTestType

Module: IF-MIB

OID (symbolic): IF-MIB::ifTestType

OID (numeric): 1.3.6.1.2.1.31.1.3.1.3

Node type: OBJECT-TYPE

Type: AutonomousType

Access: read-write

Description: A control variable used to start and stop operator- initiated interface tests. Most OBJECT IDENTIFIER values assigned to tests are defined elsewhere, in association with specific types of interface. However, this document assigns a value for a full-duplex loopback test, and defines the special meanings of the subject identifier:

noTest OBJECT IDENTIFIER ::= { 0 0 }

When the value noTest is written to this object, no action is taken unless a test is in progress, in which case the test is aborted. Writing any other value to this object is

only valid when no test is currently in progress, in which case the indicated test is initiated.

When read, this object always returns the most recent value that ifTestType was set to. If it has not been set since the last initialization of the network management subsystem on the agent, a value of noTest is returned.

What is ifTestType?

This object specifies which diagnostic test to execute on an interface, with 'noTest' indicating no test is running. Tests are interface-type specific (e.g., loopback). Operators write test identifiers to initiate diagnostics and check ifTestResult and ifTestCode for pass/fail outcomes.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.2.1.31.1.3.1.3
snmpwalk -v2c -c public <target> IF-MIB::ifTestType

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.2.1.31.1.3.1.3.1
snmpget -v2c -c public <target> IF-MIB::ifTestType.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.2.1.31.1.3.1.3.1 s <value>

Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IF-MIB::ifTestType 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.3ifTestTypeIF-MIB