hwISDNDiagnoseTestType
HUAWEI-NTEST-MIB ·
.1.3.6.1.4.1.2011.6.21.2.1.1.31.1.3
Object
column r/w
Enumeration
Test type. Options: 1. routinetest(1) -indicates routine test needs the port must be IS state, it only supports immediate test mode; 2. diagnosestest(2) -indicates diagnoses test needs the port must be OOS state, and Diagnose test supports deferred test mode.
Context
- MIB
- HUAWEI-NTEST-MIB
- OID
.1.3.6.1.4.1.2011.6.21.2.1.1.31.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwISDNDiagnoseTestEntry
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 'HUAWEI-NTEST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTEST-MIB::hwISDNDiagnoseTestType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-NTEST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-NTEST-MIB::hwISDNDiagnoseTestType.<hwISDNDiagnoseTestPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-NTEST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-NTEST-MIB::hwISDNDiagnoseTestType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | routinetest |
2 | diagnosestest |