Networking

SNMP를 통한 CISCO장비 패스워드 복구

Cirrus.Kim 2015. 6. 9. 04:50

1. Read the config to a tftp serverà

"snmpset -c <write community string> <routerIP/name> .1.3.6.1.4.1.9.2.1.55.ipaddress.of.tftpserver octetstring <filename on server>"

2. Next edit the configuration substituting the new, plain text, enable secret password and save it back to a tftp server on the same network as the router.

"enable secret <new password>"

3. Then tell the router to boot the config on your tftp server (tftp server needs to be on the same subnet)à

"snmpset -c <write community string> <routerIP/name> .1.3.6.1.4.1.9.2.1.50.ip.address.of.tftpserver octetstring <filename on server>"

And the new config is running, telnet to the router and try your new passwordà then copy the running config to startupà