Cisco 2911/K9 V07

  1. Start the console session.

    Plug in serial cable to device from PC COM1 port
    Open PuTTY and select "Serial" connection type, leave baud rate (Speed) and other settings as default.
    Plug power into device and if a power button exists, turn it on.
  2. Access the Rommon prompt.

    Repeatedly press the Break key. Example output:
    Readonly ROMMON initialized program load complete, entry point: 0x80803000, size: 0x1b340 monitor: command "boot" aborted due to user interrupt rommon 1 >
    TIP: If your keyboard does not have a Break key, in PuTTY right-click the titlebar for the dropdown menu -> Special Command -> Break.
  3. Bypass any configured login.

    Type the confreg command followed by a string value instruction to ignore the current configuration when booting up:
    rommon 1 > confreg 0x2142 You must reset or power cycle for new config to take effect
    Type the reset command:
    rommon 2 > reset System Bootstrap, Version 15.0(1r)M16, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 2012 by cisco Systems, Inc. Total memory size = 512 MB - On-board = 512 MB, DIMM0 = 0 MB CISCO2911/K9 platform with 524288 Kbytes of main memory Main memory is configured to 72/-1(On-board/DIMM0) bit mode with ECC enabled
    The boot process should bring you to an initial configuration dialog prompt. Type n then the Enter key, and Enter again when prompted to get started:
    Would you like to enter the initial configuration dialog? [yes/no]: n Press RETURN to get started!
  4. Erase any log files, vlan data and all configuration settings.

    Type the enable command to enter privileged command mode, then the dir command, then the del command with * where necessary to match multiple filenames listed:
    Router>enable Router#dir Directory of flash0:/ 1 -rw- 62707472 Jun 7 2011 13:26:28 +00:00 c2900-universalk9-mz.SPA.150-1.M5.bin 2 -rw- 2903 Jun 7 2011 13:34:08 +00:00 cpconfig-29xx.cfg 3 -rw- 2941440 Jun 7 2011 13:34:20 +00:00 cpexpress.tar 4 -rw- 1038 Jun 7 2011 13:34:28 +00:00 home.shtml 5 -rw- 115712 Jun 7 2011 13:34:38 +00:00 home.tar 6 -rw- 1697952 Jun 7 2011 13:34:52 +00:00 securedesktop-ios-3.1.1.45-k9.pkg 7 -rw- 415956 Jun 7 2011 13:35:02 +00:00 sslclient-win-1.1.4.176.pkg 261464064 bytes total (193564672 bytes free) Router#del cp* Delete filename [cp*]? Delete flash0:/cpconfig-29xx.cfg? [confirm]y Delete flash0:/cpexpress.tar? [confirm]y Router#del home* Delete filename [home*]? Delete flash0:/home.shtml? [confirm]y Delete flash0:/home.tar? [confirm]y Router#del *.pkg Delete filename [*.pkg]? Delete flash0:/securedesktop-ios-3.1.1.45-k9.pkg? [confirm]y Delete flash0:/sslclient-win-1.1.4.176.pkg? [confirm]y
    Note: A quicker way to do this instead of the above when there are very many files/folders to delete is if you have a USB CF Card reader and PeaZip installed on your PC you can eject the CF Card from the Cisco 2911 machine and plug it into the CF Card reader, browse to it in PeaZip, select all the files except the .bin OS boot image file and press Ctrl Del to securely erase them, then re-insert the CF Card back into the Cisco 2911 machine:
    *Feb 8 01:13:31.767: %FILESYS-5-CF: System CompactFlash 0 removed
    Browsing Compact Flash card in PeaZip  Securely erasing files/folders on Compact Flash card in PeaZip
    Flash card inserted in flash0. Reading filesystem...done. *Feb 8 01:23:47.967: %FILESYS-5-CF: System CompactFlash 0 inserted
    Type the erase startup-config command, and confirm with y:
    Router#erase startup-config Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]y[OK] Erase of nvram: complete
    TIP: You can verify vlan data and configuration is gone with the show vlans and show startup-config commands respectively:
    Router#show vlans No Virtual LANs configured. Router#show startup-config startup-config is not present
  5. Reboot the device and set it back to normal mode.

    Type the reload command and confirm with y:
    Router#reload Proceed with reload? [confirm]y *Jun 22 00:38:47.919: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
    Send the router a Break command again as done in step 2, then at the rommon prompt type the confreg command followed by a different string value instruction to no longer ignore the configuration:
    rommon 1 > confreg 0x2102 You must reset or power cycle for new config to take effect
    Lastly type the reset command:
    rommon 2 > reset
  6. Copy all the output from the session into your records.

    Right-click PuTTY's titlebar, from that dropdown menu click on "Copy All to Clipboard"
    Open the file of record certifying the deconfiguration of this device and use CTRL V to paste all the output from PuTTY into that file. Formatting the text with a fixed-width font helps it look more readable.
  7. End the session.

    Turn off/unplug the device and close PuTTy.