INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Cisco:Switches

Updating code on Catalyst OS series switches by IPKONFIG
Posted: 19 Dec 01

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:

CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

File has been copied successfully.
 

Show flash <cr>
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
  1 .. ffffffff 9be9ffc0  3e74f4   17  3830900 Mar 26 2001 07:20:03 cat4000.6-1-2.bin
  2 .. ffffffff  84b0dfd  7cf6c8   17  4096340 Oct 10 2001 05:06:28 cat4000.6-2-2.bin

 
*note: notice the new file that was downloaded now appears in the flash output

Set boot system flash bootflash:cat4000.6-2-2.bin prepend <cr>
BOOT variable = bootflash:cat4000.6-21-2.bin,1;bootflash:cat4000.6-1-2.bin

*note: the prepend command puts this line item first in the boot variable.

Reset <cr>

Switch should load with the newer version of Catalyst code.

 

 

 

 

 

Back to Cisco: Switches FAQ Index
Back to Cisco: Switches Forum

My Archive

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close