asa
asa(config)# dir                                                                                           
 //显示文件目录
copy disk0:/asa707-k8.bin tftp://192.168.1.149/ asa707-k8.bin      
//将原有IOS文件备份到TFTP服务器上
copy disk0:/asdm507.bin tftp://192.168.1.149/asdm507.bin          
//将原有asdm文件备份到TFTP服务器上
copy tftp://192.168.1.149/asa803-k8.bin disk0:/asa803-k8.bin      
 //将新的IOS文件从TFTP服务器上拷贝到ASA中
copy tftp://192.168.1.149/asdm-603.bin disk0:/asdm-603.bin       
//将新的IOS文件从TFTP服务器上拷贝到ASA中
asa(config)# dir                                                                                         
 //再次显示目录,检查文件是否拷贝成功
asa(config)# no boot system disk0:/asa707-k8.bin                             
//取消原来的启动文件关联
asa(config)# dir
asa(config)# boot system disk0:/asa803-k8.bin
asa(config)# asdm image disk0:/asdm-603.bin                                  
//设置IOS文件及ASDM文件的关联
Device Manager image set, but not a valid image file disk0:/asdm-603.bin
//由于新的IOS文件在重新启动前并未生效,所以会提示新的ASDM镜像在设置关联的时候会提示无效。
asa(config)# exit
asa# wr                                                                                                     
//保存配置
asa# reload                                                                                             
//重新启动路由器之前新的IOS不会生效
Cisco asa 5510升级IOS和ASDM
    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
