After logging into the switch follow the set of commands listed below:
Enable <cr>
Type password <cr>
Show flash <cr>
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .. ffffffff 548c8f9c 39cf70 17 3526384 Feb 24 2001 11:38:22 cat4000.5-4-2.bin
2 .. ffffffff 9be9ffc0 744464 17 3830900 Mar 26 2001 07:20:03 cat4000.6-1-2.bin
*note: different versions of code will display differently
delete bootflash:cat4000.5-4-1.bin <cr>
show flash <cr>
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .D ffffffff 548c8f9c 39cf70 17 3526384 Feb 24 2001 11:38:22 cat4000.5-4-2.bin
2 .. ffffffff 9be9ffc0 744464 17 3830900 Mar 26 2001 07:20:03 cat4000.6-1-2.bin
*note: you will notice the ôDö in the line with the code you selected for deletion
Squeeze bootflash: <cr>
All deleted files will be removed, proceed (y/n) [n]? y <cr>
Squeeze operation may take a while, proceed (y/n) [n]? y <cr>
*note: you will see the switch erasing/writing the sectors in the flash, this is normal
Show config <cr>
*note: look for the set of commands below
#set boot command
set boot config-register 0x2
set boot system flash bootflash:cat4000.6-1-2.bin
set boot system flash bootflash:cat4000.5-4-2.bin
clear boot system flash bootflash:cat4000.5-4-2.bin <cr>
BOOT variable = bootflash:cat4000.6-1-2.bin,1;
*note: this shows the only boot variable in the switch now
copy tftp flash <cr>
IP address or name of remote host [A.B.C.D]? <cr>
Name of file to copy from []? cat4000.6-2-2.bin <cr>
Flash device [bootflash]? <cr>
Name of file to copy to [cat4000.6-2-2.bin]? <cr>
11897484 bytes available on device bootflash, proceed (y/n) [n]? y <cr>
*note: you will see the cursor move in circles as it downloads the code, when the switch is finished youÆll receive the following output:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.