Monday, January 23, 2012

Upgrade IOS on an ASR-1002F

Steps to upgrade IOS on an ARS-1002F are as follows:
  1. Copy your IOS .bin file to a USB stick and connect it to USB0 on the front of the ASR
  2.  Connect the power and press 'Escape' on startup to access ROMMON
  3. At the prompt do > boot usb0:
  4. The router will boot using the ASR image you have on the USB
  5. Once booted do #copy usb0:asr10~7q.bin bootflash:
  6. Confirm the location and the .bin file will transfer
  7. Next, set the system to boot from bootflash - #boot system flash bootflash:asr10~7q.bin
  8. Next set the config-register to ensure it boots properly - (config)#config-register 0x2102
  9. Write this - #wr mem
  10. Finally reload the asr and ensure it boots correctly - #reload

Friday, January 20, 2012

Password Recovery on a Catalyst 3750-E


Password recovery on a Catalyst 3750-E

  • Press and hold the Mode button on the front of the system then connect the power
  • Continue holding until the SYS LED blinks from green, to amber, to green, then turns solid green.
  • Release Mode and you should have a prompt for – switch:
  • Do – switch: flash_init
  • Next do – switch: dir flash:
  • Next do - switch:  rename flash:config.text flash:config.old
  • Next do – switch: boot
  • Once the system reboots you can either save the blank config and work from a clean install                   #wr mem
  • Or, recover the old config and reset the password:   
                       #rename flash:config.old flash:config.text
  • Then do - #copy flash:config.text system:running-config
  • Change all the passwords and apply an appropriate user account:
          (config)#enable secret [password]
          (config)#username Trevor password [password]
          (config)#line con 0
                        password [password]
                        login
          (config)#line vty 0 4
                       password [password]
                       login
  • Finally save the config and reload -
                     #wr mem
                     #reload

Password Recovery on a Cisco 5580

 Steps to reset a password on a Cisco ASA 5580
  • Boot the system and press escape as the system loads
  • At ROMMON set confreg to 0x41 - >confreg 0x41
  • then reload >boot
  • When prompted type 'No' to by pass the auto configuration steps.
  • Once at the command prompt copy the start-up config to running config:
           #conf t
          (config)#copy start run
  • Next change the password to on of your choice:
         (config)#password [password]
         (config)#enable password [password]
  • Add a user account with priv 15 access:
         (config)#username Trevor password [password] priv 15
  • Change the configuration register back to the correct one:
         (config)#config-register 0x1
  • Finally write this and then reload:
          #wr mem
         #reload
  •  Test and you should be good.