hwMgStatus

HUAWEI-VOIP-ONT-MIB · .1.3.6.1.4.1.2011.6.36.11.2.1.2

Object

column Enumeration
Mg Status.
Options:
1.registering(1) -indicates the mg status is registering. 
2.registerok(2)  -indicates the mg status is register sucessfully
3.malfunction(3) -indicates the mg status is malfunction
4.logout(4)      -indicates the mg status is log-out
5.rebooting(5)   -indicates the mg status is rebooting 
6.protocolincorrect(255) -indicates the protocol is incorrect  
7.other(-1)      -other

Context

MIB
HUAWEI-VOIP-ONT-MIB
OID
.1.3.6.1.4.1.2011.6.36.11.2.1.2
Type
column
Access
readonly
Status
current
Parent
hwMgStatusEntry

Walk 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-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-ONT-MIB::hwMgStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VOIP-ONT-MIB::hwMgStatus.<hwVoiceIfIndex>.<hwVoiceOntIndex>.<hwVoiceOntMgId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VOIP-ONT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VOIP-ONT-MIB::hwMgStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1other
1registering
2registerok
3malfunction
4logout
5rebooting
255protocolincorrect