03-24-2022 09:30 AM
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
03-24-2022 10:37 AM
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)
03-24-2022 10:47 AM
I had a .bin file but the web would not work.I was told to go to cisco web site and get the .tar
03-24-2022 11:27 AM
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)
03-24-2022 01:27 PM
verison 15.2(7)E5
03-25-2022 03:58 AM
Try as suggested above post :
# archive download-sw flash:c2960x-universalk9-tar.152-7.E5.tar
03-25-2022 04:31 AM
03-25-2022 04:44 AM
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
03-25-2022 04:52 AM
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?
03-25-2022 05:02 AM
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.
03-24-2022 02:58 PM
archive download-sw flash:c2960x-universalk9-tar.152-7.E5.tar
03-24-2022 06:34 PM
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.
03-25-2022 04:33 AM
this is what I get when I do the archive command.
03-25-2022 05:26 PM
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:
Can "copying" the BIN file do all of these three with one command? No, it does not.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide