1,通過Console口連接設(shè)備
2,密碼恢復(fù)程序
在設(shè)備啟動過程中,迅速按ESC或CTRL+BREAK 鍵進(jìn)入Rommon狀態(tài)。
rommon #0>
然后我們打入命令confreg 0x41,進(jìn)行配置寄存器值的修改.如下
rommon #1> confreg 0x41
Update Config Register (0x41) in NVRAM…
修改后,就可以重啟,輸入 " boot " 如下。
rommon #2> boot
啟動成功進(jìn)入ASA以后,enable密碼為空.
輸入 enable 如下。
ciscoasa> enable
password這步直接敲回車。現(xiàn)在ASA 密碼為空。如下
Password: 密碼為空,直接敲回車。
然后輸入如下命令。。
ciscoasa# copy startup-config running-config
ciscoasa# configure terminal
然后設(shè)置新的enable密碼為cisco
ciscoasa(config)# enable password cisco
然后必須修改回原來的配置寄存器的值,命令如下。
ciscoasa(config)# config-register 0x11
最后必須保存配置文件,切記,否則新密碼無效,命令如下。
ciscoasa(config)# copy running-config startup-config