Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
SNMP Command (snmpwalk for windows)
#1
command

snmpwalk -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.1.0

result
SNMPv2-SMI::enterprises.17095.3.1.0 = INTEGER: 1

Out0 value (relay state) values ​​in this digest, I am reading, there is no problem
Snmpwalk command (OUT0) to the relay, ON / OFF can
and values ​​which should I use the command

Thank You And Best Regards
<t></t>
Odpowiedz
#2
snmpset -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.1.0 i 0 , this command set out0 ON
snmpset -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.1.0 i 1 , this command set out0 OFF

snmpset -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.1.1 i 0 , this command set out1 ON
snmpset -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.1.1 i 1 , this command set out1 OFF
pozdrawiam
tomek
Odpowiedz
#3
thank you
great

okay out0
also fails to out1

snmpset -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.1.1 i
0
Error in packet.
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.17095.3.1.1.0
<t></t>
Odpowiedz
#4
should be snmpset -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.2.0 i 0 , this command set out1 ON
snmpset -v 2c -c public 192.168.1.100 .1.3.6.1.4.1.17095.3.2.0 i 1 , this command set out1 OFF

for out2 .1.3.6.1.4.1.17095.3.3.0
out3 .1.3.6.1.4.1.17095.3.4.0
out4 .1.3.6.1.4.1.17095.3.5.0
pozdrawiam
tomek
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 3 gości