All MIBs › IF-MIB › ifTestType
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>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 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.3 | ifTestTable | IF-MIB |
| 1.3.6.1.2.1.31.1.3.1 | ifTestEntry | IF-MIB |
| 1.3.6.1.2.1.31.1.3.1.3 | ifTestType | IF-MIB |