Unit 1 Network Fundamentals
Unit 1 Network Fundamentals
•Router and its major Components •Endpoints and Servers •Verify and Configure IPv6
Address
•Different Modes of a Router •Cisco Network Topology Architecture
•Access Points and Wireless
•Cisco IOS Basic Commands •Physical Interfaces and Cabling Types Principles
•Setting Passwords in a Router •Optical Fiber Cable and its Types •Virtualization Fundamentals
• What is a Router?
• A router is a network device that operates at the network layer of the OSI Model.
• Unlike an Ethernet switch, the router is a more complicated and expensive device. It requires a lot of initial
configuration before installing and deploying it to the IP network.
• The basic function of a router is to interconnect different networks and works in a WAN environment.
• It routes IP traffic from one network to another network on the basis of the destination IP address.
• The router maintains an IP routing table and makes a routing decision on the basis of the destination IP address
mentioned in the routing table to forward the packet from one interface to another interface of the router.
• It acts as a traffic cop and controls the IP traffic congestion flowing in and out of the different interfaces of the router.
How does a Router work?
The function of the router is to route the IP packet from the source station to the destination station that belongs to the different
networks. Every data packet traveling through the router contains the source IP address and the destination IP address.
Processor
The routers are powered by high-performance multi-core processors that can support the high-speed multiple LAN or WAN connections and can
run multiple concurrent services. Generally, the CPU used in routers is based on RISC (Reduced Instruction Set Computing) architecture.
Memory
Just like a desktop computer, the router also employs different types of memory. These memories are ROM (Read Only Memory), RAM
(Random Access Memory), NVRAM (Non-Volatile RAM), and Flash memory. Each memory has its own specific function as described below:
Different Types of Memory
ROM
•It is a Read-Only Memory and is non-volatile in nature. That means its content does not get deleted if the router is turned off.
•ROM’s major function is to perform POST (Power On Self Test) operations. It checks all the system hardware and generates a
self-test report as soon as the router is powered on.
RAM
•RAM is the main memory and it is volatile in nature i.e. its content will be lost when the router is powered off.
•It temporarily stores the configuration of the router and is called the running configuration.
•It also stores routing tables, ARP cache, and buffered packets.
NVRAM
•It is a special type of RAM that is non-volatile in nature. Hence, it is called Non Volatile RAM because it can retain the
information even if the router is powered off.
•It provides the storage for the user-defined configuration for the router and is called the startup configuration.
•NVRAM also stores Configuration Register. It is a 16-bit register, the value of which decides the boot sequence of the router.
The hexadecimal value 0x2102 is the default configuration register value that boots the router in normal mode. Sometimes, the
router does not boot in normal mode, when the router does not find the valid IOS image. The router then boots from the mini IOS
and this time the configuration register value is set to 0x2142.
Flash memory
•Flash memory acts as a secondary memory of a router where the operating system image is stored.
•It is an electrically erasable ROM and can hold the content even if the router is shut down.
•It can store multiple versions of IOS images.
Types of Interfaces
Interfaces are the communication ports that are used for the connectivity of different networks and the management of the router.
Routers may have the following different types of LAN and WAN interfaces. LAN interface includes Standard Ethernet, Fast
Ethernet, Gigabit Ethernet, FDDI, Token Ring, etc. Whereas, WAN interfaces can be Serial ports, ISDN, etc. There are
Console and Auxiliary ports for router configuration and management.
- Standard Ethernet
It is the basic Ethernet type defined in IEEE 802.3 standard. Ethernet supports data speed up to 10 Mbps. It is an old standard and
it is mostly replaced by the new Ethernet standard offering higher bandwidth. The transmission media supported for the Ethernet
is 10Base-T.
- Fast Ethernet
Fast Ethernet port, also called Fe port, provides a higher data transmission rate up to 100 Mbps. The IEEE standard for Fast
Ethernet is 802.3u. The transmission media supported by Fast Ethernet are 100Base-T, 100Base-TX, 100Base-FX, etc.
- Gigabit Ethernet
Gigabit Ethernet is the next-level Ethernet technology offering ten times higher data rate than Fast Ethernet. It can have a speed of
up to 1000 Mbps and it is defined in IEEE 802.3z. The communication media defined in Gigabit Ethernet standards are
1000Base-T, 1000Base-LX, 1000Base-SX, etc.
- Serial Interface
The serial interface is used for WAN connectivity. The separate modules or cards are added to the router for serial connection.
Mostly, the serial connection is used for point-to-point links. When we establish a serial connection between two routers, one end
is said to be DCE ( Data Communication Equipment) and the other end is DTE ( Data Terminating Equipment). The clock
rate or bandwidth is decided at the DCE end for channel bandwidth.
- Auxiliary Port
Auxiliary (Aux) port connects the router remotely in a non-network environment. The dial-up modem is used for end to end
connectivity between the Aux port of the router and the remote PC. This allows a network to access the router from a remote
location.
You can click on the link below to :
How to Access the Router through Aux Port
- Loopback Interface
The loopback interface is not a physically available port in the router. It is the virtual or logical port. It has many uses. It is used as
a router ID when we configure OSPF protocols in the routers. The loopback port is the “Always On” port. Hence, the router is
reachable on the network as long as its IP routing table is maintained in the router, even if the router’s physical ports are down.
The loopback interface plays a vital role for diagnostic and troubleshooting purposes.
Different Modes of a Cisco Router
The various command modes supported by a Cisco router are as follows:
Modes Prompts How to enter into a particular mode Exit from the mode
After, the router boots in default mode hit the Type EXIT in User Exec Mode
User Execution Mode Router>
ENTER key. Router>EXIT
Type DISABLE to go back to User mode.
Type ENABLE command in user mode to
Privileged Execution Router#DISABLE
Router# enter into the privileged mode
Mode Type EXIT to log out of the router
Router>ENABLE
Router#EXIT
Type CONFIGURE TERMINAL command
Type EXIT to back to the previous mode i.e.
Global Configuration in privileged mode to enter into global config
Router(config)# privileged mode
Mode mode
Router(config)#EXIT
Router#CONFIGURE TERMINAL
Router Parameter <parameter Router enters into the set-up mode, when it Type NO to exit from the set-up mode to get back to
Set-up Mode
Value>: does not find the startup-config in NVRAM. the user mode.
Router(config)#router rip
Configures RIP protocol to the router.
Router(config-router)#network 172.20.0.0
Router(config)#no router rip Disable RIP protocol form the router.
Router(config)#router OSPF 1
Configures the OSPF routing protocol to the router.
Router(config-router)#network 172.20.0.0 0.0.255.255 Area 0
Router(config)#ip route 172.20.0.0 255.255.0.0 172.20.2.1 Configure static routing to the router
Router(config)#no cdp run To disable CDP protocol from the router.
Router(config)#cdp run To enable CDP on the router.
How to set passwords in a Cisco Router
Network security is a major concern, while we deploy the router in a data network. The router works uninterruptedly in a network,
thus it is more vulnerable to external threats and unauthorized access to the network.
In order to prevent and protect the network from unwanted threats and unauthorized access, the router must be password
protected.
Types of Password
The different levels of passwords are set to access the router.
There are five different passwords that can be set on a Cisco
Router.
•Enable Password
•Enable Secret Password
•Line Console Password
•Line Auxiliary Password
•Telnet or VTY Password
Enable and Enable Secret passwords are called the
Privileged mode password. These two passwords are set
to go from User Exec Mode to the Privileged Exec Mode.
The Enable Secret password is encrypted by default.
The other three passwords i.e. Line Console, Line Aux, and
VTY passwords are set to gain access to the router.
Enable Password
Enable password is set on the router in order to go from user exec mode to the privileged exec mode. The CLI command to set
enable password is:
Router>ENABLE
Router#CONFIGURE TERMINAL
Router(config)#ENABLE PASSWORD 1234
Router>ENABLE
Router#CONFIGURE TERMINAL
Router(config)#ENABLE SECRET 12345
Router>ENABLE
Router#CONFIGURE TERMINAL
Router(config)#LINE AUX 0
Router(config-line)#LOGIN
Router(config-line)#PASSWORD 123456
Router>ENABLE
Router#CONFIGURE TERMINAL
Router(config)#LINE VTY 0 4
Router(config-line)#LOGIN
Router(config-line)#PASSWORD 123456