CISCOASA>ena                                          进入特权模式
CISCOASA#conf
t                                       进入配置模式
CISCOASA(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,运行tftp,设置目录,传输文件
CISCOASA(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
CISCOASA(config)# copy disk0:/asa721-k8.bin
tftp://192.168.1.2/asa721-k8.bin
。。。。。。
CISCOASA(config)# copy disk0:/asdm521.bin
tftp://192.168.1.2/asdm521.bin
。。。。。。
show
run                      
把当前的配置也要备份,以免操作失误所有配置都没了
。。。。。。
。。。。。。
  4、删除以前老的文件(也可以保留再用delete命令)
CISCOASA(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
CISCOASA(config)# dir
Directory
of disk0:/
No files in
directory
255426560
bytes total (255401984 bytes free)
 5、用上面的命令上传最新的文件
CISCOASA(config)# copy tftp://192.168.1.2/asa802-k8.bin
disk0:/asa802-k8.bin
CISCOASA(config)# copy tftp://192.168.1.2/asdm-602.bin
disk0:/asdm-602.bin  
CISCOASA(config)# copy tftp://192.168.1.2/asa721-k8.bin
disk0:/asa721-k8.bin
CISCOASA(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、设置启动文件
CISCOASA(config)# no boot system
disk0:/asa721-k8.bin    取消之前的启动IOS
CISCOASA(config)# boot system disk0:/asa802-k8.bin
CISCOASA(config)# asdm image
disk0:/asdm602.bin            设置asdm
CISCOASA(config)#
reload                        重新启动,配置生效

Cisco asa 5510升级IOS和ASDM的更多相关文章

  1. CISCO ASA 5505 经典配置案例

    nterface Vlan2 nameif outside  ----------------------------------------对端口命名外端口  security-level 0 -- ...

  2. cisco ASA ios升级或恢复

    cisco ASA ios升级或恢复 一.升级前准备工作 1.准备好所要升级的IOS文件及对应的ASDM文件 2.在一台电脑上架设好tftp,设置好目录,与防火墙进行连接(假设电脑IP为192.168 ...

  3. CISCO ASA 防火墙 IOS恢复与升级

    在IOS被误清除时的处理办法: 1.从tftp上的ios启动防火墙 防火墙启动后 ,按“ESC”键进入监控模式 rommon #2> ADDRESS=192.168.1.116 rommon # ...

  4. Cisco ASA 使用ASDM 配置管理口 方法

    CISCO ASA防火墙ASDM安装和配置 准备一条串口线一边接台式机或笔记本一边接防火墙的CONSOLE 接口,通过CRT或者超级终端连接ASA在用ASDM图形管理界面之前须在串口下输入一些命令开启 ...

  5. Cisco ASA 高级配置

    Cisco ASA 高级配置 一.防范IP分片攻击 1.Ip分片的原理: 2.Ip分片的安全问题: 3.防范Ip分片. 这三个问题在之前已经详细介绍过了,在此就不多介绍了.详细介绍请查看上一篇文章:I ...

  6. Cisco ASA使用证书加密

    使用ASDM配置HTTPS证书加密anyconnect连接 一.在没有使用证书的情况下每次连接VPN都会出现如下提示 ASA Version: 8.4.(1) ASDM Version: 6.4.(7 ...

  7. Cisco ASA端口映射

    Cisco ASA 端口映射设置 1.使用ASDM进入到配置页面,点开NAT Rules,然后新增Network Object,NAT选项如下图所示设定. 下图设定外网IP映射到内网IP地址192.1 ...

  8. CVE-2020-3452 CISCO ASA远程任意文件读取漏洞

    0x01 漏洞描述     Cisco官方 发布了 Cisco ASA 软件和 FTD 软件的 Web 接口存在目录遍历导致任意文件读取 的风险通告,该漏洞编号为 CVE-2020-3452.     ...

  9. Cisco ASA 配置案例---anyconnect拨通后所有流量从服务器端出去

    一.目的: 1.Cisco ASA之Lan端能正常上网. 2.anyconnect端所有流量从Cisco ASA的Outside出去. 3.anyconnect端能访问Cisco ASA的Inside ...

随机推荐

  1. CSS3与页面布局学习总结(三)——BFC、定位、浮动、垂直居中

    一.BFC与IFC 1.1.BFC与IFC概要 BFC(Block Formatting Context)即“块级格式化上下文”, IFC(Inline Formatting Context)即行内格 ...

  2. Kafka源码中的Producer Record定义

    1.ProducerRecord 含义: 发送给Kafka Broker的key/value 值对 2.内部数据结构: -- Topic (名字) -- PartitionID ( 可选) -- Ke ...

  3. Python [Leetcode 345]Reverse Vowels of a String

    题目描述: Write a function that takes a string as input and reverse only the vowels of a string. Example ...

  4. 【转】关于Python脚本开头两行的:#!/usr/bin/python和# -*- coding: utf-8 -*-的作用 – 指定文件编码类型

    原文网址:http://www.crifan.com/python_head_meaning_for_usr_bin_python_coding_utf-8/ #!/usr/bin/python 是用 ...

  5. 如何正确选择MySQL数据列类型

    MySQL数据列类型选择是在我们设计表的时候经常会遇到的问题,下面就教您如何正确选择MySQL数据列类型,供您参考学习. 选择正确的数据列类型能大大提高数据库的性能和使数据库具有高扩展性.在选择MyS ...

  6. suse linux环境变量设置

    以在suse上安装jdk1.5为例说明: 安装jdk1.5完毕后,就可以配置环境变量了. su  root XXXXXX // 键入管理员密码 对于suse来说,只需在/etc/profile 文件后 ...

  7. Android 中像素px和dp的转化

    在Android的布局文件中,往往使用dp作为控件的宽度和高度尺寸,但是在Java代码中,调用getWidth()方法获得的尺寸单位却是像素px,这两个单位有明显的区别:dp和屏幕的密度有关,而px与 ...

  8. nginx 的模块及处理流程

         nginx的内部结构是由核心部分和一系列的功能模块所组成.这样划分是为了使得每个模块的功能相对简单,便于开发,同时也便于对系统进行功能扩展.这样的模块化设计类似于面向对象中的接口类,它增强了 ...

  9. 【LeetCode】111 - Minimum Depth of Binary Tree

    Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shor ...

  10. 面试java简答题

    1.  sleep() 和 wait() 有什么区别? 答:1.这两个方法来自不同的类分别是Thread和Object      2.最主要是sleep方法没有释放锁,而wait方法释放了锁,使得其他 ...