System CMD for ASA

ASA platforms can maintain one or more startup configuration files in flash
By default, an ASA stores its startup configuration in a hidden partition of flash memory. That file has no usable name
To force the ASA to use a different startup configuration filename, you can use the following command:
ciscoasa(config)# boot config url
flash:path/disk0:path/disk1:path     !path represents the directory path that points to the file.
boot config disk0:/new-startup.cfg    !on next reload it will use newconfig file

After the above comand save the config (wr mem) to stop ASA using the hiden location and start using the new one
show bootvar                    !See the current startup configuration environment variable
If empty its using default location

Clear the ASA Config
clear configure all        !Clears the entire running configuration
clear configure primary     !Clears all commands related to connectivity (ip address/mtu/monitor-interface/boot/route/failover/tftp-server)
clear configure secondary     !Clears all commands not related to ASA connectivity
clear configure command     !Clears all commands that use the command keyword

IOS image
copy tftp:// disk0:/asa823-k8.bin
ciscoasa# configure terminal
ciscoasa(config)# boot system disk0:/asa823-k8.bin
ciscoasa# show bootvar

reload at hh:mm [day month | month day]
reload in {mm | hhh:mm}

reload cancel

Download IOS from ROMMON
1. Interrupt the bootup sequence. Press Esc or Break at the appropriate time
2. Identify an ASA interface where the TFTP server is located.
rommon> interface physical-name
3. Assign an IP address to the ASA interface. rommon> address ip-address
4. Assign a default gateway. rommon> gateway ip-address
5. Identify the TFTP server address. rommon> server ip-address
6. Identify the image filename. rommon> file filename
7. Test connectivity to the TFTP server. rommon> ping ip-address
8. Initiate the TFTP file download. rommon> tftpdnld

Note: Be aware that even though the image file is downloaded and executed by the ASA,
it is not permanently stored anywhere. After the ASA finishes booting, you should copy
the same image file onto a flash file system by using the copy command.

rommon #1> address
rommon #2> gateway
rommon #3> server
rommon #4> file asa823-k8.bin
rommon #6> ping
Sending 20, 100-byte ICMP Echoes to, timeout is 4 seconds:
Success rate is 95 percent (19/20)
rommon #7>
rommon #7> tftpdnld
ROMMON Variable Settings:
tftp asa823-k8.bin@ via

Tags: ,

About Alexis Katsavras

Working as Freelance Cisco Unified Communications Consultant in the UK.