cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
78404
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

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

2 Things :

 

Cat 9300 Upgrade is different compare to Cat 9500

 

Cat9300 is Stacking technology

Cat 9500 StackWise virtual

 

 

Cat 9300 here is the steps :

 

 copying the image file into the root of a drive and insert the USB in the USB slot at the front of the 9300.

 copying a new image onto the switch/flash remove all unnecessary files using the following command:  Switch# request platform software package clean switch all

Confirm that the switch is able to recognise the file system.

dir usbflash0:

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

Install the software.

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

Restart the switch

Switch# reload

Verification once it reloaded :

Switch# Show version | include install

 

Cat 9500 here is the steps :

 

http://www.balajibandi.com/2019/10/11/cat-9500-stack-wise-virtual-configuration/

BB

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

How to Ask The Cisco Community for Help

View solution in original post

23 Replies 23

balaji.bandi
Hall of Fame
Hall of Fame

2 Things :

 

Cat 9300 Upgrade is different compare to Cat 9500

 

Cat9300 is Stacking technology

Cat 9500 StackWise virtual

 

 

Cat 9300 here is the steps :

 

 copying the image file into the root of a drive and insert the USB in the USB slot at the front of the 9300.

 copying a new image onto the switch/flash remove all unnecessary files using the following command:  Switch# request platform software package clean switch all

Confirm that the switch is able to recognise the file system.

dir usbflash0:

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

Install the software.

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

Restart the switch

Switch# reload

Verification once it reloaded :

Switch# Show version | include install

 

Cat 9500 here is the steps :

 

http://www.balajibandi.com/2019/10/11/cat-9500-stack-wise-virtual-configuration/

BB

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

How to Ask The Cisco Community for Help

Thank you very much sir! Much appreciated guidance. :)

 

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

 

 

 

16.6.3?
Upgrade to 16.6.3? Geez!
Did someone read the Release Notes, particularly the OPEN Caveats for 16.6.3?

@Leo LaohooLaohoo that is not my intention -this is only procedure how to process works, not that recommended to upgrade - hopefully, you understand what I said in the post.

BB

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

How to Ask The Cisco Community for Help

Me bad. I thought that was the OPs intended version.

Hello,

I have a problem when I am upgrading 9300 IOS by usb drive with IOS file but switch can't find my usb drive by dir flash: command. Can somebody give me an idea?

 

Thanks

 

James

dir usb0:

Leo,
My 9300 switch is running and I insert UPS with IOS into the switch UPB port. On the switch platform I type: dirusb: command, but switch is showing
^
"% Invalid input detected at '^' marker". Do you know steps how to format the USB on the switch platform? Thanks

Leo,

 

My 9300 switch is running and I insert UPS with IOS into the switch UPB port. On the switch platform I type: dirusb: command, but switch is showing

                         ^

“% Invalid input detected at '^' marker”. Do you know steps how to format the USB on the switch platform? Thanks

My USB is exFAT format.

format in the switch itself

 

@JamesZeng7831 

 

i suggest to open a new thread for the issue you having.

 

Quick help here is :

 

you need to Format the USB : Format the USB  flash storage FAT32  to recognise the USB

When you Plug the USB, you can see the Log message if success.

 

 

BB

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

How to Ask The Cisco Community for Help

Yes, after I formatted my USB to FAT32, I successed upgrade my 9300 IOS.

 

Thanks

 

James

Glad all working as expected and good to hear that trick helped.

 

BB

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

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card