snmpwalk -v1 -c public $ip enterprises.10642.;

  snmpget -v1 -c public $ip enterprises.10642.;

  snmpset -v1 -c public $ip enterprises.10642. s 1664 ;

the snmpset was working with me fine before changed the community name from "public" to "loreal" after the change the snmpget is respond but the snmpset not respond >>>

C:\>snmpGet -v1 -c loreal $ip
SNMPv2-SMI::enterprises.10642. = STRING: "********"

C:\>snmpSet -v1 -c loreal $ip s 1664
Timeout: No Response from

SO anybody have an idea!!

  • Obvious question: Did you actually change the community string on the target device? – Darren Sep 7 '17 at 14:19
  • YES OF COURSE I changed with zpl command , this command line special for zebra printer – yazan Sep 7 '17 at 14:35
  • The read community string is working, which suggests there is a separate one for write. Have you tried the snmpset with the old string? – Paul Sep 10 '17 at 22:05
  • @Paul YOU have right the problem was in the ZPL command , I edited the command line and it's work now. thanks :) – yazan Sep 11 '17 at 8:36

You can change CommunityName in ZEPRA printer by sending the commands ZPLII.

for more information: ZPL II Programming Guide

Description ^NN command: Use this command to set the Simple Network Management Protocol (SNMP) parameters. Format ^NNa,b,c,d,e,f





We can change it with SGD commands

! U1 setvar "ip.snmp.get_community_name" "TEST"

! U1 setvar "ip.snmp.set_community_name" "TEST"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.