Monday, 26 September 2016

Cisco devices hardware component and booting process


ROM

ROM contains the necessary firmware to boot up your router and typically has the following four components:
·         POST (power-on self-test) Performs tests on the router's hardware components.
·         Bootstrap program Brings the router up and determines how the IOS image and configuration files will be found and loaded.
·         ROM Monitor (ROMMON mode) A mini–operating system that allows you to perform low-level testing and troubleshooting, the password recovery procedure,
·         Mini-IOS A stripped-down version of the IOS that contains only IP code. This should be used in emergency situations where the IOS image in flash can't be found and you want to boot up your router and load in another IOS image. This stripped-down IOS is referred to as RXBOOT mode.

RAM

RAM is like the memory in your PC. On a router, it (in most cases) contains the running IOS image; the active configuration file; any tables (including routing, ARP, CDP neighbor, and other tables); and internal buffers for temporarily storing information, such as interface input and output buffers. The IOS is responsible for managing memory. When you turn off your router, everything in RAM is erased.

Flash

Flash is a form of nonvolatile memory in that when you turn the router off, the information stored in flash is not lost. Routers store their IOS image in flash, but other information can also be stored here. Note that some lower-end Cisco routers actually run the IOS directly from flash (not RAM). Flash is slower than RAM, a fact that can create performance issues.

NVRAM

NVRAM is like flash in that its contents are not erased when you turn off your router. It is slightly different, though, in that it uses a battery to maintain the information when the Cisco device is turned off. Routers use NVRAM to store their configuration files. In newer versions of the IOS, you can store more than one configuration file here.

Router Boot up Process

A router typically goes through five steps when booting up:
·         The router loads and runs POST (located in ROM), testing its hardware components, including memory and interfaces.
·         The bootstrap program is loaded and executed.
·         The bootstrap program finds and loads an IOS image: Possible locations: - flash, a TFTP server, or the Mini-IOS in ROM.
·         Once the IOS is loaded, the IOS attempts to find and load a configuration file, stored in NVRAM

·         After the configuration is loaded, you are presented with the CLI interface. you are placed into is User EXEC mode.

No comments: