This is an old revision of the document!
enable
plus the enable password.clear config
all to reset the entire system.You don't need to reload the switch because processing the command wipes the switch. If you've set a boot option, you need to change that option using the set boot command.
If your switch runs Cisco IOS, it maintains a running configuration file and a startup configuration file, both of which you need to clear. Follow these steps:
enable
plus the enable password.write erase
, which erases the NVRAM file system and removes all files. At the prompt, confirm that you want to erase all files.reload
, and enter no
when prompted to save the configuration. (Otherwise, the switch will reload the current running configuration.)It's almost clean, but not quite. Most people forget to clear any VLAN information they've created for their switches. Depending on the hardware version of your switch and the software version of your OS, the command for this varies. For more information, check out Cisco's “Resetting Catalyst Switches to Factory Defaults” documentation, which walks you through the commands for clearing VLAN information from your switch.
http://www.cisco.com/en/US/products/hw/switches/ps708/products_tech_note09186a00801347e2.shtml
http://code.google.com/p/tftpgui/
Connect to the switch's serial console port.
Configure the networking so the switch can communicate to a TFTP server.
Start by entering EXEC mode:
enable
Make room for the new firmware image, if necessary:
dir bootflash: delete bootflash:<old-image-file-name> squeeze bootflash:
Download the file to the switch:
copy tftp: bootflash: Address or name of remote host []? <ip-addr-of-tftp-server> Source filename []? <new-image-file-name> Destination filename [flash]? <new-image-file-name>
Determine the current boot statement that you want to remove:
show boot show config
To remove the boot system flash
statement, enter into configuration terminal
mode:
configure terminal no boot system flash bootflash:<old-image-file-name> <ctrl-z) write memory
Set the new boot statement:
configure terminal boot system flash bootflash:<new-image-file-name> <ctrl-z) write memory
Verify and reboot the switch:
show boot reload
Verify the new system image:
show version
http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml
Verify this in the output:
Configuration register is 0x2102