Loading IOS on ASA devices (e.g. ASA5510)

From NesevoWiki
Jump to navigationJump to search

Step 1: assign an IP address to the the interface through which you are connecting to the router (eg: 10.0.0.1 255.255.255.0):

ASA5510>en
ASA5510#configure terminal
ASA5510(config)#interface Ethernet0/1
ASA5510(config-if)#nameif inside
ASA5510(config-if)#ip address 10.0.0.1 255.255.255.0
ASA5510(config-if)#no shut
ASA5510(config-if)#exit
ASA5510(config)#exit

Step 2: format flash: MAKE SURE YOU HAVE A TFTP CONNECTION BEFORE FORMATING THE FLASH

ASA5510#format flash:
Format operation may take a while. Continue? [confirm] hit enter
Format operation will destroy all data in "flash:". Continue? [confirm] hit enter
flashfs[1]: 0 files, 1 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 3612672
flashfs[1]: Bytes used: 1024
flashfs[1]: Bytes available: 3611648
flashfs[1]: flashfs fsck took 3 seconds.
Format of flash: complete
Switch#


Step 3: copy from tftp to disk0:

Switch#copy tftp: disk0:
Address or name of remote host []? 10.0.0.2
Source filename []? *.bin
Destination filename [*.bin]? hit enter
Accessing tftp://10.0.0.2/*.bin...
Loading *.bin from 10.0.0.2 (via TFTP): !!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!
[OK - 1811507 bytes]

1811507 bytes copied in 104.315 secs (17418 bytes/sec)
ASA5510#


Step 4: make sure the IOS has been loaded on the ASA

ASA5510#dir disk0:
Directory of disk0:/

 2  -rwx     1811507   Mar 01 1993 00:14:06  *.bin

3612672 bytes total (1799680 bytes free)
ASA5510#


Step 5: delete the config

ASA5510#wr erase
Erasing the nvram filesystem will remove all files! Continue? [confirm] hit enter
[OK]
Erase of nvram: complete
ASA5510#


Step 6: reload
ASA5510#reload

System configuration has been modified. Save? [yes/no]: no
Proceed with reload? [confirm] hit enter

you're done