雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1207|回复: 5

思科防火墙ASA 密码恢复

[复制链接]
发表于 2013-5-21 16:19:06 | 显示全部楼层 |阅读模式

当ASA镜像文件丢失时,系统恢复步骤

rommon #0> address x.x.x.x

rommon #1> server x.x.x.x

rommon #2> gateway x.x.x.x         

rommon #2> interface GigabitEthernet0/1

GigabitEthernet0/1

MAC Address: 000f.f775.4b54

rommon #3> file asa821-k8.bin

查看:rommon #2> set

开始下载:rommon #5> tftpdnld

当ASA密码丢失时,密码恢复步骤:

1、使用BREAK or ESC进入ROMMON模式

2、修改confreg

rommon #0> confreg

Current Configuration Register: 0x00000001

Configuration Summary:

boot default image from Flash

Do you wish to change this configuration? y/n [n]: y    //修改寄存器值

enable boot to ROMMON prompt? y/n [n]:

enable TFTP netboot? y/n [n]:

enable Flash boot? y/n [n]:

** specific Flash image index? y/n [n]:

disable system configuration? y/n [n]: y    //不加载配置

go to ROMMON prompt if netboot fails? y/n [n]:

enable passing NVRAM file specs in auto-boot mode? y/n [n]:

disable display of BREAK or ESC key prompt during auto-boot? y/n [n]:

Current Configuration Register: 0x00000040

3、重启设备rommon #1> boot

4、之前的初始配置覆盖当前配置 ciscoasa# copy startup-config running-config

5、修改密码

ciscoasa# config terminal

ciscoasa(config)# passwd C1$c0123

ciscoasa(config)# enable password C1$c0123

5、修改寄存器  ciscoasa(config)# config-register 0x1

6、保存  ciscoasa#write


发表于 2013-5-21 22:57:42 | 显示全部楼层
沙发~  感谢强哥分享~
 楼主| 发表于 2013-5-22 09:26:06 | 显示全部楼层
zhangaxyoyo 发表于 2013-5-21 22:57
沙发~  感谢强哥分享~

感谢香姐支持。
发表于 2013-12-6 13:47:09 | 显示全部楼层
回复

使用道具 举报

发表于 2014-1-5 11:50:26 | 显示全部楼层
这个可以有~
发表于 2014-4-21 14:29:23 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-4-25 20:24 , Processed in 0.084442 second(s), 22 queries , Gzip On.

快速回复 返回顶部 返回列表