cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2441
Views
0
Helpful
13
Replies

cisco 2960-x

rehbejoh36
Level 1
Level 1

im trying to load .tar file on cisco 2960-x with command 

 

boot flash:/c2960x-universalk9-tar.152-7.E5.tar

I get

error loading 

anyone know what im doing wrong

13 Replies 13

balaji.bandi
Hall of Fame
Hall of Fame

If you looking to boot from file, then you need to get extention .bin (file)  not .tar file

 

You  can use below document for tar file installation : ( example)

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_58_se/configuration/guide/2960scg/swiosfs.html

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I had a .bin file but the web would not work.I was told to go to cisco web site and get the .tar

what is the current version

 

show version

 

if you like to upgrade and get GUI below command should work for you.

 

# archive download-sw /leave-old-sw flash:c2960x-universalk9-tar.152-7.E5.tar

 

if you looking more option :

 

#archive download-sw ?
/allow-feature-upgrade Allow installation of image with different feature sets
/directory Specify a directory for images
/force-reload Unconditionally reload system after successful sw upgrade
/force-ucode-reload Upgrade UCODE after successful sw upgrade and before an unconditional reload
/imageonly Load only the IOS image(s)
/leave-old-sw Leave old sw installed after successful sw upgrade
/no-set-boot Don't set BOOT -- leave existing boot config alone
/no-version-check skip version check that prevents incompatible image install
/overwrite OK to overwrite an existing image
/reload Reload system (if no unsaved config changes) after successful sw upgrade
/safe Always load before deleting old version
/upgrade-ucode Upgrade UCODE after successful sw upgrade (no reload)

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

verison 15.2(7)E5

Try as suggested above post :

 

# archive download-sw flash:c2960x-universalk9-tar.152-7.E5.tar

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

cisco.jpg

is this test switch or offline you upgrading ?

if this is not live :

 

1. just reboot the switch

2. dir flash: make sure you have  (c2960x-universalk9-tar.152-7.E5.tar)

3. Do you have enough space in flash

 

Note : Do not post screenshots, post capture the logs in notepad and attach

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

ok thanks and its offline 

95057920 bytes free

dir flash shows bin file not tar file 

so do I need to load tar again using this command

copy xmodem:c2960x-universalk9-mz.152-7-E5.tar flash:c2960x-universalk9-mz.152-7-E5.tar

 

then use the archive command?

 

as per the message the file not in flash: (either copy to flash and install )

X model should have USB, copy the TAR file to USB or insdtall from USB.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Leo Laohoo
Hall of Fame
Hall of Fame
archive download-sw flash:c2960x-universalk9-tar.152-7.E5.tar

Yes if you want the GUI to work you can not use a bin file and need the tar file. As others have explained the boot command uses the bin file, but that is not what you really want. To use the tar file you need to use the archive command.

HTH

Rick

this is what I get when I do the archive command.

cisco.jpg

WTF.  That boot variable string is so wrong in so many places.  

Do not "re-invent the wheel" and keep it simple.  Use the following command:

archive download-sw flash:c2960x-universalk9-tar.152-7.E5.tar

This script will do the following:

  • Unpack the BIN file into the correct location.
  • Perform a quick hash check to guarantee the BIN file is not corrupt.
  • Correctly set the boot-variable string without any human intervention.  

Can "copying" the BIN file do all of these three with one command?  No, it does not.

Review Cisco Networking for a $25 gift card