Home > Cisco Router Boot Sequence Tutorial

Cisco Router Boot Sequence Tutorial

December 16th, 2011 Go to comments

In this article we will learn about the main components of a Cisco router and how the boot process takes place.

Types of memory

Generally Cisco routers (and switches) contain four types of memory:

Read-Only Memory (ROM): ROM stores the router’s bootstrap startup program, operating system software, and power-on diagnostic test programs (POST).

Flash Memory: Generally referred to simply as “flash”, the IOS images are held here. Flash is erasable and reprogrammable ROM. Flash memory content is retained by the router on reload.

Random-Access Memory (RAM): Stores operational information such as routing tables and the running configuration file. RAM contents are lost when the router is powered down or reloaded. By default, routers look here first for an Internetwork Operating System (IOS) file during boot.

Non-volatile RAM (NVRAM): NVRAM holds the router’s startup configuration file. NVRAM contents are not lost when the router is powered down or reloaded.

Some comparisons to help you remember easier:

+ RAM is a volatile memory so contents are lost on reload, where NVRAM and Flash contents are not.
+ NVRAM holds the startup configuration file, where RAM holds the running configuration file.
+ ROM contains a bootstrap program called ROM Monitor (or ROMmon). When a router is powered on, the bootstrap runs a hardware diagnostic called POST (Power-On Self Test).

Router boot process

The following details the router boot process:
1. The router is powered on.
2. The router first runs Power-On Self Test (POST)
3. The bootstrap checks the Configuration Register value to specify where to load the IOS. By default (the default value of Configuration Register is 2102, in hexadecimal), the router first looks for “boot system” commands in startup-config file. If it finds these commands, it will run boot system commands in order they appear in startup-config to locate the IOS. If not, the IOS image is loaded from Flash . If the IOS is not found in Flash, the bootstrap can try to load the IOS from TFTP server or from ROM (mini-IOS).
4. After the IOS is found, it is loaded into RAM.
5. The IOS attempts to load the configuration file (startup-config) from NVRAM to RAM. If the startup-config is not found in NVRAM, the IOS attempts to load a configuration file from TFTP. If no TFTP server responds, the router enters Setup Mode (Initial Configuration Mode).

Cisco_Boot_Sequence.jpg

And this is the process we can see on our screen when the router is turned on:

Cisco_router_boot_process.jpg

In short, when powered on the router needs to do:

1. Run POST to check hardware
2. Search for a valid IOS (the Operating System of the router)
3. Search for a configuration file (all the configurations applied to this router)

Specify how much RAM, NVRAM and Flash of a router

Also, from the information shown above, we can learn some information about router’s model, RAM, Flash, NVRAM memories as shown below:

RAM_ROM_Flash_memory.jpg

Note: The “show version” command also gives us this information.

All the above information is straight-forwarding except the information of RAM. In some series of routers, the RAM information is displayed by 2 parameters (in this case 60416K/5120K). The first parameter indicates how much RAM is in the router while the second parameter (5120K) indicates how much DRAM is being used for Packet memory. Packet memory is used for buffering packets.

So, from the output above we can learn:

Amount of RAM: 60416 + 5120 = 65536KB / 1024 = 64MB
Amount of NVRAM: 239KB
Amount of Flash: 62720KB

