Technical data

Cisco SM-X Layer 2/3 EtherSwitch Service Module Configuration Guide for Cisco 4451-X ISR
Troubleshooting the Cisco SM-X Layer 2/3 ESM Software
30
Cisco SM-X Layer 2/3 EtherSwitch Service Module Configuration Guide for Cisco 4451-X ISR
Example
Sample Output for Recovering from a Lost or Forgotten Password
Router# hw-module subslot 1/0 error-recovery password_reset
Router# hw-module session 1/0
The password-recovery mechanism is enabled.
The system has been interrupted prior to initializing the flash filesystem. The following
commands will initialize the flash filesystem, and finish loading the operating system
software:
flash_init
boot
switch:
switch:
Router# hw-module subslot 1/0 reload
Recovering from a Lost or Forgotten Password When Password Recovery Is
Disabled
When password recovery is disabled, access to the boot loader prompt through the password-recovery
mechanism is disallowed even though the password-recovery mechanism has been triggered. If you
agree to let the system be reset to the default system configuration, access to the boot loader prompt is
then allowed, and you can set the environment variables.
SUMMARY STEPS
1. hw-module subslot 1/0 error-recovery password_reset
2. hw-module session
3. flash_init
4. rename flash:vlan.dat.renamed flash:vlan.dat
5. delete flash:config.text.renamed
6. delete flash:private-config.text.renamed
7. delete flash:express_setup.debug
8. rename flash:config.text flash:config.text.old
9. dir flash:
10. boot
11. enable
12. configure terminal
13. enable secret password
14. exit
15. copy running-configuration startup-configuration
16. reload