hwTestClearedReason

HUAWEI-COMMTEST-MIB · .1.3.6.1.4.1.2011.6.21.1.2.1.2.1

Object

scalar Enumeration
Definition of the test-canceling reasons.
Options:
1. testBoardFail(1)              -the test-canceling reason is testBoardFail 
2. testedBoardFail(2)            -the test-canceling reason is testedBoardFail
3. userCmd(3)                    -the test-canceling reason is userCmd
4. switchOver(4)                 -the test-canceling reason is switchOver
5. anotherMainBoardIsTesting(5)  -the test-canceling reason is anotherMainBoardIsTesting
6. unknowError(255)              -the test-canceling reason is unknowError

Context

MIB
HUAWEI-COMMTEST-MIB
OID
.1.3.6.1.4.1.2011.6.21.1.2.1.2.1
Type
scalar
Access
notifyonly
Status
current
Parent
hwTestCommonVbOidsReason

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-COMMTEST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-COMMTEST-MIB::hwTestClearedReason.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-COMMTEST-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-COMMTEST-MIB::hwTestClearedReason'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1testBoardFail
2testedBoardFail
3userCmd
4switchOver
5anotherMainBoardIsTesting
255unknowError