cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3622
Views
5
Helpful
4
Replies

3850- sofware install file flash:-this commands files

bruce.thornton
Level 1
Level 1

I have a 3850 stack that I'm upgrading from 03.03.05SE   to  3.6.6.e, I have  upload the file via usb and tftp, both times when I run the software install file flash command and specify 1-2 I get  the following error:

Preparing install operation ...
[1]: Copying software from active switch 1 to switch 2
[2]: % Failed to copy file flash:cat3k_caa-universalk9.SPA.03.06.06.E.152-2.E6(2).bin from active switch 1 to switch 2, operation aborted

Ideas around getting past this?

4 Replies 4

Reza Sharifi
Hall of Fame
Hall of Fame

Have a look at this link:

https://supportforums.cisco.com/discussion/12578986/cisco-3850-upgrade-fails-stack-configuration-stack-9-erases-usb-stick

HTH

Leo Laohoo
Hall of Fame
Hall of Fame

What is the uptime of the stack?

jgarzaga
Cisco Employee
Cisco Employee

After upgrading 200+ I encounter this issue with several stack switches. This doesn`t have to do with the number of switches in the stack, or if there's enough space in the flash of the switch members'. For some reason, the switch is not allowing to copy the .bin file to its members regardless of the code running (right now I'm using 03.07.05E Install mode).

 

One thing that is worth trying is to reload the switch, and do the install command one it boots. (In my environment I was not able to, since it was productive and I didn't want to wait until the maintenance window to try. What I did was:

 

1.- Copy the .bin file to all switch members. Once the .bin file is on the active switch just copy it down to all.

  stack-1#copy flash:new-code.bin flash-2:

  stack-1#copy flash:new-code.bin flash-3:

  .

  .

  .

  stack-1#copy flash:new-code.bin flash-8:

 

2.- Install the code individually in all switch members using the on-reboot key at the end. That way you'll be able to reboot it after all switches get the install command.

  stack-1#software install file flash-1:new-code.bin new verbose switch 1 on-reboot
  stack-1#software install file flash-2:new-code.bin new verbose switch 2 on-reboot

  .

  .

  stack-1#software install file flash-8:new-code.bin new verbose switch 8 on-reboot

 

3.- Double check the packages.conf file, you should see the packages of the new image showing up.

  stack-1#term len 0

  stack-1#more flash-1:packages.conf

  stack-1#more flash-2:packages.conf

  .

  .

  stack-1#more flash-8:packages.conf

 

4.- Check the boot system is pointing to packages.conf

  stack-1#show boot system

---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf;

Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
---------------------------
Switch 2
---------------------------
Current Boot Variables:
BOOT variable = flash:packages.conf;

Boot Variables on next reload:
BOOT variable = flash:packages.conf;
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0

 

5.- Reload the switch

  stack-1#reload
Reload command is being issued on Active unit, this will reload the whole stack
Proceed with reload? [confirm]

 

Hope you find his post usefull. :)

Thanks jgarzaga, this was helpful for me. I had the same problem (% Failed to copy file from switch 1 to switch 2) despite having sufficient space on all members. I upgraded the switch members separately and rebooted the stack. Worked like a charm