Ändern Sie den Communit-Namen snmp über den Befehl zpl

450
yazan

Ich möchte den Community-Namen "snmp" für den Zebra-Drucker über zpl commandsden Community-Namen "snmp" ändern, den ich publicstandardmäßig versucht habe ^NN command, aber nichts ändert sich. Dies ist ein Beispiel:

^XA  ^NN,,,loreal,loreal,loreal  ^XZ 

Ich habe diesen Befehl in die Datei test.zpl geschrieben und sende ihn per FTP an den Drucker

Irgendeine Idee ??!

HINWEIS : ^NN – Set SNMP

Verwenden Sie diesen Befehl, um die SNMP-Parameter (Simple Network Management Protocol) festzulegen.

Format: ^NNa,b,c,d,e,f 

Parameterdetails

a = system name Same as printer name.  b = system contact Any contact information as desired (such as a name or phrase)  c = system location The printer’s model information.  d = get community name, Default: public  e = set community name Values: Up to 19 alphanumeric characters, Default: public  f = trap community name Values: Up to 20 alphanumeric characters, Default: public 
1

1 Antwort auf die Frage

1
yazan

Hi all I found the solution for this issue :

first I create file with ZPL II commands test.zpl inside the file I wrote this command :

^XA ^NN,,,test,test,test ^XZ 

seconde I contact with printer and send this file to the printer via FTP with command line :

c:> put c:\test.zpl 

third I restart the printer with sending ~JR command, and I walk the MIB tree.

snmpwalk -v1 -c TEST "address IP" enterprises.10642.20.10.10.5