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.
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 '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
1 | on |
2 | off |
255 | unknown |