Higher Logic notes on screwing with tech…


Upgrade a cisco IOS

Who wants a new cisco IOS?

There are many ways to get an IOS image onto a cisco device, I'm just going to cover the one I used. Getting a IOS off a cisco ASA device, now thats tricky!

First setup a tftp server, I used the first one i found for OSX :) I'm lazy

Once you got all of that setup just follow these instructions. Assumptions:

  • tftp server is
  • IOS image file: asa840-k8.bin
  • ASDM file : asdm-641.bin

copy tftp:// disk0:/asa841-k8.bin
copy tftp:// disk0:/asdm-641.bin
hostname(config)# clear configure boot
hostname(config)# boot system disk0:/asa841-k8.bin
hostname(config)# asdm image {disk0:/ | disk1:/}[path/]new_filename
hostname(config)# write memory
hostname(config)# reload

Tagged as: , , No Comments

Reset Cisco ASA password + factory reset

Forgot your ASA's password? No worries :)

Bypass cisco system configuration

Plug in your serial console,
reboot the ASA
press 'ESC' when its booting

# Now get into configuration management
rommon #0> confreg

# Record this next line we'll need it later.
Current Configuration Register: 0x00000001
Configuration Summary:
boot default image from Flash

Do you wish to change this configuration? y/n [n]: Y
enable boot to ROMMON prompt? y/n [n]:
enable TFTP netboot? y/n [n]:
enable Flash boot? y/n [n]:
select specific Flash image index? y/n [n]:
disable system configuration? y/n [n]: y
go to ROMMON prompt if netboot fails? y/n [n]:
enable passing NVRAM file specs in auto-boot mode? y/n [n]:
disable display of BREAK or ESC key prompt during auto-boot? y/n [n]:

Current Configuration Register: 0x00000040
Configuration Summary:
ignore system configuration

Update Config Register (0x40) in NVRAM...
#now lets load the clean settings
rommon #2> boot

The cat's away the mice and play

hostname# copy startup-config running-config
hostname# configure terminal
hostname(config)# password password
hostname(config)# enable password password
hostname(config)# username name password password
#Remember that line I asked you to record :)
hostname(config)# config-register 0x00000001
hostname(config)# copy running-config startup-config

Optional new house!

# Reset to factory settings
config term
config factory-default
#hit spacebar when the ‘more’ thing happens.
(Optional) reload save-config noconfirm