Router IOS Boot Sequence and Configuration Register
Details the Cisco router boot process, configuration register values (0x2102 default, 0x2142 for password recovery), and how to change the boot behavior.
Step-by-step
- Power on → POST runs from ROM
- Bootstrap loader (ROM) loads → locates IOS in Flash
- IOS loads into RAM → decompresses and initializes
- Startup-config loaded from NVRAM into RAM (running-config)
- If no startup-config → setup mode (initial configuration dialog)
- Configuration register (default 0x2102): bit 6=0 loads startup-config, bit 6=1 ignores it (password recovery)
- Change register:
config-register 0x2142(global config) →reload - After recovery, reset to default:
config-register 0x2102
Reference: www.tutorialspoint.com