hwSysWorkMode

HUAWEI-DEVICE-MIB · .1.3.6.1.4.1.2011.6.3.1.5

Object

scalar Enumeration
This object is used for obtaining the working mode of the UA5000.
Options:
1. amsanamsan(1)     -indicates that the active and standby control boards are in position,
                      with the active control board of AMSAN and the standby control board of AMSAN
2. amsancmsan(2)     -indicates that the active and standby control boards are in position,
                      with the active control board of AMSAN and the standby control board of CMSAN
3. cmsancmsan(3)     -indicates that the active and standby control boards are in position,
                      with the active control board of CMSAN and the standby control board of CMSAN
4. cmsanamsan(4)     -indicates that the active and standby control boards are in position,
                      with the active control board of CMSAN and the standby control board of AMSAN
5. amsanoffline(5)   -indicates that the standby control board is not in position and the active
                      control board is AMSAN
6. cmsanoffline(6)   -indicates that the standby control board is not in position and the active
                      control board is CMSAN
7. gmsangmsan(7)     -indicates that the active and standby control boards are in position,
                      with the active control board of GMSAN and the standby control board of GMSAN
8: amsangmsan(8)     -indicates that the active and standby control boards are in position,
                      with the active control board of AMSAN and the standby control board of GMSAN
9. gmsanamsan(9)     -indicates that the active and standby control boards are in position,
                      with the active control board of GMSAN and the standby control board of AMSAN
10. cmsangmsan(10)   -indicates that the active and standby control boards are in position,
                      with the active control board of CMSAN and the standby control board of GMSAN
11. gmsancmsan(11)   -indicates that the active and standby control boards are in position,
                      with the active control board of GMSAN and the standby control board of CMSAN
12.gmsanoffline(12)  -indicates that the standby control board is not in position and the active
                      control board is GMSAN
13.independent(13)   -indicates that the working mode of the current subrack is independent
14.stack(14)         -indicates that the working mode of the current subrack is stack
15. null(65536)      -indicates that the system work mode is not set

Context

MIB
HUAWEI-DEVICE-MIB
OID
.1.3.6.1.4.1.2011.6.3.1.5
Type
scalar
Access
readonly
Status
current
Parent
hwSystemPara

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1dataCollected
2dataNotCollected
3completed
4inprogress