Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

3850 stack IOS upgrade

Hi,

Is it possible to upgrade the IOS on a cisco 3850 stack in a non disruptive way?

Reloading 1 switch at a time?

Or do you need to reload the entire stack at once, like a 3750 stack?

1 ACCEPTED SOLUTION

Accepted Solutions

Re:3850 stack IOS upgrade

Unfortunately you will need to reboot after the upgrade. So there is no way yu can do it non disruptively..

I have 3850 sitting at my desk and found they are just similar to the 3750 in so many ways..

To reduce the time yu take to upgrade, just load the new image to a USB and then copy it to the switch via the command
Switch#copy usbflash0:[image name] flash:

And repeat the same command for the second switch

Switch#copy usbflash0:[image name] flash2:

Once done change the boot system to the newly uploaded image

Switch(config)# boot syst switch all flash:[image name]

Then finally reload....

Hope this helps....


Manny

Sent from Cisco Technical Support Android App

26 REPLIES
Cisco Employee

3850 stack IOS upgrade

Hi Pim,

hmm, good question.  The first problem I forsee is when you upgrade one switch, say from 3.2.1 to 3.2.2, would be that your stack will then be in a version mismatch state and wont achieve SSO (Hot standby).

Honestly, your best bet is just a quick (or as quick as possible on a 3850 ) upgrade and stack reload.

Are you familiar withe upgrade process on a stack? Let me know, Im happy to provide a upgrade snippet from my lab.

Silver

hi luke.i note that in your

hi luke.

i note that in your lab post above, you did not 'nail' in your boot statement, but I do appreciate this was covered in :

[1]: Finished installing software.  New software will load on reboot.

So my question is, is the boot statement on each stack member updated automatically then?

thank you

Hall of Fame Super Gold

3850 stack IOS upgrade

Or do you need to reload the entire stack at once, like a 3750 stack?

You can reload a 3750 stack one switch at a time.

Is it possible to upgrade the IOS on a cisco 3850 stack in a non disruptive way?

You can't upgrade non-disruptive way because a switch has to reboot.  Any clients connected to that physical switch will loose connection unless the client has dual NICs going to two different switch in a stack.

Reloading 1 switch at a time?

I don't have a 3850 with me but can you try the command "reload slot ".

Re:3850 stack IOS upgrade

Unfortunately you will need to reboot after the upgrade. So there is no way yu can do it non disruptively..

I have 3850 sitting at my desk and found they are just similar to the 3750 in so many ways..

To reduce the time yu take to upgrade, just load the new image to a USB and then copy it to the switch via the command
Switch#copy usbflash0:[image name] flash:

And repeat the same command for the second switch

Switch#copy usbflash0:[image name] flash2:

Once done change the boot system to the newly uploaded image

Switch(config)# boot syst switch all flash:[image name]

Then finally reload....

Hope this helps....


Manny

Sent from Cisco Technical Support Android App

New Member

Re:3850 stack IOS upgrade

Thanks for your input guys.

We currently do not have the 3850 yet but we were planning on buying them.

I just needed the info for the right product choice.

Cisco Employee

Re: 3850 stack IOS upgrade

"And repeat the same command for the second switch"

You actually dont have to do this.  First verify that you are in "INSTALL" mode by issuing a "show version."  Once you have this file in your local flash, just run the following:

Switch#software install file flash:cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin switch 1-2

**This will expand the .bin file onto your switch and ask you to reload. After reload, you will be on new version

+++++++++++++++++++++++++++

Here is a snippet from my lab –  I ran through a quick upgrade from 3.2.0 to 3.2.2

+++++++++++++++++++++++++++

F340.04.23-3850-8#show ver

OS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.02.00SE  <-------- Version currently running

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2013 by Cisco Systems, Inc.

Compiled Wed 09-Jan-13 21:50 by prod_rel_team

ROM: IOS-XE ROMMON

BOOTLDR: C3850 Boot Loader (C3850-HBOOT-M) Version 1.1, RELEASE SOFTWARE (P)

F340.04.23-3850-8 uptime is 1 minute

Uptime for this control processor is 4 minutes

System returned to ROM by reload

System image file is "flash:packages.conf"

Last reload reason: Reload command

License Level: Ipservices

