cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2067
Views
10
Helpful
2
Replies

IOS upgrade 2960-x

s.ghouse123
Level 1
Level 1

have 3 2960-x-pd-l switches in a stack.was able to upload c2960x-universalk9-mz.152-7.E2.bin .bin through tftp to flash2 and flash3 ,unable to copy for third switch i.e flash1.

 

 

what i copied to flash2 and flash3 is showing in flash with command sh flash.unable to see uploaded bin file in flash2 and flash3.please assist to complete upgradation

copy tfp flash2

copy tftp flash3

 

 

sh flash

Directory of flash:/

2 -rwx 29673 Jun 2 2019 07:20:48 +00:00 config.text
3 -rwx 1156 Sep 30 2020 09:36:11 +00:00 vlan.dat
4 -rwx 26665984 Oct 11 2020 09:49:15 +00:00 flash3
673 -rwx 4120 Sep 30 2020 09:36:17 +00:00 multiple-fs
5 -rwx 1920 Jun 2 2019 07:20:48 +00:00 private-config.text
6 drwx 512 Mar 31 2017 16:06:45 +00:00 c2960x-universalk9-mz.152- 2.E6
671 drwx 512 Mar 31 2017 16:06:47 +00:00 dc_profile_dir
674 -rwx 26665984 Oct 11 2020 09:58:31 +00:00 flash2

122185728 bytes total (41252864 bytes free)
SW#sh flash2

Directory of flash2:/

2 -rwx 1156 Sep 30 2020 09:36:20 +00:00 vlan.dat
3 -rwx 29673 Jun 2 2019 07:20:49 +00:00 config.text
4 -rwx 1920 Jun 2 2019 07:20:50 +00:00 private-config.text
5 -rwx 29614 Mar 31 2019 07:49:29 +00:00 config.text.backup
6 -rwx 1920 Mar 31 2019 07:49:29 +00:00 private-config.text.backup
7 drwx 512 Mar 31 2017 19:30:30 +00:00 c2960x-universalk9-mz.152-2.E6
672 drwx 512 Mar 31 2017 19:30:32 +00:00 dc_profile_dir
674 -rwx 2072 May 18 2018 05:27:06 +00:00 multiple-fs

122185728 bytes total (94985216 bytes free)
SW#sh flash3

Directory of flash3:/

2 -rwx 29673 Jun 2 2019 07:20:49 +00:00 config.text
3 -rwx 29614 Mar 31 2019 07:49:29 +00:00 config.text.backup
4 -rwx 1920 Jun 2 2019 07:20:50 +00:00 private-config.text
5 -rwx 3096 May 18 2018 05:17:52 +00:00 multiple-fs
6 -rwx 1920 Mar 31 2019 07:49:30 +00:00 private-config.text.backup
7 drwx 512 Mar 31 2017 15:56:17 +00:00 c2960x-universalk9-mz.152-2.E6
672 drwx 512 Mar 31 2017 15:56:19 +00:00 dc_profile_dir
674 -rwx 1156 Sep 30 2020 09:36:20 +00:00 vlan.dat

122185728 bytes total (94984192 bytes free)

 

 

2 Replies 2

Leo Laohoo
Hall of Fame
Hall of Fame

Do the following: 

Download the IOS file with the TAR extension (and not the BIN)

Run the following commands: 

del /f /r flash1:flash*
archive download /overwrite tftp://<TFTP_IP_ADDRESS>/IOS_filename.tar

That is it.  
The 2nd command instructs the system to do the following: 

  1. Verify if the IOS file is compatible with the system.  If the file is compatible, proceed to #2, if not, stop the process. 
  2. Unpacks the new IOS to all the switch members in the stack.
  3. Deletes the old IOS from all the stack members.  
  4. Change the boot variable string to point to the new IOS file.
  5. Perform a quick HASH check to make sure the BIN file is not corrupted during the unpacking stage.

One command does all of that.  Does the "copy tftp: flash:" do all of those?  Especially #1 & #4, it doesn't.  

Thanks .

for information i want to ask ,  i copied .bin with Tftp  to flash 2 and flash 3 ,but i'm unable to see bin file in flash2 ,with sh flash 2 and dir flash3. i was able to see that in flash directory.