cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
78407
Views
20
Helpful
23
Replies

9300 / 9500 IOS Update from USB Drive

mattipler
Level 1
Level 1

Hey guys, 

 

I'm looking to upgrade the IOS on a number of 9300 / 9500 switch stacks from a USB data pen (something I've not done before).

 

These stacks are deployed however not yet in production and I unfortunately do not have remote access to them. I've done some scouring of the 9300 / 9500 documentation and have been unable to find a clear answer to my query. 

 

Hoping one of you guys has previous experience with regards to my scenario / requirement. If I...

 

  • FAT32 format my USB pen.
  • Copy my target / updated .bin IOS image to it.
  • Console onto the 9300 / 9500 in question.
  • Insert my USB pen into the master of the 9300 / 9500 stacks (at this point I should receive a prompt indicating usbflash0 is connected?)
  • Run show ver to clarify my current version.
  • Copy .bin file from USB drive to flash copy usbflash0:cat9k_iosxe.16.09.04.SPA.bin flash:
  • Within conf t set the new IOS as the new image boot system flash:cat9k_iosxe.16.09.04.SPA.bin 
  • Once tested delete /recursive /force flash:cat9k_iosxe.OLD.SPA.bin

Will this following a reload have the desired effect? Will this update all stack members? Is there anything I'm missing? Is the above inaccurate? 


Really appreciated the assistance. I don't have a test environment in which to play this out. 

 

Cheers. 


Matt

23 Replies 23

if you are not in console .....term mon before you insert

show file systems

Hi Sir,

I did factory-rest all on the 9300 and now need to install iOS? Can you share steps?


@m.alkomairi wrote:

I did factory-rest all on the 9300 and now need to install iOS? Can you share steps?


If the switch is in ROMMON then read Emergency Recovery.

NOTE:  It works for a 3650/3850 and it will surely work for a Catalyst 9k.

if you reset the factory reset, you going to on ROMMON mode, so you need to get the image in to USB and boot, then install in to switch to boot as normal.

 

 

BB

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

How to Ask The Cisco Community for Help

2 methods.....old way install the XE on each switch or the new way......"install method".....someone posted it earlier in the thread.

 

keitho
Level 1
Level 1

So 9300... 

 

1. Post upgrade clean-up.

Switch# request platform software package clean switch all

2. Verify USB accessibility / readability. 

Switch#dir usbflash0:

3. Copy image to flash.

Switch# copy usbflash0:cat9k_iosxe.16.06.03.SPA.bin flash:

4. Perform install across all switches. 

Switch#request platform software package install switch all file flash:cat9k_iosxe.16.06.03.SPA.bin auto-copy

5. Restart.

Switch# reload

6. Verification of image version. 

Switch# Show version | include install

9500

1. Verify USB accessibility / readability. 

Switch#dir usbflash0:

2. Copy image to flash.

Switch# copy usbflash0:cat9k_iosxe.16.06.03.SPA.bin flash:

3. Software installation across 9500 switches.

Switch#install add file flash:cat9k_iosxe.16.06.02.SPA.bin activate commit

4. Soft installation verification.

Switch#show install summary

5. Removal of inactive image. 

Switch#install remove inactive

Does that seem roughly "the ticket"?  

Thanks again - really appreciate the assistance. 

Matt

 

I did this on a stack of 9200L switches....I cant take kudos as I followed others as I am telling you......

 

Have a look at the following attachments.  

Review Cisco Networking for a $25 gift card