Comments (179) Comments
Comment pages
  1. ANITA
    October 24th, 2012

    I’ll give CCNA exam in first week of November..
    please contact me who recently passed CCNA exam or planning to give CCNA exam…
    please tell me which dump is good and sims…

    er.anita.annu@gmail.com

  2. jesus
    October 26th, 2012

    very good tks

  3. Orkhan
    October 26th, 2012
  4. fady
    November 2nd, 2012

    Please all, guide me about the CCNA exam. from where should i start my studies? I new to networking. I have some videos, CBT Nuggets. And i know about this site, http://www.9tut.com. What should be my first step and then second.

    Thanks all.

  5. Juvia
    November 7th, 2012

    Simple explanation yet very understandable.

  6. Koop
    December 4th, 2012

    There is something I don’t understand.

    In step 3 you say “the router first looks for “boot system” commands in startup-config file” but then you say that the startup config is loaded only in step 5.
    So at step 3 the startup config file is not loaded yet so the device can’t read it..

    Any explanation ? thx

  7. joffrey
    January 16th, 2013

    Can you please send me latest dumps

    i’ll take CCNA Exam this january 2013

  8. joffrey
    January 16th, 2013

    Can you please send me latest dumps

    i’ll take CCNA Exam this january 2013

    joffreyjoffrey77@yahoo.com

  9. Kayzer Sozen
    January 16th, 2013

    Please send me the latest dumps
    kayzersozen@msn.com

  10. Ankur
    January 26th, 2013

    please send me a latest dumps… ankurpatel212@gmail.com

    thanks

  11. Kiran
    February 1st, 2013

    Please need help in giving CCNA, I am doing Cisco.ActualTests.640-802.v2012-12-18.by.Acme.676q.
    Will it be enough?

  12. adonis
    February 5th, 2013

    Can some1 send me the latest Simulation , and dumps ?:) Thnx
    adwnis14@hotmail.com

  13. Pomelo
    February 19th, 2013

    Please send me a latest dumps to email
    oil_pitak@hotmail.com

  14. How to open this sim?
    February 26th, 2013

    Any one that can clear this up please??

    There is something I don’t understand.
    In step 3 you say “the router first looks for “boot system” commands in startup-config file” but then you say that the startup config is loaded only in step 5.
    So at step 3 the startup config file is not loaded yet so the device can’t read it..
    Any explanation ? thx

  15. dhiwan
    March 20th, 2013

    can u send me latest dumps….divah80@gmail.com

  16. j308minor@yahoo.com
    March 22nd, 2013

    Can someone send me the latest dumps

  17. Debojit Ganguly
    March 24th, 2013

    Cisco Router Boot Sequence tutorial it’s mind blowing.now i’m fully understand how the router power on self test in the 1st position. for latest dumps help me please {debojitganguly2@gmail.com}……..

  18. M Keane
    April 6th, 2013

    Hi
    thanks very much for your help, the tutorials are great. Can you please send me the latest dumps.
    to mer.keane@gmail.com

  19. cuddy15
    April 18th, 2013

    can someone send me the lastest dumps PLS? coreymcdavis@yahoo.com

  20. Muhammad Ishtiaq
    April 19th, 2013

    cane any person send me latest dumps of ccna ? thanks if u do it my email ID ishtiaqccna@hotmail.com

  21. Lipton Ahammed
    April 20th, 2013

    Hello,

    I need latest dumps for CCNA examp. So, please can sending dumps from any person to my email: lipton_bgr@yahoo.com. Thanks Lipton, Dhaka, Bangladesh

  22. GR
    April 24th, 2013

    Can someone pleas send me the latest dumps? Feliu100@hotmail.com

  23. ashdq
    May 1st, 2013

    Hii All…

    could you please send me (shidiqmabud@gmail.com) the latest dumps coz me and my friend are going to take CCNA 640-802 in the end of this may…

    thank you verry much..

  24. Anonymous
    May 9th, 2013

    Could anyone can send me the latest pass4sure exam materials to aravinda2004@yahoo.com

  25. Anonymous
    May 13th, 2013

    I plan on taking the CCNA soon so could somebody please send me the latest dump? joebarrow11@yahoo.com

  26. Ken
    May 14th, 2013

    How are you planning on getting a job on networking if you are looking for dumps for a simple exam???????????????

    Once you pass it you see it is not that hard, it is more about nerves, this thing is easy just concentrate in the real knowledge

  27. Zero2341
    May 29th, 2013

    I am making a secure investement, it is $300 that I am not going to give to cisco for Free. First time I perform the test, I am getting certificated. That’s the why.

  28. chamemm
    June 2nd, 2013

    Latest dumps needed, chamemm@yahoo.co.uk! thank you.

  29. jim
    June 3rd, 2013

    Hello
    Can some one please send me the latest Dump? dim22@hotmail.com
    Thanks.

  30. Ahtasham
    June 9th, 2013

    Any one that can clear this up please??

    There is something I don’t understand.
    In step 3 you say “the router first looks for “boot system”……

    Dear.

    1- firstly when router power on, POST test will be run to check hardware status.
    2- Secondly now is time to check on which location our valid IOS located , it depends which Confg register value we set on router normally by default 0×2102 is set on router.
    “the router first looks for “boot system” commands in startup-config file” this line means that might be we set manually commands that our router should firstly find IOS on FTP then others.
    Example: Router(config)#boot system tftp: C1841-ADVIPSERVICESK9-M 10.1.1.1
    if not then router will boot up by default .

    1- firstly Check flash if not found in flash then in FTP .
    2- If not found in FTP then it will go in roman mode.
    .
    After loading IOS from flash then router will search valid configuration file in NVram.
    if this not in Nvram than router will find out on FTP .
    or if also not located in FTP then it will show Setup wizard

  31. Richard
    June 13th, 2013

    thank you! well explained..

  32. Richard
    June 13th, 2013

    ahtasham,
    I think, you already answer your question.

    You can change the configuration register value to modify how the router boots and runs. These are the main reasons you would want to change the configuration register:
    >To force the system into the ROM monitor mode
    >To select a boot source
    >To enable or disable the Break function
    >To control broadcast addresses
    >To set the console terminal baud rate
    >To load operating software from ROM
    >To enable booting from a Trivial File Transfer Protocol (TFTP) server
    i hope it helps..

  33. Anonymous
    June 15th, 2013

    Can you please send me latest dumps

    i’ll take CCNA Exam this July 2013

    tomphony@gmail.com

  34. rahman
    June 16th, 2013

    I found this tutorial little confusing. Read Todd-Lammle, 7th edition page no. 280. It explains the boot sequence properly.

  35. 9tut
    June 17th, 2013

    @rahman: Could you please tell us what is wrong in the tutorial above?

  36. logan
    June 18th, 2013

    nice explanation

  37. Malik
    July 16th, 2013

    Nice tutorial. I passed my ccna a week ago using this site and watching ccna videos from ine.com… Thanks 9tut.con

  38. nunu
    July 26th, 2013

    Failed my exam, but am going for it again end of August

  39. alfaris
    July 27th, 2013

    Can you please send me latest dumps

    i’ll take CCNA Exam this january 2013

    alfaris200@yahoo.com

  40. alfaris
    July 27th, 2013

    Can you please send me latest dumps

    i’ll take CCNA Exam this September 2013

    alfaris200@yahoo.com

  41. era
    July 30th, 2013

    Dear All,
    Please send me the leatest dumps on erangadpm@gmail.com

  42. ahmed mukhtar
    July 31st, 2013

    Iam taking the ccna exam on september please could anyone send me latest dumps and material which helps like tutorial and videos thank you

    Email ahmedfaaf@hotmail.co.uk

  43. calintkd
    July 31st, 2013

    Can you please send me latest dumps please?

    I`ll take 640-802 this Friday, Aug 2nd 2013

    calinstefan@me.com

  44. Mateus Morais
    August 3rd, 2013

    Heloo there, can anyone send me the latest dumps please, I need so much, I will do the test in August 8º 2013.

    mateus.smorais@hotmail.com

  45. Sudhir Walia
    August 7th, 2013

    Can you please send me latest dumps please.I am taking 640-802 this Friday, Aug 12th 2013

    My email id is sudhir22e@gmail.com

  46. nooman fazil
    August 27th, 2013

    Can you please send me latest dumps please.I am taking 640-802 this Friday, Aug 12th 2013
    mail me to noomanfazil@gmail.com

  47. Anonymous
    August 31st, 2013

    hello good people can someone send me latest dumps on my email bmutumwapavI@gmail.com

  48. Abhishek
    September 1st, 2013

    Excellent Formation of site , please forward latest dumps abhikaushal2@gmail.com

  49. jagun65
    September 15th, 2013

    @ ffxiv arr gil,

    what does that rubbish have to do with CCNA, this site or anything really?

  50. Mrinal
    September 16th, 2013

    Its really helpful! thanks..

Comment pages
Add a Comment