switchModulePowerOnOff

CME-MIB · .1.3.6.1.4.1.2.3.51.2.22.3.1.7.1.7

Object

column mandatory r/w Enumeration
I/O Module power on or power off.  If powering on a currently
powered off I/O Module, then the I/O Module will execute a POST.
The results of this POST will need to be retrieved using the 'Post Results'
command.
NOTE:
When powering off a currently powered on I/O Module, a minimum of 1 second
is needed to allow the module to power off before powering back on.
The value 'shutdownInProgress' is for I/O Modules that may take some time to
transition from 'poweron' to 'poweroff'.  
This MIB object can not be set, if MM grants the I/O Module the Protected Mode
permission and module goes into Protected Mode.

Context

MIB
CME-MIB
OID
.1.3.6.1.4.1.2.3.51.2.22.3.1.7.1.7
Type
column
Access
readwrite
Status
mandatory
Parent
smPowerRestartEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
0poweroff
1poweron
2shutdownInProgress