ifExtnsTestCode
RFC1229-MIB ·
.1.3.6.1.3.6.2.1.6
Object
column mandatory
ObjectIdentifier
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.
Context
- MIB
- RFC1229-MIB
- OID
.1.3.6.1.3.6.2.1.6- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- ifExtnsTestEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'RFC1229-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1229-MIB::ifExtnsTestCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RFC1229-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RFC1229-MIB::ifExtnsTestCode.<ifExtnsTestIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RFC1229-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RFC1229-MIB::ifExtnsTestCode'
Syntax
ObjectIdentifier
Values & Constraints
No enumerated values or constraints recorded.