Copying TFTP to Flash (Upgrading or Restoring) IOS Image to flash
TestASA# copy tftp flash Address or name of remote host ? 192.168.1xx.7x Source filename ? xxxxxxxxxxxxxxxxxxx Destination filename [djhd]? xxxxvvvvxxxxaaaaasssxxxx Accessing tftp://192.168.1xx.7x/xxxxxxxxxxxxxxxxxxxxxxxx
Note: here you have to enter the source file name of the file on the tftp server snd the destination file name you wish to upgrade or restore on the Flash (router).
Note: the Address or name of remote host is the routers IP address
Tell the ASA which software you want to run: If the ASA and ASDM software that you just transferred to your ASA are the only copies in flash then the below steps aren’t completely necessary. Any time you have more than one copy in flash, however, it’s a good idea to explicitly specify which software you want the ASA to actually run.
If you don’t specify, it will use the first version that it finds in flash which may — or may NOT — be the one you want it to.
Note: For good measure, let’s explicitly specify that we want to use the new versions that we just copied onto flash.
ciscoasa# configure terminal ciscoasa(config)# boot system flash:/asa825-k8.bin INFO: Converting flash:/asa825-k8.bin to disk0:/asa825-k8.bin ciscoasa(config)# asdm image flash:/asdm-645.bin ciscoasa(config)#
Note: At this point, the only thing that is left to do is to save your changes and reload your ASA so that it will boot into the new version of the software (and make use of the new version of ASDM).
ciscoasa(config)# end ciscoasa# write memory Cryptochecksum: aaaa08ce ccde38f2 19c42e08 dea24cbd 2713 bytes copied in 1.450 secs (2713 bytes/sec) [OK] ciscoasa# reload Proceed with reload? [confirm]
Once the ASA comes back up, verify that it did, in fact, boot from the new software.
ciscoasa# show version | include image System image file is "disk0:/asa825-k8.bin" ciscoasa# show asdm image Device Manager image file, disk0:/asdm-645.bi