cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

1077
Views
0
Helpful
7
Replies
Highlighted
Beginner

C9200L

Hello all,

 

For some reason we had to factory-reset all our new switch C9200L

Now after reload the switche : prompt is there

We download an image.bin from Cisco and copy on a usb stick

At the prompt switche: boot usbflash0:image.bin

Everything is good switche is booting and I can access it form a web page and so on...

The question I have is how to copy the image.bin into the switch itself, because everytime that I restart the switch it goes back to the switche: prompt

I try copy usbflash0:image.bin flash the error message that we got is No enough space on device

I try copy usbflash0:image.bin run and after copy running-config to startup-config but it does give us the same result by restarting the switche we are going back to the switche: prompt...

 

Any idea how we can achieve this?

 

Best regards

7 REPLIES 7
Highlighted
VIP Mentor

Re: C9200L

have you set the boot variable.

 

switch : boot ( type boot)

 

once it booted, can you post

show boot

dir bootflash:

 

BB
*** Rate All Helpful Responses ***
Highlighted
Beginner

Re: C9200L

Hello BB

 

Please provide more info:

switch : boot ( type boot) what I need to put in type boot

I tried the following:

System Bootstrap, Version 16.10.1r [FC5], RELEASE SOFTWARE (P)
Compiled Mon 05/06/2019 12:06:14 by rel
Current ROMMON image : Primary
C9200L-48P-4G platform with 2097152 Kbytes of main memory
WARNING: Bootable URL's in BOOT variable not found or exhausted.
         Please check the ROMMON configuration or boot command usage.
switch:
switch: boot flash:packages.conf
boot: attempting to boot from [flash:packages.conf]
boot: reading file packages.conf
boot: failed to load flash:/user/packages.conf
ERROR: failed to boot from flash:packages.conf (Not Found)
switch: boot flash:cat9k_lite_iosxe.16.09.01.spa.bin
boot: attempting to boot from [flash:cat9k_lite_iosxe.16.09.01.spa.bin]
boot: reading file cat9k_lite_iosxe.16.09.01.spa.bin
boot: failed to load flash:/user/cat9k_lite_iosxe.16.09.01.spa.bin
ERROR: failed to boot from flash:cat9k_lite_iosxe.16.09.01.spa.bin (Not Found)
switch:

Do you want me to boot with usbflash0 before doing those commands

 

Please advise!

 

Regards,

Highlighted
VIP Mentor

Re: C9200L

You always make note what you doing -

 

factory-reset all - Erases all the content from the NVRAM, all the Cisco IOS images, including the current boot image, boot variables, startup and running configuration data, and user data.
After the Factory Reset process is successfully completed, the device reboots and stops at ROMMON mode.

 

Since you have IOS on USB

1. boot from USB Flash

2. Copy the bin file to bootflash:

3. set boot variable

 

here is the detailed guide :

 

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9400/software/release/16-9/configuration_guide/sys_mgmt/b_169_sys_mgmt_9400_cg/recover_from_corrupt_or_missing_file_image_or_in_rommon_mode.pdf

 

 

 

 

BB
*** Rate All Helpful Responses ***
Highlighted
Beginner

Re: C9200L

It's actually switch, not switche. 

Highlighted
VIP Mentor

Re: C9200L

Hello

As you have booted from the bin file I would assume it now in bundle mode

sh version 

 

what you you need to do is the following 

 

download the .BIN file to switch flash again 
1) rename any exiting package.conf file in flash of new switch  -  rename flash:packages.conf packagesOLD.conf
2) Expand .BIN file in flash   request platform software package expand switch x file flash:new.bin auto-copy
3) change boot variable to boot to the newly install packages.conf file
no boot system
boot system flash:packages.conf
write mem
4) reload new switch
5) check to see new version -- show version
6) if all is good perfrom a clean up on new switch  - request platform software package clean switch x

 

if it is in install mode then do the same as above but at step 2 run

platform software package install switch x file flash:new.bin auto-copy

 



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Highlighted
VIP Mentor

Re: C9200L

Forgot to mention you may have to do a software clean Before installing the new .bin file because you say you have no space on the flash:

 

Also the only other time to perform a clean is after you’ve successfully installed the iOS and the switch has rebooted okay as a clean removes unnecessary pkgs file and the bin file 



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Highlighted
Hall of Fame Community Legend

Re: C9200L


@Stephane0032 wrote:

For some reason we had to factory-reset all our new switch C9200L


If someone has performed a factory-reset then did someone DISABLE the factory-reset option?  
If the option is still enabled then every time the switch reboots ...


@Stephane0032 wrote:

No enough space on device


In ROMMON, post the complete output to the command "dir".

CreatePlease to create content
Content for Community-Ad