The Wayback Machine - https://web.archive.org/web/20240810103328/https://www.geeksforgeeks.org/what-are-the-different-memories-used-in-a-cisco-router/
Open In App

What are the different memories used in a CISCO router?

Last Updated : 07 Oct, 2021
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Before we discuss the memories that are used in a Cisco router, let’s understand what basically a Router is.

When we want to connect two or more IP networks or subnetworks together, then a piece of hardware is needed and that hardware is called a Router. It generally serves two purposes:

  1. Enabling the usage of a single Internet connection by several devices.
  2. By forwarding packets to their designated IP addresses, traffic among these networks can be monitored.

PC1 and PC2 are connected to a router that is connected to Internet Service.

How does Router work?

Each data packet has a distinct destination and travels a distinct path to get there and these packets are guided by the router. The router also ensures that each data packet is successfully delivered to its destination without any interference in between the transmission. The best route is selected with the help of routing protocols like RIP(Routing Internet Protocol) /OSPF(Open Shortest Path First).

A routing table is used by the router internally where both the static (these types of addresses are assigned by the ISP(Internet Service Provider) and these types of addresses do not change) as well as dynamic addresses (these types of addresses are assigned using  DHCP(Dynamic host configuration Protocol) and these addresses change over time, they are not fixed) are stored.

Different types of Memories in a Router :

1. Random Access Memory (RAM) – 
Random Access Memory (RAM) in a router is similar to the RAM that is installed in our PCs, Mobile Phones, and Laptops. The RAM is categorized into two areas:  

  • Main Processor Memory, where information related to running router configuration (commands that we are currently running), routing table, and ARP (Address Resolution Protocol) cache is stored/saved.  
  • Shared I/O Memory, which acts as a temporary storage memory where the data packets that are in queue are stored.  

Whenever the Router is rebooted or restarted, all the data, all the information that is stored in the RAM gets removed or deleted. The data gets deleted because all the information in the RAM is temporarily stored in a router. We can permanently store the data in NVRAM.

2. Non-Volatile Random Access Memory (NVRAM) : 
NVRAM is used to store the startup configuration file. Startup configuration files are the copies of the Cisco Router Configuration file and they are retained after the router is restarted or rebooted. In NVRAM, if the router is rebooted or if the router is switched off then the data is not lost, it can be easily recovered. If we want to save the running configuration files permanently then we can move these files from RAM to NVRAM.

3. Read-Only Memory (ROM) :
A Cisco router’s boot procedure starts from the ROM memory section. ROM consists of programming instructions like POST (Power-On-Self-Test) and Bootstrap program. POST test is used to verify that whether hardware components like CPU, RAM, and interfaces are functioning properly or not. If they are not working properly then POST sends an error message. After this, the bootstrap application is used to set up the router’s CPU and boot functions. The bootstrap program is in charge of discovering and loading the router’s operating system (IOS). All this information is saved/stored in ROM and the data is retained even if the router is switched off or rebooted.

4. Flash Memory : 
This is an Erasable Programmable Read-only Memory chip (EPROM). In flash memory, the operating system of the router I.e. IOS (Internetwork Operating System) is available. Unlike ROM, it is easily upgradable and does not require any hardware changes. In flash memory also, the content is retained whenever the router the switched off or rebooted.

Summarizing different memories that are used in Cisco Router – 

  • RAM stores the currently working tasks. 
  • NVRAM where startup configuration takes place. 
  • ROM where the information of POST and bootstrap program is available. 
  • And Flash Memory where the operating system of Router IOS is present.

Previous Article
Next Article

Similar Reads

What are Different Types of Passwords used in Securing Cisco Router?
Passwords are an essential part of the cisco router access control methods. These are used to restrict access to a CISCO router; As there is no automatic or default password defense that comes with the routers, different types of passwords are used, such as the Console password used for setting up the console port password, Aux Passwords for settin
4 min read
Hot Standby Router Protocol (HSRP) and Virtual Router Redundancy Protocol (VRRP)
Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol used to provide redundancy in a network. Only one router is the active router while others will be in standby state i.e the standby router will be responsible for forwarding the traffic when the active router fails. Virtual Router Redundancy Protocol (VRRP) is an open standard proto
3 min read
Backing up Cisco IOS Router image
As a network administrator, you should always have a backup for worse conditions. One of the common worse conditions that can occur is the IOS image of a device being deleted. This condition gets worse if there is no backup of the IOS image present. So to ignore conditions like these, a backup should be a must and here we will take a Cisco IOS imag
4 min read
Cisco Router modes
A router is a layer 3 device used to forward packets from one network to another. It forwards the packet through one of its ports on the basis of destination IP address and the entry in the routing table. By using a routing table, it finds an optimized path between the source and destination network. Let's discuss the Cisco router's different modes
4 min read
Cisco Router basic commands
A router is a layer 3 device used to forward packets from one network to another. It forwards the packet through one of its ports on the basis of destination IP address and the entry in the routing table. By using a routing table, it finds an optimized path between the source and destination network. Here, we will talk about Cisco router's basic co
4 min read
How to Configure DHCP Server on a Cisco Router?
In this article, we will discuss the overview of DHCP and will focus to implement How to Configure DHCP Server on a Cisco Router step by step. Let's discuss it one by one. Overview :DHCP (Dynamic Host Configuration Protocol) configuration is performed on routers to assign an IP address, subnet mask, gateway address ad DNS server address to the host
3 min read
Difference between User Mode and Privileged Mode in Cisco Router
A router is a layer 3 device used to forward packets from one network to another. It forwards the packet through one of its ports on the basis of destination IP address and the entry in the routing table. By using a routing table, it finds an optimized path between the source and destination network. In this article we will see difference between U
3 min read
How to Add Port in Router in CISCO Packet Tracer?
Cisco Packet Tracer is a tool built by Cisco and it provides network simulation to practice simple and complex networks. The main purpose of the Cisco Packet Tracer is to help students learn the principles of networking and demonstrate the networking concepts. Router is a networking device that works in the network layer and can connect two differe
2 min read
Implementation of Static Routing in Cisco - 2 Router Connections
Pre-Requisite Types of Routing Static routing is a routing protocol that helps to keep your network organized and to optimize routing performance. It enables the router to assign a specific path to each network segment and to keep track of network changes. This helps to improve network stability and continuity. This adds security because a single a
3 min read
Hot Standby Router Protocol (HSRP)
Hot Standby Router Protocol (HSRP) is a CISCO proprietary protocol, which provides redundancy for a local subnet. In HSRP, two or more routers gives an illusion of a virtual router. HSRP allows you to configure two or more routers as standby routers and only a single router as an active router at a time. All the routers in a single HSRP group share
4 min read
Article Tags :
three90RightbarBannerImg