Cisco ASA 5510升级IOS和ASDM

----------------以下内容为我升级IOS的详细步骤-------------------------------------------------------
     show version                                           查看当前运行的系统信息,包括启动文件(即IOS)等
     show boot                                               查看当前的IOS信息
     show asdm image                                    查看当前运行的ASDM信息
     copy nvram:/filename tftp://ip/filename    用tftp协议进行文件传输
     boot system file                                       设置IOS启动文件
     asdm image file                                       设置asdm启动文件(用no是取消)
     erase / format                                           删除所有文件
     文件传输可以使用ftp,http,tftp等协议,建议使用tftp协议,简单易用。可以使用一般的路由器连接模式,也可以用console登陆,使用management口连接都行。
     1、telnet上asa
GZ5510>ena                                                             进入特权模式
GZ5510#conf t                                                          进入配置模式
GZ5510(config)# dir                                                   查看asa上的文件
Directory of disk0:/                                                    我的设备没有单独购买flash,所以文件位置在disk0
4879   -rw- 8202240     19:18:10 Nov 16 2011 asa721-k8.bin
2391   -rw- 5539756     00:43:38 Nov 05 2007 asdm521.bin
4842   drw- 0           18:51:24 Nov 16 2011 log
4843   drw- 0           18:51:36 Nov 16 2011 crypto_archive
255426560 bytes total (215465984 bytes free)
     2、找台PC,运行tftpd32.exe,设置目录,传输文件
GZ5510(config)# show ver                            命令解释看前面
Cisco Adaptive Security Appliance Software Version 7.2(1)
Device Manager Version 5.2(1)
。。。。。                                                                省略若干字
System image file is "disk0:/asa721-k8.bin"               这就是启动文件和路径
。。。。。
    3、备份上面dir的文件,我这里tftpd32.exe的PC的IP:192.168.1.2
GZ5510(config)# copy disk0:/asa721-k8.bin tftp://192.168.1.2/asa721-k8.bin
。。。。。。
GZ5510(config)# copy disk0:/asdm521.bin tftp://192.168.1.2/asdm521.bin
。。。。。。
show run                                                          把当前的配置也要备份,以免操作失误所有配置都没了
。。。。。。
。。。。。。
    4、删除以前老的文件(也可以保留再用delete命令)
GZ5510(config)# erase disk0:
Erase operation may take a while. Continue? [confirm]
Erase: Operation completed successfully.
Format: Drive communication & 1st Sector Write OK...
Format: All system sectors written. OK...
Format: Total sectors in formatted partition: 499168
Format: Total bytes in formatted partition: 255574016
Format: Operation completed successfully.
Erase of disk0: complete
GZ5510(config)# dir
Directory of disk0:/
No files in directory
255426560 bytes total (255401984 bytes free)
   5、用上面的命令上传最新的文件
GZ5510(config)# copy tftp://192.168.1.2/asa802-k8.bin disk0:/ asa821-k8
GZ5510(config)# copy tftp://192.168.1.2/asdm-602.bin disk0:/asdm-602.bin  
GZ5510(config)# copy tftp://192.168.1.2/asa721-k8.bin disk0:/asa721-k8.bin
GZ5510(config)# dir
Directory of disk0:/
5      -rw- 14524416    20:29:36 Oct 09 2008 asa802-k8.bin
1778   -rw- 6889764     20:31:10 Oct 09 2008 asdm-602.bin
2620   -rw- 8202240     20:33:04 Oct 09 2008 asa721-k8.bin   防止操作失当没有启动文件,再传回去
255426560 bytes total (225771520 bytes free)
    6、设置启动文件
GZ5510(config)# no boot system disk0:/ asa708-k8.bin          取消之前的启动IOS
GZ5510(config)# boot system disk0:/asa821-k8.bin
GZ5510(config)# asdm image disk0:/asdm-634-53.bin                 设置asdm
GZ5510(config)# reload                                                           重新启动,配置生效
  
  • 0
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值