Cisco ASA 5505 – 无需重置为默认configuration即可重新加载

我现在两次在ASA 5505版本的控制台上运行“reload”命令。 9.1(3),它完全擦除了我的configuration,并重置为出厂默认设置。 在重新加载之前,我已经确认了我的内存。

我看到一篇关于必须将configuration寄存器更改为0x1以避免擦除所有内容的文章,但这似乎极不合常理,为了节省我所有的努力,我不得不手动更改一个难以理解的寄存器值。 当然,ASA没有configuration为默认擦除所有内容…

我真的觉得我在这里错过了一些东西。 如何使用IOS 9.1正确重启ASA 5505?

于是查找了ASA设备的重置密码 ,发现寄存器0x41告诉路由器忽略启动configuration。 您需要执行以下操作来重新启动启动configuration并更改寄存器:

步骤11通过input以下命令访问特权EXEC模式:

hostname# enable

步骤12当提示input密码时,按Enter键。

密码是空白的。

步骤13通过input以下命令加载启动configuration:

hostname# copy startup-config running-config

步骤14通过input以下命令访问全局configuration模式:

hostname# configure terminal

步骤15通过input以下命令,根据需要在默认configuration中更改密码:

hostname(config)# password password

hostname(config)# enable password password

hostname(config)# username name password password

步骤16通过input以下命令加载默认configuration:

hostname(config)# no config-register

默认的configuration寄存器值是0x1。 有关configuration寄存器的更多信息,请参阅“Cisco ASA 5500系列命令参考”。

步骤17input以下命令,将新密码保存到启动configuration中:

hostname(config)# copy running-config startup-config