Password Recovery Procedure for the Cisco Catalyst 8540 Multiservice Switch Router
Step 1: Hit ctrl / break directly after powering up the router.
If the break sequence does not work, refer to Standard Break Key Sequence Combinations During Password Recovery for other key combinations.
Step 2: type: confreg 0x2142 from rommon 1>
Step 3: type: reset from rommon 2>
Step 4: Would you like to enter the initial configuration dialog? [yes/no]: answer NO
Step 5: Type enable at Router>
Step 6:Type configure memory or copy startup-config running-config.
Step 7: Type show running-config.
Step 8: Type configure terminal to change or remove the password from the router.
Step 9: Type enable secret <password> in order to change the enable secret password or type NO ENABLE SECRET to remove the secret from router(config)#>
Step 10: type: NO ENABLE PASSWORD to remove the password from router (config)#>
Step 14: Type the no shutdown command on every interface that you use.
Step 12: Type config-register <configuration_register_setting>. For example: hostname(config)#config-register 0x2102 .
Step 13: Hit Ctrl / z or end to leave the configuration mode.
Step 14: Type write memory or copy running-config startup-config to save the changes.