This article mainly introduces how to upgrade IOS and ASDM from the technical level, and provides the specific configuration process.
Show version: displays information about the currently running system, including the Startup File IOS.
Show boot: view the current IOS Information
Show asdm image: view the currently running ASDM Information
Copy nvram:/filename tftp: // ip/filename file transmission using the tftp protocol
Boot system file set IOS boot file
Asdm image file sets no to cancel the asdm Startup file)
Erase/format delete all files
The ftp, http, and tftp protocols can be used for file transmission. We recommend that you use the tftp protocol,
Easy to use. You can use the general router connection mode or use the console to log on,
The management port can be used for connection.
1. telnet asa
CISCOASA> ena enters privileged Mode
CISCOASA # conf t enters Configuration Mode
CISCOASA (config) # dir view files on the asa
Directory of disk0: // flash is not purchased separately, so the file location is 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. Find a PC, run tftp, set the directory, and transfer files
CISCOASA (config) # view the preceding description of the show ver command.
Cisco Adaptive Security Appliance Software Version 7.2 (1)
Device Manager Version 5.2 (1)
..... Omitted words
System image file is "disk0:/asa721-k8.bin" which is the Startup file and Path
.....
3) Upload the dirfile. In this example, the IP address of the PC of tftpd32.exe is 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
Back up the current configuration to avoid all configuration errors.
......
......
4. You can also use the delete command to delete old files)
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. Use the following command to upload the latest file.
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
Prevent improper operations without starting files and then upload them back
255426560 bytes total (225771520 bytes free)
6. Set the Startup File
CISCOASA (config) # no boot system disk0:/The asa721-k8.bin cancels the previous boot IOS
CISCOASA (config) # boot system disk0:/asa802-k8.bin
CISCOASA (config) # asdm image disk0:/asdm602.bin set asdm
CISCOASA (config) # reload restart, configuration takes effect