hwDGOnOffControl

EMAP-MIB · .1.3.6.1.4.1.2011.6.164.1.12.2.1.1.19

Object

column r/w Enumeration
Power-on or power-off of the DG module, is an enumeration value. Users can modify the enumeration value of this node, thus controlling of the power-on or power-off of the DG module:
If the NMS notifies the SNMP agent that this node is set to 1, it indicates power-on of the DG module;
If the NMS notifies the SNMP agent that this node is set to 2, it indicates power-off of the DG module.
If the NMS notifies the SNMP agent that this node is set to 255, it indicates unknown of the DG module.

Context

MIB
EMAP-MIB
OID
.1.3.6.1.4.1.2011.6.164.1.12.2.1.1.19
Type
column
Access
readwrite
Status
current
Parent
hwDGEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1on
2off
255unknown