I have an SNMP issue with the community name.
The default name is "public"
. When I tried to change it to anther one, I find that I can walk the SNMP with two name "public"
and "loreal"
(giving the command snmpwalk
) without apparent errors, like in lines below :
C:\>snmpwalk -v1 -c LOREAL 128.86.201.207 enterprises.683.3.3.0
SNMPv2-SMI::enterprises.683.3.3.0 = STRING: "LOREAL"
C:\>snmpwalk -v1 -c public 128.86.201.207 enterprises.683.3.3.0
SNMPv2-SMI::enterprises.683.3.3.0 = STRING: "LOREAL"
But when I use the command snmpSET
, I can't use the new name ("LOREAL")
to change value
C:\>snmpset -v1 -c LOREAL 128.86.201.207 enterprises.683.3.3.0 s SWAT
Timeout: No Response from 128.86.201.207
C:\>snmpset -v1 -c public 128.86.201.207 enterprises.683.3.3.0 s SWAT
SNMPv2-SMI::enterprises.683.3.3.0 = STRING: "SWAT"
Why this happens, how can I definitively change or delete the "public"
and use only "LOREAL" for the snmpset/get
commands?
Notes:
Я нашел решение этой проблемы, моя проблема заключалась в версии прошивки для этих принтеров.
модель принтеров ZT230-200dpi ZPL
и версия Прошивка была V72.19.1Z
, поэтому, когда я пытаюсь изменить Имя сообщества с помощью команд zpl
, команды выполнялись неправильно.
Я обновил прошивку до V72. 20.1Z
, и я попытался отправить команды zpl
, теперь у меня есть ответ от получение / установка SNMP
, и я могу изменить значения с помощью выбранного имени сообщества