cisco asa 5525 密码重置

链接参考:https://community.cisco.com/t5/security-knowledge-base/asa-password-recovery/ta-p/3126046
cisco c3850密码重围链接参考 https://community.cisco.com/t5/networking-knowledge-base/password-recovery-on-cisco-catalyst-3850/ta-p/3154378

忘记 Cisco ASA 5525 登录密码时,你可以通过密码恢复的方式来重新设置密码。请注意,密码恢复过程可能需要物理访问设备。以下是一般的密码恢复步骤:

物理访问设备: 如果你能够物理访问 Cisco ASA 设备,可以通过以下步骤进行密码恢复。

  1. 重新启动设备: 通过重新启动 ASA 设备,进入设备的 ROMMON 模式。这通常可以通过控制台端口进行。
    按 Escape 按进入
    访问 ROMMON 模式: 在 ROMMON 模式下,输入以下命令:
rommon #0> confreg 0x41
rommon #1>  confreg

下面会出现好多提示,直接选y 或第一个选项


he ASA displays the current configuration register value, and asks whether you want to change it:

 

Current Configuration Register: 0x00000041
Configuration Summary: 
  boot default image from Flash
  ignore system configuration
 
Do you wish to change this configuration? y/n [n]: y
  1. 到了输入命令的地址 按boot 执行重戾
    rommon #2> boot

  2. 重启完成后,输入 enable 进入特权模式。特权密码为默认的 cisco

  3. 进入特权模式后执行拷贝现有的配置文件 到running-config
    copy startup-config running-config

  4. 进入全局配置后修改密码 (找出帐号修改密码,下面是参考)

hostname(config)# password password
hostname(config)# enable password password
hostname(config)# username name password password
  1. 恢复原寄存器的值
    no config-register

  2. 保存配置
    copy running-config startup-config

  3. 重启设备,否则配置不生效
    reload

posted @ 2023-12-20 17:26  lifei888  阅读(352)  评论(0)    收藏  举报