ITNuvoAkademiya
Academy homePackagesPlaylistsToolsSubnet calculatorSearchGlossary
CiscoCCNA · CCNA: networking fundamentals1. Introduction2. Network Fundamentals3. Network Access4. IP Connectivity5. IP Services6. IPv67. Security Fundamentals8. AutomationCCNP: Enterprise networks · coming soon
LinuxLinux: system administrator üçün · Linux for system administrators1. Getting to know Linux2. Working with text3. Users and permissions4. Processes and packages5. Inside the system6. Monitoring and logs7. NetworkingRed Hat Enterprise Linux · Red Hat Enterprise Linux: from beginner to advanced1. Getting started2. Packages3. Users and permissions4. SELinux5. Services6. Storage7. Networking8. Building services9. Boot and recovery10. DevOps11. Security and monitoring
FortinetFortiGate Administrator · FortiGate Administrator: from first login to ZTNA1. Getting to know FortiGate2. Routing, policy and NAT3. Security profiles4. Users and logs5. Resilience, SD-WAN and automation6. VDOM7. VPN and ZTNA8. Proxy9. DMZ
MonitoringZabbix · Zabbix: from installation to alerts1. Introduction2. Installation and the database3. Basics: groups, templates, users4. Connecting devices5. Alerts, Grafana and the API
VirtualizationProxmox VE · coming soonVMware ESXi · coming soon
My account / Sign in
AZENRU
← itnuvo.com

Router boot process, configuration register and password recovery

Lesson 5.1010 minIntermediateNovember 16, 2026

Sign in to read this lesson

Besides RAM, NVRAM and flash, a router has ROM, which holds POST, the bootstrap code and ROMMON. At boot, POST checks the hardware, the bootstrap finds IOS in flash (or on TFTP) and loads it into RAM, then the startup-config is copied from NVRAM to the running-config; if there is none, setup starts. The configuration register and boot system commands are used when looking for IOS. The default configuration register is 0x2102. For password recovery you enter confreg 0x2142 in ROMMON: the router boots ignoring the startup-config, you change the password, set the register back to 0x2102 and save.

What you will learn

  • Memories: ROM (POST, bootstrap, ROMMON), flash (IOS image), NVRAM (startup-config), RAM (running IOS and running-config).
  • Boot: POST → bootstrap → locate IOS and load it into RAM (flash or TFTP) → startup-config → running-config (otherwise setup) → CLI.
  • IOS lookup: configuration register → boot system commands → the first IOS in flash → TFTP → ROMMON. To pick an image: boot system flash0:<file>.
  • The configuration register is 0x2102 by default (IOS from flash, configuration from NVRAM). 0x2142 ignores the startup-config: it is for password recovery. Verify with show version.
  • Password recovery: Ctrl+Break → confreg 0x2142 in ROMMON → reset → copy startup-config running-config → new password → config-register 0x2102 → copy running-config startup-config.

The lesson has 5 key points, an explanation and 5 questions. It opens with a package.