取消
显示结果 
搜索替代 
您的意思是: 
cancel
3317
查看次数
0
有帮助
0
评论
yanzha4
Spotlight
Spotlight
有客户说ROMMON模式下升级了IOS,但是重启还是进入ROMMON.
ROMMON模式下,IOS升级过程:
/. 查看 ASA 正常情况下 configuration register 是 0x1,如果是 0x0 那么就会进入 ROMMON 模式
1. ROMMON 下,配置:
rommon #1> ADDRESS=10.132.44.177 --- asa interface ip address
rommon #2> SERVER=10.129.0.30 --- tftp server ip address
rommon #3> GATEWAY=10.132.44.1 --- gateway ip address
rommon #4> IMAGE=asa800-232-k8.bin
rommon #5> PORT=Ethernet0/0 --- asa interface connects to tftp server
Ethernet0/0
Link is UP
MAC Address: 0012.d949.15b8
Note: Be sure that the connection to the network already exists
注意问题: 需要查看 tftp32 的 show dir 下面是否有 asa800-232-k8.bin 这个文件
2. 查看配置是否正确:在 ROMMON下,使用 set 命令

rommon #6> set
ROMMON Variable Settings:
ADDRESS=10.132.44.177
SERVER=10.129.0.30
GATEWAY=10.132.44.1
PORT=Ethernet0/0
VLAN=untagged
IMAGE=asa800-232-k8.bin
CONFIG=
LINKTIMEOUT=20
PKTTIMEOUT=4
RETRY=20
3. ping tftp server 查看连通性是否正确:
rommon #7> ping server
Sending 20, 100-byte ICMP Echoes to server 10.129.0.30, timeout is 4 seconds:
Success rate is 100 percent (20/20)
4. 通过tftp上传ios到asa:
rommon #8> tftp
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
出问题的地方: asa默认行为是,在rommon模式中上传完成IOS后,自动重启,但是此时的 IOS是加载在memory中的,而不是存储在flash中。因此虽然asa自动重启没有任何问题,但是,只要asa在次重启,又会找不到ios而进入rommon mode
The security appliance downloads the system image file in memory and boots up the device. However, the downloaded system image is not stored in flash.
可以通过 show flash: 查看,其中并没有刚才通过tftp下载的IOS文件
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5. 必须完成的操作:
现在我们将e0/0接口配置成 inside口,再次拷贝TFTPserver上的IOS
ASA#conf t
ASA(config)#int e0/0
ASA(config-if)#nameif inside
ASA(config-if)#ip add 192.168.1.1 255.255.255.0
ASA(config-if)#no sh
ASA#copy tftp: flash:
Tftp server IP address:192.168.1.2
Source file name:asa821-k8.bin
Destination file name: asa821-k8.bin
ASA#copy tftp: flash:
Tftp server IP address:192.168.1.2
Source file name: asdm-621.bin
Destination file name: asdm-621.bin
ASA(config)#boot system disk0:/asa821-k8.bin
ASA(config)#asdm image disk0:/asdm-621.bin
ASA(config)#wr
通过 重要的5个步骤,让ASA从ROMMON模式恢复。
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接