In the past, I've used SNMP to download the config off the switch, edit the config, then load the edited config back up to it.
I used the Solarwinds SNMP tool.
will that procedure even I lost the Telnet password.How can I ask the switch/router to boot from the new config in tftp server if I loose the Telnet password??
Yep. You can reset the whole config using this method including setting new passwords and login/passwd's on the vty's if you wish.
So get the config:
snmpset -c <write community string> <switchIP/name> .1.3.6.1.4.1.9.2.1.55.ipaddress.of.tftpserver octetstring <filename on server>"
then edit the config using your favourite editor. make sure you get the command syntax EXACTLY correct!!
then write the config back to the switch
snmpset -c <write community string> <switchIP/name> .1.3.6.1.4.1.9.2.1.50.ip.address.of.tftpserver octetstring <filename on server>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.