Symptom
Device enters a bootloop crash with the following log:
UNIX-EXT-SIGNAL: Segmentation fault(11), Process = Net Background
Conditions
ROMMON variables:
SWITCH_DISABLE_PASSWORD_RECOVERY
- This variable can be set to 1 in case an admin wants to prevent a password recovery procedure
SWITCH_IGNORE_STARTUP_CFG
- Set value to 1, in order to ignore the startup configuration
When both of these variables are set to 1, the device gets stuck on a bootloop crash.
To check each of the variables value:
A) Run the CLI command 'show romvar':
Switch# show romvar
----------------------------------
ROMMON variables for Active Switch
----------------------------------
SWITCH_DISABLE_PASSWORD_RECOVERY=1
SWITCH_IGNORE_STARTUP_CFG=1
or
B) Run the ROMMON command 'set':
switch: set
SWITCH_DISABLE_PASSWORD_RECOVERY=1
SWITCH_IGNORE_STARTUP_CFG=1
Workaround
If any of the values are set to 0, the bootloop is mitigated.
To change the variables value back to 0 run in Global Configuration mode:
'no system disable password recovery switch all'
'no system ignore startupconfig switch all'
To change the variables back to 0 on ROMMON run:
'set SWITCH_IGNORE_STARTUP_CFG 0'
Further Problem Description
The variable SWITCH_DISABLE_PASSWORD_RECOVERY is write protected, and cannot be changed from ROMMON prompt)
switch: set SWITCH_DISABLE_PASSWORD_RECOVERY 0
rommon: Variable is write protected.