Cisco 640-802 CCNA And CCENT Certification: RAM, ROM, NVRAM, Flash, And The Boot Process
Computers & Technology → Networking
- Author Chris Bryant
- Published December 4, 2007
- Word count 776
An important part of your Cisco CCENT and CCNA certification studies is learning the differences between RAM, ROM, NVRAM, and Flash memory. You better know the differences when it comes to working in real-life networks as well, because vital Cisco files are found in these memory types - and since some of these files are lost on a router reload and some are not, we better know which is which!
The memory types and functions discussed in this section are the same for routers and switches, but to keep from saying "routers and switches" 500 times, I'll just say "routers". :)
Configuring the routers is a lot of fun, but we've got to know what's going on inside the router, too! Cisco routers have four different kinds of memory, and while some of the names are similar, their purpose is totally different.
The contents of some of these memory types is kept when the router is reloaded, and others are lost on a reload. We better know which is which!
It's a fair bet that these topics will come up on your CCENT and CCNA exams, and this is also information you've got to know to be a real network admin. Let's examine these four memory types closely and see what each one does!
ROM: Read-Only Memory. 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.
RAM: Random-Access Memory. 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.
NVRAM: Non-volatile RAM. NVRAM holds the router’s startup configuration file. NVRAM contents are not lost when the router is powered down or reloaded.
Some important comparisons:
RAM 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.
Let's take a look at the boot process of a Cisco router, and then talk about the dreaded Setup Mode!
The Router Boot Process
When a Cisco router powers up, it first runs a series of POSTs (Power-On Self Test). A POST is a series of diagnostic tests designed to verify the basic operation of the network interfaces, memory, and the CPU.
Depending on the model or router of switch you're using, you can actually see some of these tests being passed. Here, I've reloaded a Cisco 2950 switch, and you can see some of the POSTs being run and passed at the very beginning of the bootup process.
Initializing flashfs...
flashfs[1]: 79 files, 3 directories
flashfs[1]: 0 orphaned files, 0 orphaned directori
flashfs[1]: Total bytes: 7741440
flashfs[1]: Bytes used: 5980672
flashfs[1]: Bytes available: 1760768
flashfs[1]: flashfs fsck took 7 seconds.
flashfs[1]: Initialization complete.
Done initializing flashfs.
POST: System Board Test : Passed
POST: Ethernet Controller Test : Passed
ASIC Initialization Passed
POST: FRONT-END LOOPBACK TEST : Passed
POSTs are particularly effective at detecting major problems early in the boot process, such as a broken fan. If the POST detects such a problem (usually called an "environmental factor") that would cause the router or switch to overheat after booting, the POST will fail, give you a clear message as to why the POST failed, and will then stop the boot process.
But let's speak positively here!
After the router passes the POST, it looks for a source from which to load a valid Internetwork Operating System (IOS). The router has three sources from which it can load an IOS image, and it's a good idea to know these sources and the order in which the router will look in each for the IOS image:
-
Flash memory (the default).
-
A TFTP server. (Trivial File Transfer Protocol)
-
Read-Only Memory (ROM)
To change that order, a change must be made to the configuration register, and we'll talk about that later in the course. It's similar to the Microsoft Registry in that you should never change this value unless you are sure of the result.
Once the IOS is found, the router looks for a valid startup configuration file. By default, the router will look for the startup configuration file in Non-volatile RAM (NVRAM).
If no valid startup configuration file is found, the router enters setup mode, where the router runs the system configuration dialogue, a series of questions involving basic router setup. We'll take a look at Setup Mode in the next installment of my exclusive 640-802 CCNA and CCENT certification exam tutorial series!
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (http://www.thebryantadvantage.com ), home of free CCNA and CCNP tutorials, and The Ultimate CCNA and CCNP Study Packages.
For a copy of his FREE "How To Pass The CCNA" or "CCNP" ebook, visit the website and download copies! Our new RSS feed gives you free Cisco questions and tutorials daily!
Article source: https://articlebiz.comRate article
Article comments
There are no posted comments.
Related articles
- Optimize Your Website for the Better Sight
- How To Develop & Implement A Network Security Plan
- Mastering VoIP: Overcoming Common Communication Challenges
- What Concerns Do Enterprises Have When Choosing Network Monitoring Software?
- Spectrum Router Red Light: Troubleshooting Guide and Solutions
- Web Development Made Easy: Why Outsourcing is the Smart Choice
- INTERNET OF THINGS
- Enhancing Business Communication with 3CX: A Powerful Unified Communications Solution
- How to Fix "No Signal, Please Check Your Antenna Connection" Error
- AN INTRODUCTION TO INTERNET MARKETING
- Passwordless is the New Cyber Security, Emir Ceric’s Meveto Transform Verification, Logging In and Remote Sign Out
- The Ultimate Guide to Master YouTube and Monetization
- Preventing data theft in an enterprise environment
- The Art Of Cold Calling [Mastery In Seven Simple Steps]
- Quantum Computing and the future of IT Security
- 5G TECHNOLOGY AND IOT: HOW DO THESE TRENDS RELATE?
- SkyVPN Launches New Gaming Servers with Dedicated Servers for PUBG
- Smm reseller panel
- Steps to Transfer Files Using Kindle Desktop Application
- Save time on your FTP updates with FTPGetter Professional
- Add a file hosting and sharing service to your site with YetiShare
- MCS Multicast Switch for Next Generation ROADM
- Business Networking Tips for Beginners
- Using Virtual Serial Ports in Proteus
- Network Security Checklist for All Types of Businesses
- Create Your Own File-Hosting Website with YetiShare
- Cat5 cable vs Cat6 Cables: What are the Contrast?
- Automate FTP Downloads and Uploads with FTPGetter Professional
- On Demand Freelance Marketplace For Field Engineers
- Cisco Network Infrastructure Services in San Francisco