License Type: Permanent

Next reload license Level: Ipservices

cisco WS-C3850-48P (MIPS) processor with 4194304K bytes of physical memory.

Processor board ID FOC1705V0T8

1 Virtual Ethernet interface

52 Gigabit Ethernet interfaces

4 Ten Gigabit Ethernet interfaces

2048K bytes of non-volatile configuration memory.

4194304K bytes of physical memory.

250456K bytes of Crash Files at crashinfo:.

1609272K bytes of Flash at flash:.

0K bytes of Dummy USB Flash at usbflash0:.

0K bytes of  at webui:.

Base Ethernet MAC Address          : 24:01:c7:23:20:00

Motherboard Assembly Number        : 73-12241-08

Motherboard Serial Number          : XXXXXXXX

Model Revision Number              : A0

Motherboard Revision Number        : C0

Model Number                       : WS-C3850-48P

System Serial Number               : XXXXXXXX

Switch Ports Model              SW Version        SW Image              Mode  

------ ----- -----              ----------        ----------            ----  

     1 56    WS-C3850-48P       03.02.00SE        cat3k_caa-universalk9 INSTALL <--- Mode

F340.04.23-3850-8#show flash

-#- --length-- ---------date/time--------- path

  2   74410468 Feb 23 2013 21:42:02 +00:00 cat3k_caa-base.SPA.03.02.00SE.pkg

  3    2773680 Feb 23 2013 21:42:02 +00:00 cat3k_caa-drivers.SPA.03.02.00.SE.pkg

  4   32478044 Feb 23 2013 21:42:02 +00:00 cat3k_caa-infra.SPA.03.02.00SE.pkg

  5   30393116 Feb 23 2013 21:42:02 +00:00 cat3k_caa-iosd-universalk9.SPA.150-1.EX.pkg

  6   18313952 Feb 23 2013 21:42:02 +00:00 cat3k_caa-platform.SPA.03.02.00.SE.pkg

  7   63402700 Feb 23 2013 21:42:02 +00:00 cat3k_caa-wcm.SPA.10.0.100.0.pkg

  8       1218 Feb 23 2013 21:42:12 +00:00 packages.conf

  9    2097152 Aug 28 2013 17:39:17 +00:00 nvram_config

10        616 Jul 30 2013 05:32:53 +00:00 vlan.dat

11  223734376 Aug 24 2013 08:30:12 +00:00 cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin <--- IOS downloaded from cisco.com

1089032192 bytes available (450543616 bytes used)

F340.04.23-3850-8#software install file flash:cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin switch 1-2 <---add as many switches as you have in the stack here

Preparing install operation ...

[1]: Starting install operation

[1]: Expanding bundle flash:cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin

[1]: Copying package files

[1]: Package files copied

[1]: Finished expanding bundle flash:cat3k_caa-universalk9.SPA.03.02.02.SE.150-1.EX2.bin

[1]: Verifying and copying expanded package files to flash:

[1]: Verified and copied expanded package files to flash:

[1]: Starting compatibility checks

[1]: Finished compatibility checks

[1]: Starting application pre-installation processing

[1]: Finished application pre-installation processing

[1]: Old files list:

    Removed cat3k_caa-base.SPA.03.02.00SE.pkg

    Removed cat3k_caa-drivers.SPA.03.02.00.SE.pkg

    Removed cat3k_caa-infra.SPA.03.02.00SE.pkg

    Removed cat3k_caa-iosd-universalk9.SPA.150-1.EX.pkg

    Removed cat3k_caa-platform.SPA.03.02.00.SE.pkg

    Removed cat3k_caa-wcm.SPA.10.0.100.0.pkg

[1]: New files list:

    Added cat3k_caa-base.SPA.03.02.02.SE.pkg

    Added cat3k_caa-drivers.SPA.03.02.02.SE.pkg

    Added cat3k_caa-infra.SPA.03.02.02.SE.pkg

    Added cat3k_caa-iosd-universalk9.SPA.150-1.EX2.pkg

    Added cat3k_caa-platform.SPA.03.02.02.SE.pkg

    Added cat3k_caa-wcm.SPA.10.0.111.0.pkg

[1]: Creating pending provisioning file

[1]: Finished installing software.  New software will load on reboot.

