- Posts: 161
- Thank you received: 0
BREAK and the configuration register
However, I'm confused about sending the BREAK and bit 8. If bit 8 is set to 1, this disables BREAK ... so how would I go into ROM mon mode to change the configuration register? Doesn't this ensure that sending a BREAK within the first 60 seconds will be ignored?
I realise that the actual procedure (key presses) depends upon the series of the router so I'm interested in the general principle at this stage.
Once in the rommon mode, you need to set the configuration register to 0x2142 (bypass the configuration) and reset the router. The router will boot up bypassing the configuration in NVRAM, you may go into initial setup dialog. Exit out of dialog and go to the command line in enable mode. Load the configuration from NVRAM (copy start run). Once it is loaded, change the password with enable password or enable secret. Save your configuration, change the configuration register back to 0x2102 and reload your router again.
I'm aware that the configuration register determines what happens when a router boots. I've been looking into resetting passwords and understand that I have to go into ROM mon mode by sending a BREAK during the first 60 seconds. That will allow me to set bit 6 of the configuration register to 1 and then reboot. This ensures that NVRAM isn't checked so I can reload startup-configuration and change the password(s).
However, I'm confused about sending the BREAK and bit 8. If bit 8 is set to 1, this disables BREAK ... so how would I go into ROM mon mode to change the configuration register? Doesn't this ensure that sending a BREAK within the first 60 seconds will be ignored?
I realise that the actual procedure (key presses) depends upon the series of the router so I'm interested in the general principle at this stage.
The thing that confuses me is that if I set the configuration register to 0x*1**, the 8th bit is set to 1 which disables BREAK (just as 0x**4* sets the 6th bit to 1 and the configuration file in NVRAM isn't examined for <boot system> commands).
If I disable BREAK in this way, how do I get into ROM mon mode? Will the CTRL-Break key combination in HyperTerminal still work? Is this the same BREAK or is this something different?