cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
428
Views
2
Helpful
10
Replies

Cisco 9200L Reconfiguration Issues

terrin-stjohn
Level 1
Level 1

Hello All,

I recently performed a factory reset on a Cisco Catalyst 9200L 48 PoE+ 4x10G switch and now after rebooting, it will not get out of switch mode. I'm not sure on what else to do to try and get back to the original startup so I can perform a configuration. I am pretty new to this, so any all help is appreciated.

10 Replies 10

route48
Cisco Employee
Cisco Employee

Hi!

Let's first try to simply boot from file.

1. use the command "set" to see the rommon variables, there you should see the boot variable.

2. Use a command "dir"

check the flash for .bin files, or check if packages.conf file is present

3. Try booting from either the .bin file or from packages.conf (if you're using install mode)

as an example:

boot flash:packages.conf

If that fails, format usb flash with FAT32 filesystem, upload the .bin ios-xe file that you want to run, and boot from that usb flash:

example:

boot usb1:cat9k_iosxe.17.09.05.SPA.bin

Goodspeed!

Dominik

terrin-stjohn
Level 1
Level 1

I ran the first two like you suggested and came up with this information below. 

terrinstjohn_0-1750716417493.png

Where would I find a .bin ios-xe file? I am new to this so I may ask simple questions to get me in the correct area.

 

Leo Laohoo
Hall of Fame
Hall of Fame

@terrin-stjohn wrote:
MANUAL_BOOT=yes
SWITCH_IGNORE_STARTUP_CFG=1

These are the reasons why the switch is behaving like this.  

Fix it in ROMMON with the following commands: 

MANUAL_BOOT=no
SWITCH_IGNORE_STARTUP_CFG=0

And then reboot the switch.

route48
Cisco Employee
Cisco Employee

Indeed as mentioned by Leo, these two variables need to be changed, 

After which you can check the contents of local flash: with

dir flash:

There is no boot variable, so proceed with:

switch: boot flash:image_name.bin

or

switch: boot flash:packages.conf

Kind Regards,

Dominik

terrin-stjohn
Level 1
Level 1

Changed the variable as Leo stated and rebooted. Proceeded with the commands as Dominik said and this is where I am at.

terrinstjohn_0-1750779279787.png

 

route48
Cisco Employee
Cisco Employee

It looks that it doesn't have any images,

Proceed with downloading the image you want from software.cisco.com

Currently recommended releases:

https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/214814-recommended-releases-for-catalyst-9200-9.html

17.9.6a

17.12.5

After downloading the image, upload it to the usb stick,

use the command:

switch: boot usbflash0:image_name.bin

(make sure to change the name from image_name.bin to the actual file name)!

Kind Regards,
Dominik Dobrowolski

 

terrin-stjohn
Level 1
Level 1

Ok so I downloaded the software to a USB and uploaded it to the switch and still get switch mode. Is there another step in the process?

terrinstjohn_0-1750787588870.png

 

route48
Cisco Employee
Cisco Employee

 

There is no other step,

Here we can see, that the switch had a software crash after the MCU, bootloader upgrade with system-report generated

Try running the same command again (you can try different software versions) and if it fails, I'm afraid the next step will be engaging TAC, so they can decrypt and analyze the system-report and see if that is a software or a hardware issue, and RMA the device if needed.

Kind Regards,
Dominik

 

terrin-stjohn
Level 1
Level 1

I ran the other software boot and it worked out. Thank you all so much form your help. Greatly appreciated.

route48
Cisco Employee
Cisco Employee

Glad to hear it  

Remember now to:

1. copy the image from usbflash0 to flash:

2. set the correct boot variable

switch(config)#boot system flash:change_this_name.bin
switch(config)#do wr
 
Or otherwise you'll end up in ROMMON after reload
 
Kind Regards,
Dominik