[1]: Committing provisioning file

[1]: Do you want to proceed with reload? [yes/no]: yes

[1]: Reloading

///////////// Reload

F340.04.23-3850-8#show ver

Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.02.02.SE RELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2013 by Cisco Systems, Inc.

Compiled Fri 14-Jun-13 19:24 by prod_rel_team

ROM: IOS-XE ROMMON

BOOTLDR: C3850 Boot Loader (C3850-HBOOT-M) Version 1.1, RELEASE SOFTWARE (P)

         F340.04.23-3850-8 uptime is 1 minute

Uptime for this control processor is 7 minutes

System returned to ROM by reload

System image file is "flash:packages.conf"

Last reload reason: Reload command

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

License Level: Ipservices

License Type: Permanent

Next reload license Level: Ipservices

cisco WS-C3850-48P (MIPS) processor with 4194304K bytes of physical memory.

Processor board ID FOC1705V0T8

1 Virtual Ethernet interface

52 Gigabit Ethernet interfaces

4 Ten Gigabit Ethernet interfaces

2048K bytes of non-volatile configuration memory.

4194304K bytes of physical memory.

250456K bytes of Crash Files at crashinfo:.

1609272K bytes of Flash at flash:.

0K bytes of Dummy USB Flash at usbflash0:.

0K bytes of  at webui:.

Base Ethernet MAC Address          : 24:01:c7:23:20:00

Motherboard Assembly Number        : 73-12241-08

Motherboard Serial Number          : XXXXXXXXXX

Model Revision Number              : A0

Motherboard Revision Number        : C0

Model Number                       : WS-C3850-48P

System Serial Number               : XXXXXXXXX

--More--                           Switch Ports Model              SW Version        SW Image              Mode  

------ ----- -----              ----------        ----------            ----  

     1 56    WS-C3850-48P       03.02.02.SE       cat3k_caa-universalk9 INSTALL

+++++++++++++++++++++++++

Updating Cisco IOS XE Software

When the switch is in install mode, you can install any new Cisco IOS XE Software bundle by using the software Installcommand.

Note: This command works only when the Cisco Catalyst 3850 Switch is booted in install mode.

Reference:

http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps12686/deployment_guide_c07-727067.html#wp9000183

3850 stack IOS upgrade

Hey Richard... I followed these steps for a 2 switch stack 3850s I have in production. It took like 30 minutes to copy the bin file to the switch. Then, I ran the command you posted for upgrading. 18 minutes later my entire enviornment was back up and running!  Thanks!!

Cisco Employee

3850 stack IOS upgrade

no problem, glad i could help.  3.3.1 is our latest stable release, however 3.3.2 should be out next month.

-Luke

3850 stack IOS upgrade

On a semi-related topic... Is HSRP available on the 3850's?  Do you know if it is on the roadmap?

Cisco Employee

3850 stack IOS upgrade

Yes, we support HSRP starting in version 3.3.0

luke

New Member

Re: 3850 stack IOS upgrade

Im not sure where to copy the bin filebecause #show flash?
flash-1: flash-2: flash:


where do I need to copy the .bin file all 3 ??

(switch are stacked) first is : WS-C3850-48P

                           second :   WS-C3850-12S

New Member

Another document suggests

Luke,

Another document suggests using the "new" keyword on the "software install" command.   The docs say not using the "new" keyword will result in a set of "merged" old and new packages.  What is the impact of using or not using the "new" keyword? 

 

I'm a Cisco newbie looking to update a stack of three WS-C3850-24P-E from IOS XE 3.03.00 SE to 3.6.0 E.  (we need 3.6.0 to support some new 2700 series AP's we are purchasing)

 

 

New Member

Hello Luke,I got two 3850,

Hello Luke,

I got two 3850, one with 3.6 and the other one is 3.2. To upgrade the 3.2 to 3.6 I don't have any .bin in 3.6 switch flash. Do you have any idea?

Cisco Employee

sure thing.. so you have a

sure thing..

 

so you have a few options.  The easiest would be to enable the auto upgrade feature on the switch running 3.6.  Once its enabled, with the power off the 2nd switch (running 3.2) introduce it into the stack and power on.  Once it powers up it will join the stack and automagically update itself to 3.6.  It will take a couple automatic reloads, so be patient.  You also need to be sure that your 3.6 switch is running in "install mode."

