Booting up the Router
Cisco routers can boot Cisco IOS software from these locations:
1. Flash memory2. TFTP server3. ROM (not full Cisco IOS)
There are some options which provide flexibility and fallback alternatives:Default boot sequence for Cisco IOS software:1. NVRAM2. Flash (sequential)3. TFTP server (network boot)4. ROM (partial IOS)
Note: boot system commands can be used to specify the primary IOS source and fallback sequences.
Booting up the router and locating the Cisco IOS
1. POST (power on self test)2. Bootstrap code executed3. Check Configuration Register value (NVRAM) which can be modified using the config-register command
0 = ROM Monitor mode1 = ROM IOS2 – 15 = startup-config in NVRAM
4. Startup-config file: Check for boot system commands (NVRAM)If boot system commands in startup-configa. Run boot system commands in order they appear in startup-config to locate the IOSb. [If boot system commands fail, use default fallback sequence to locate the IOS (Flash, TFTP, ROM)?]
If no boot system commands in startup-config use the default fallback sequence in locating the IOS:a. Flash (sequential)b. TFTP server (netboot)c. ROM (partial IOS) or keep retrying TFTP depending upon router model
5. If IOS is loaded, but there is no startup-config file, the router will use the default fallback sequence for locating the IOS and then it will enter setup mode or the setup dialogue.6. If no IOS can be loaded, the router will get the partial IOS version from ROM===================================================================
Default (normal) Boot Sequence
Power on Router – Router does POST – Bootstrap starts IOS load – Check configuration registerto see what mode the router should boot up in (usually 0×102 to 0×10F to look in NVRAM) – check the startup-config file in NVRAM for boot-system commands (normally there aren’t any) – load IOS from Flash.
Boot System Commands
Router(config)# boot system flash IOS filename – boot from FLASH memoryRouter(config)# boot system tftp IOS filename tftp server ip address – boot from a TFTP serverRouter(config)# boot system rom – boot from system ROM
Configuration Register Command
Router(config)# config-register 0×10x (where that last x is 0-F in hex)
When the last x is:0 = boot into ROM Monitor mode1 = boot the ROM IOS2 – 15 = look in startup config file in NVRAM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment