每人,每天,做好每件事
Everyone,Everyday,Everything

CISCO ASA5510 清除密码

  1. Connect to the security appliance console port according to the “Accessing the Command-Line连接console口
  2. Power off the security appliance, and then power it on   重启设备
  3. During the startup messages, press the Escape key when prompted to enter ROMMON.
    按照ESC键进入ROMMON模式(相当于PC的BIOS模式)
  4. To set the security appliance to ignore the startup configuration at reload, enter the following command:
    rommon #1> confreg运行confreg命令类似更改注册表
    The security appliance displays the current configuration register value, and asks if you want to changethe value:
    Current Configuration Register: 0x00000011           要记住这个register的值
    Configuration Summary:
    boot TFTP image, boot default image from Flash on netboot failure
    Do you wish to change this configuration? y/n [n]:       提示是否更改配置选择Y
  5. Record your current configuration register value, so you can restore it later
  6. At the prompt, enter Y to change the value.
    The security appliance prompts you for new values.
  7. Accept the default values for all settings, except for the “disable system configuration?” value; at thatprompt, enter Y.    这一项输入Y其他用默认值
  8. Reload the security appliance by entering the following command:
    rommon #2> boot继续用默认配置启动系统
    The security appliance loads a default configuration instead of the startup configuration.
  9. Enter privileged EXEC mode by entering the following command:
    hostname> enable
  10. When prompted for the password, press Return.
    The password is blank.默认enable密码为空
  11. Load the startup configuration by entering the following command:
    hostname# copy startup-config running-config导入原先的配置
  12. Enter global configuration mode by entering the following command:
    hostname# configure terminal
  13. Change the passwords in the configuration by entering the following commands, as necessary:
    hostname(config)# password password
    hostname(config)# enable password password更改enable密码
    hostname(config)# username name password password  创建新用户和密码
  14. Change the configuration register to load the startup configuration at the next reload by entering thefollowing command:
    hostname(config)# config-register value               用默认的0x1就可以
    Where value is the configuration register value you noted in Step 5. 0x1 is the default configuration  For more information about the configuration register, see the Cisco Security Appliance Command Reference.
  15. Save the new passwords to the startup configuration by entering the following command:
    hostname(config)# copy running-config startup-config保存配置
赞(0) 打赏
未经允许不得转载:辣椒小鱼のBlog » CISCO ASA5510 清除密码
分享到: 更多 (0)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

×
订阅图标按钮