Cisco Router Booting Process Explained with Examples
This tutorial explains a router's booting process, modes (ROMMON, Mini-IOS, Startup, and running configuration), stages (POST, Bootstrap, startup, and loaded), components (ROM, FLASH, NVRAM, and RAM), and configuration register values.
ROM
ROM (Read-Only Memory) stores four components: POST, the Bootstrap program, ROMMON mode, and Mini IOS.
POST
POST (Power-On Self-Test) is a low-level diagnostic utility. It controls the first step of the booting process. It performs various tests on hardware components. It verifies that all necessary components are present and operational. It checks all modular slots for any hardware changes, such as installing a new interface or removing an existing one.
Bootstrap
Bootstrap is the second utility in the booting sequence. It controls the search and load process of IOS. It is responsible for locating the IOS image file across all possible locations, selecting the appropriate IOS image file if multiple are available, and loading and extracting the chosen file into RAM.
ROMMON
ROMMON is a portable IOS program that allows you to perform various troubleshooting and diagnostic tasks, such as recovering passwords and restoring or updating the IOS image file. It has its own mode known as ROMMON mode. The boot sequence follows a conditional rule to enter this mode. If Bootstrap succeeds in finding and loading the IOS image, it will skip this mode. The boot sequence will enter this mode automatically if it fails to find an IOS image file at any of the possible locations. You can manually enter this mode for diagnostic purposes. Run the reload command from Privilege mode to reboot the router. Press CTRL + C in the first 60 seconds of the boot sequence. It will interrupt the typical boot sequence and force it to enter ROMMON mode.
Mini-IOS
Mini-IOS is a fallback utility that contains a stripped-down version of IOS. It allows you to restore the IOS image file from an external device using the TFTP protocol when the existing IOS image file is corrupt. It does not support any other functionality. It is called RXBOOT mode.
Flash
Flash is a nonvolatile memory. Data stored in it is not lost when you turn the router off. You could treat it as a hard drive on the router. Just as data stored in a hard disk remains safe, the same as data stored in a flash remains safe. A router uses it to store the IOS image file. During the boot process, the router loads the IOS image file from Flash to RAM.
NVRAM
NVRAM is another permanent memory. Data stored in NVRAM also remains safe. A router uses NVRAM to store configuration files. NVRAM uses a battery to retain data during a power outage.
RAM
RAM is a temporary memory. Data stored in RAM is lost when the power is off. RAM erases all data when you turn off the router. In a powered-on state, it contains all the information required to function the router. It stores ARP, CDP neighbor, routing table, and other protocol-specific tables. The boot process first loads the IOS image file from Flash into RAM. Then it loads the startup configuration from NVRAM to RAM.
Configuration register value
The configuration register value controls the booting process. To check the current configuration register value, use the "show version" command from exec mode.

- It is a four-character hexadecimal value. You can change it from Privilege mode.
- Default value is 0X2102.
- "0x" indicates that the characters that follow are in hexadecimal.
- The third character in the configuration register can modify how the router loads the configuration file.
- The fourth character in the configuration register is known as the boot field. Changing this value will change the booting process.
- Setting 0X2100 will always boot the router in ROMMON mode.
- Setting 0X2101 will always boot the router in RXBOOT mode.
- Setting 0X2102 to 0X210F will always load the first valid IOS from Flash.
- Values from 2 to F in the fourth character specify other IOS image files in Flash.
- The router keeps the password in the startup-config file. It saves this file in NVRAM.
- Setting 0x2142 causes the router to ignore the startup-config file in NVRAM and proceed without a configuration.

The router goes through three steps during boot.
- POST (Power on self test)
- Locate and load IOS
- Locate and run the device configuration file

Router booting process
- The router is powered on.
- Power-on self-test (POST) checks hardware components, including memory and interfaces.
- The Bootstrap program is loaded and executed.
- Bootstrap reads the configuration register value to determine how the router will boot up.
- Depending on the configuration register value, the bootstrap program locates and loads the IOS image.
- If Bootstrap fails to load IOS from all possible locations, it will drop the boot sequence in ROMMON mode for troubleshooting.
- If IOS is loaded, the IOS will try to find and load the configuration.
- If the configuration is unavailable, it launches the system configuration dialog.
- If the configuration is loaded, it presents the router's CLI interface.
Conclusion
Understanding the booting process of a router is essential for troubleshooting and configuration. This process involves several key stages, including POST, the Bootstrap program, and loading of the IOS and configuration files. Key components such as ROM, FLASH, NVRAM, and RAM play vital roles in storing and managing data critical to the router's functionality. Understanding these foundational concepts helps you configure and manage a router more effectively.
By ComputerNetworkingNotes Updated on 2025-11-27