_____________________________________________________________________________
IP POWER PAGE 25 OF 32
Power outlet status and control using SNMP
Reading status:
snmpget -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.1.0
(read status of Power1)
snmpget -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.2.0 (
read status of Power2)
snmpget -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.3.0
(read status of Power3)
snmpget -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.4.0
(read status of Power4)
(Return value as “INTEGER: 1 :” means power ON
Return value as “INTEGER: 0 :” means power OFF)
_____________________________________________________________________________
IP POWER PAGE 26 OF 32
Control outlet command :
snmpset -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.1.0 integer 1
(turn on Power1)
snmpset -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.2.0 integer 0
(turn off Power2)
snmpset -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.3.0 integer 1
(turn on Power3)
snmpset -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.2.4.0 integer 0
(turn off Power4)
Power cycle outlet command :
snmpset -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.3.1.0 integer 1
(powercycle No1)
snmpset -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.3.2.0 integer 1
(powercycle No2)
snmpset -v 1 -c public 192.168.1.55 1.3.6.1.4.1.92.58.3.3.0 integer 1
(powercycle No3)