原文载于新浪微博:Cisco ASA 5505 密码、配置重置方法_yzbzz_新浪博客 http://blog.sina.com.cn/s/blog_76e0982f01013od3.html
感谢原文作者“”yzbzz“”文章的帮助。
以下方法已经在ASA5510上测试成功
1.重启防火墙出现
Use BREAK or ESC to interrupt boot.
Use SPACE to begin boot immediately.
2、按ESC键进入ROM Monitor模式,此时出现提示符rommon #0>
3、改变寄存器的值为0x41 rommon #0>confreg 0x41
4、输入reboot重启 rommon #1>reboot
5、重启过程会跳过输入密码的部分,此时看到提示符 ciscoasa>
6、这时可修改密码
ciscoasa>enable
Password:(密码为空)
ciscoasa#configure terminal
ciscoasa(config)#enable password XXX
7、将寄存器改回原值
ciscoasa(config)#config-register 0x01
8、保存当前配置
ciscoasa(config)#exit
ciscoasa#copy running-config startup-config
按回车确认
9、重新载入
ciscoasa#reload
PS:如要重置设置,可以***在步骤8之前***
ciscoasa(config)#configure factory-default