All MIBs › RFC1229-MIB › ifExtnsTestCode
ifExtnsTestCode
Module: RFC1229-MIB
OID (symbolic): RFC1229-MIB::ifExtnsTestCode
OID (numeric): 1.3.6.1.2.1.12.2.1.6
Node type: OBJECT-TYPE
Type: OBJECT IDENTIFIER
Access: read-only
Description: This object contains a code which contains more specific information on the test result, for example an error-code after a failed test. Error codes and other values this object may take are specific to the type of interface and/or test. However, one subject identifier:
testCodeUnknown OBJECT IDENTIFIER ::= { 0 0 }
for use if no additional result code is available. Note that testCodeUnknown is a syntactically valid object identifier, and any conformant implementation of ASN.1 and the BER must be able to generate and recognize this value.
What is ifExtnsTestCode?
This object carries a code with more specific detail about the outcome of the most recent interface test, such as an error code following a failed test. Because the meaning of specific codes is defined per interface and test type, admins use it alongside ifExtnsTestResult to pinpoint the exact failure reason rather than just knowing a test failed. If no additional detail is available, the agent returns the reserved value testCodeUnknown ({0 0}).
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.2.1.12.2.1.6 snmpwalk -v2c -c public <target> RFC1229-MIB::ifExtnsTestCode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.2.1.12.2.1.6.1 snmpget -v2c -c public <target> RFC1229-MIB::ifExtnsTestCode.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> ifExtnsTestCode.1
Start monitoring vendor-neutral, standards-based MIB, router/bridge/NIC with IEEE 802.5 Token Ring interfaces with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the RFC1229-MIB::ifExtnsTestCode OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB, router/bridge/NIC with IEEE 802.5 Token Ring interfaces from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.12 | ifExtensions2 | LBHUB-BOOM-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.12.2 | ifExtnsTestTable | RFC1229-MIB |
| 1.3.6.1.2.1.12.2.1 | ifExtnsTestEntry | RFC1229-MIB |
| 1.3.6.1.2.1.12.2.1.6 | ifExtnsTestCode | RFC1229-MIB |