Your other option is to go to cisco.com and download the 3.6 .bin file.  you could then stage the switch - upgrade it before attaching to the stack.  Once its running 3.6 and in the same mode (Install/bundle) you can introduce it into the stack and it will join up as expected.

This guide will go over the details for you in more depth.   

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3850-series-switches/117552-technote-cat3850-00.html

 

HTH

lp

New Member

Richard,Thank you so much for

Richard,

Thank you so much for your quick response. I did the 1st option, once it's reload When I do #show switch on 1st switch (3.6), 2nd switch status shows as Provisioned. Why is that?

And auto update will not support prior to 3.3.1, will this effect my step?

Cisco Employee

provisioning is the tool that

provisioning is the tool that we have built into the software to allow for a few options.  1. once we have a stack, a provision statement is set to allow for the easy "swap" of like hardware - i.e. if you needed to RMA a switch in the stack, you could do so without losing the config. 2. we can "provision" a switch before actually physically putting it in the stack - i.e. i could config ports and such like it was already a part of the stack and when I actually put it in the stack, it will assume that configuration.

As long as 3.6 is your main switch and running in "install mode" you can just enable the auto upgrade.  the command wouldn't work in reverse, meaning you could not enable it on the switch running 3.2.

 

hth

lp

New Member

Thank you Richard, now my

Thank you Richard, now my switch is in Provisioned state, what should I do now to get it to Ready state?

Cisco Employee

Once you go through with the

Once you go through with the auto upgrade commands that i mentioned, it will join as expected.  No need to worry about the provision state at the moment.  Its purely cosmetic.

New Member

Ok cool, Switch one (3.6) is

Ok cool, Switch one (3.6) is on production. Do I have to have down time to do it? will switch one restart?

Cisco Employee

nope, switch 1 (3.6) will not

nope, switch 1 (3.6) will not reload.  Just make sure you are in "install mode" but I'm guessing you are since you don't have a .bin file in flash.  Also remember to introduce the 2nd switch while its powered off, if you do while its powered on, then you will cause a stack merge and it will reload both of them.

 

 

lp

 

New Member

I tried it and it didn't work

I tried it and it didn't work for me. Any idea what I can do?

 

And I found this.

Auto-Upgrade

The purpose of the auto-upgrade feature is to allow a switch to be upgraded to a compatible software image, so that the switch can join the switch stack.

When a new switch attempts to join a switch stack, each stack member performs compatibility checks with itself and the new switch. Each stack member sends the results of the compatibility checks to the active switch, which uses the results to determine whether the switch can join the switch stack. If the software on the new switch is incompatible with the switch stack, the new switch enters version-mismatch (VM) mode.

If the auto-upgrade feature is enabled on the new switch, the active switch automatically upgrades the new switch with the same software image running on a compatible stack member. Auto-upgrade starts a few minutes after the mismatched software is detected before starting.

 

This means the new switch should not run prior 3.3.

 

New Member

Hello Richard,

Hello Richard,

Can I upgrade more than 4 switches to 03.06.03 version. I mean by using software install flash....  Saw in the past a restriction of 3. Correct me if I wrong.

New Member

Re: 3850 stack IOS upgrade

Re: 3850 stack IOS upgrade

Im not sure where to copy the bin filebecause #show flash?
flash-1: flash-2: flash:


where do I need to copy the .bin file all 3 ??

(switch are stacked) first is : WS-C3850-48P

                           second :   WS-C3850-12S

New Member

Hi Manny: what happend with

Hi Manny:

 

what happend with license after upgrade of IOS-XR, it does not lose ?

 

Thank.

 

Marco.

I don't think there is any

I don't think there is any change to your licensing with the image upgrade..You still retain the same license features as long as you downloaded the corresponding software.

 

Thanks,

 

Manny.

New Member

Slight modification.  for

Slight modification.  for switch 2 (running 03.03.05) there is a hyphen before the switch number

Switch#copy usbflash0:[image name] flash-2:

this works well and much quicker than TFTP.

 

Thanks,

47906
Views
25
Helpful
26
Replies
CreatePlease to create content