I am trying to add a user/pass to a switch that I lost login credentials, but it was unsuccessful. Any help would be appreciated.
two commands that I used, where 3.155 is tfpt server, where htest.txt file is stored.
====
snmpset -v 2c -c test *.120.112.49 1.3.6.1.4.1.9.9.96.1.1.1.1.5.222 a *.120.3.155
snmpset -v 2c -c test *.120.112.49 1.3.6.1.4.1.9.9.96.1.1.1.1.6.222 s htest.txt
=====
the htest.txt is only one line inside,
username hhh pass hhh
I do it from a linux box, this is that it reponses
[h@Jumper2 ~]$ snmpset -v 2c -c test *.120.112.49 1.3.6.1.4.1.9.9.96.1.1.1.1.5.222 a *.120.3.155
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.5.222 = IpAddress: *.120.3.155
[h@Jumper2 ~]$ snmpset -v 2c -c test *.120.112.49 1.3.6.1.4.1.9.9.96.1.1.1.1.6.222 s htest.txt
SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.6.222 = STRING: "htest.txt"
thanks,
Han