cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
814
Views
1
Helpful
4
Replies

Unable to factory reset C3850 Switch

Mike ITSS
Level 1
Level 1

I have multiple WS-C3850 switches that are all having the same issue. All of them have read only mode on the flash for ROMMON and are unable to boot at all. Here is the output when trying to boot and all dir names.

 

switch: dir

List of filesystems currently registered:

xmodem[0]: (read-only)
null[1]: (read-write)
bs[3]: (read-only)
usbflash0[10]: (read-write)
flash[19]: (read-only)
tftp[20]: (read-write)
ftp[21]: (read-only)
http[22]: (read-only)


switch:

 

 

Booting...ERR: Read ERROR start 276857940 blks 1, retry = 2
ERR: Read ERROR start 276857940 blks 1, retry = 1
ERR: Read ERROR start 276857940 blks 1, retry = 0

Invalid starting data sector: 15024ERR: Read ERROR start 276857946 blks 1, retry = 2
ERR: Read ERROR start 276857946 blks 1, retry = 1
ERR: Read ERROR start 276857946 blks 1, retry = 0

Invalid starting data sector: 15024call dfs_loadpartitions, retry = 1
ERR: Read ERROR start 276877398 blks 1, retry = 2
ERR: Read ERROR start 276877398 blks 1, retry = 1
ERR: Read ERROR start 276877398 blks 1, retry = 0
ERR: Read ERROR start 276877399 blks 1, retry = 2
ERR: Read ERROR start 276877399 blks 1, retry = 1
ERR: Read ERROR start 276877399 blks 1, retry = 0
call dfs_loadpartitions, retry = 0

Interface GE 0 link down***ERROR: PHY link is down
The "IP_ADDR" environment variable is not set.
flash:packages.conf: no such file or directory
Cannot open file flash:packages.conf
flash:packages.conf: no such file or directory
flash:packages.conf: no such file or directory

Error loading "flash:packages.conf"

Interrupt within 5 seconds to abort boot process.
: no such device
: no such device

Error loading ""

Interrupt within 5 seconds to abort boot process.
Boot process failed...

The system is unable to boot automatically. The
BOOT environment variable needs to be set to a
bootable image.


switch:

 

 

Tried multiple different ways to attempt to fix it but I have no idea how as i'm new to this, any help would be appreciated.

4 Replies 4

marce1000
Hall of Fame
Hall of Fame

 

                   - Try           fsck flash:

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

M02@rt37
VIP
VIP

Hello @Mike ITSS,

Please do

dir flash:

And share the output.

Best regards
.ı|ı.ı|ı. If This Helps, Please Rate .ı|ı.ı|ı.

Leo Laohoo
Hall of Fame
Hall of Fame

IF the switches are still in ROMMON, post the complete output to the following commands: 

  1. dir flash:
  2. set

Wizard4777
Level 1
Level 1

When the switch goes into rommon, Issue the dir bootflash: command to list the files present in the bootflash, or issue the dir slot0: command to list the files present in the Compact Flash device.

          rommon 1 >dir bootflash:
          rommon 2 >dir slot0:

The reason the switch reboots continuously is because the system image file name specified does not exist, but there is a valid file in the bootflash and slot0:. Also, the system image file name specified is case sensitive. If it is not specified correctly, it causes a continuous reboot.