SlideShare a Scribd company logo
1 of 31
Router Basics 
• Device used to connect different Networks are called Routers. 
• CISCO Router Series:- 
Cisco 1600 
Cisco 1800 
Cisco 2500 
Cisco 2600 
Cisco 3600 
Cisco 3700 
Cisco 7200 
Cisco 12000
External Parts of Router 
• Ports are used to configure Routers 
• Interfaces are for Router connections 
• Console are used to configure Router directly 
• Auxiliary are to configure Router remotely with the help of external modem 
• AUI (Attachment Unit Interface) is used to connect LAN or Network 
• Transceiver is an external device used to connect Network in Router 
• Serial Interface is used for Router to Router connectivity 
• V.35 cable is used which consist of 60 pin 
• A Console or Rollover cable has 2 ends, one RJ45 (Router end) and other DB9 (PC 
end)
Soft wares for Router 
• For Windows 
Hyper terminal 
Putty 
TeraTerm 
• For Linux 
Minicom 
• Open source 
Secure RT
Router Internal Parts 
• Processor 
• Motherboard 
• SMPS (Switched Mode Power Supply) 
• RAM (Saves Running Configuration) 
• NVRAM (Start up Configuration or Saved Settings) 
• ROM (POST, Bootstrap Loader or mini IOS) 
• Flash Memory (Saves IOS image- Internetwork Operating System)
Cisco IOS 
• Cisco technology is built around the Cisco Internetwork Operating System 
(IOS), which is the software that controls the routing and switching 
functions of internetworking devices. 
• A solid understanding of the IOS is essential for a network administrator.
Router Power-on/Boot up Sequence 
1. Perform power-on self test (POST). 
2. Load and run bootstrap code. 
3. Find the Cisco IOS software. 
4. Load the Cisco IOS software. 
5. Find the configuration. 
6. Load the configuration. 
7. Run the configured Cisco IOS software.
After POST 
After the POST, the following events occur as the router initializes: 
Step 1 The generic bootstrap loader in ROM executes. A bootstrap is a simple set of instructions that tests hardware 
and initializes the IOS for operation. 
Step 2 
The IOS can be found in several places. The boot field of the configuration register determines the location to be used 
in loading the IOS. 
Step 3 The operating system image is loaded. 
Step 4 The configuration file saved in NVRAM is loaded into main memory and executed one line at a time. The 
configuration commands start routing processes, supply addresses for interfaces, and define other operating 
characteristics of the router. 
Step 5 If no valid configuration file exists in NVRAM, the operating system searches for an available TFTP server. If 
no TFTP server is found, the setup dialog is initiated.
Hyper Terminal Session Properties
Command Line Interface (CLI)
Basic modes 
• There are three basic modes:- 
1. User Execution mode (‘>’) 
2. Privileged Execution mode or Enable mode (‘#’) 
3. Configuration mode {‘(config #)’}
Commands
Commands cont: 
• All command-line interface (CLI) configuration changes to a Cisco router are made from the 
global configuration mode. Other more specific modes are entered depending upon the 
configuration change that is required. 
• Global configuration mode commands are used in a router to apply configuration statements 
that affect the system as a whole. 
• The following command moves the router into global configuration mode 
• Router#configure terminal (or config t) 
Router(config)# 
• When specific configuration modes are entered, the router prompt changes to indicate the 
current configuration mode. 
• Typing exit from one of these specific configuration modes will return the router to global 
configuration mode. Pressing Ctrl-Z returns the router to all the way back privileged EXEC 
mode.
Router Version 
wg_ro_a#show version 
Cisco Internetwork Operating System Software 
IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fc1) 
Copyright (c) 1986-1999 by cisco Systems, Inc. 
Compiled Mon 08-Feb-99 18:18 by phanguye 
Image text-base: 0x03050C84, data-base: 0x00001000 
ROM: System Bootstrap, Version 11.0(10c), SOFTWARE 
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE(fc1) 
wg_ro_a uptime is 20 minutes 
System restarted by reload 
System image file is "flash:c2500-js-l_120-3.bin" 
(output omitted) 
--More-- 
Configuration register is 0x2102
Clock Set
Hostname 
A router should be given a unique name as one of the first configuration tasks. 
This task is accomplished in global configuration mode using the following 
commands: 
Router(config)#hostname Gates 
Gates(config)# 
As soon as the Enter key is pressed, the prompt changes from the default host 
name (Router) to the newly configured host name (which is Gates in the example 
above).
Message Of The Day (MOTD) 
• A message-of-the-day (MOTD) banner can be displayed on all connected 
terminals. 
• Enter global configuration mode by using the command config t 
• Enter the command 
• banner motd # Welcome to Gates Training #
RAM & NVRAM Contents 
wg_ro_c#show running-config 
Building configuration... 
Current configuration: 
! 
version 12.0 
! 
-- More -- 
wg_ro_c#show startup-config 
Using 1359 out of 32762 bytes 
! 
version 12.0 
! 
-- More --
Passwords 
• There are five passwords for Router 
1. Enable Password 
2. Enable Secret 
3. Line Console Password 
4. Auxiliary Port Password 
5. Telnet Password
Enable Password & Secret 
Gates(config)# enable password gates 
Encrypted privilege mode password 
Gates(config)# enable secret gates1 
To remove- Gates(config)#no enable password 
Gates(config)#no enable secret
Line Console Password 
Gates(config)# line console 0 
Gates(config-line)# password cisco 
Gates(config-line)# login 
r 
Gates(config-line)# no login 
To remove- Gates(config-line)#no password
Telnet Password 
Gates(config)# line vty 0 4 
Gates(config-line)# password cisco 
Gates(config-line)# login 
or 
Gates(config-line)# no login 
To remove- Gates(config-line)#no password
Encrypting Password 
• Only the enable secret password is encrypted by default 
• Need to manually configure the user-mode and enable passwords for encryption 
• To manually encrypt your passwords, use the service password-encryption command 
Router#config t 
Enter configuration commands, one per line. End with CNTL/Z. 
Router(config)#service password-encryption
Password Conditions 
1. Password is not compulsory for console users 
2. VTY user can communicate only when the interface status is up 
3. Password is compulsory for VTY user for telnetting 
4. Password is not compulsory for VTY user when the command given as 
“Router(config-line)#no login” 
5. Enable password is must for VTY user
Configuring Interfaces 
• An interface needs an IP Address and a Subnet Mask to be configured. 
• All interfaces are “shutdown” by default. 
• The DCE end of a serial interface needs a clock rate. 
R1#config t 
R1(config)#int e0 
R1(config-if)#ip address 10.0.0.1 255.0.0.0 
R1(config-if)#no shutdown 
R1(config-if)#exit 
R1(config)#interface serial 0 
R1(config-if)#ip address 20.0.0.1 255.255.255.0 
R1(config-if)#clock rate 64000 (required for serial DCE only) 
R1(config-if)#no shutdown 
R1(config-if)#exit 
On new routers, Serial 1 would be just Serial 1/0 and e0 would be f0/0. 
To find out DCE and DTE- ‘Router#show controllers serial 1/0
Viewing Configuration 
To Check the status of interface 
#Show IP interface brief 
or 
#Sh IP int brief
Routing 
• Transfering packets from one network to another is called Routing. 
• Routing can be implemented in three ways:- 
1. Static (Routing done in manual way) 
2. Default 
3. Dynamic (Router find automatically its route)
Static Configuration 
• R1(config)#ip route ‘unknown network’ ‘subnet mask’ ‘next hop address’ 
• R1#show ip route (to verify static route) 
Or 
• R1#show running configuration 
• To remove- R1(config)#no ip route ‘unknown network’ ‘subnet mask’ ‘next 
hop address’
LAB (Static) 
S0 E0 S0 
10.0.0.1 
10.0.0.2 
20.0.0.1 30.0.0.2 
20.0.0.2 30.0.0.1 
A 
S0 
E0 
40.0.0.1 
40.0.0.2 
B 
S1 
R2# config t 
R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 
R2(config)#ip route 40.0.0.0 255.0.0.0 30.0.0.2 
R1# config t 
R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2 
R1(config)#ip route 40.0.0.0 255.0.0.0 20.0.0.2 
R3# config t 
R3(config)#ip route 10.0.0.0 255.0.0.0 30.0.0.1 
R3(config)#ip route 20.0.0.0 255.0.0.0 30.0.0.1
Default Route 
• A network having a single exit interface or default gateway is called Stubnetwork 
• R1(config)#ip route 0.0.0.0 0.0.0.0 ‘next hop address’ 
• R1#show ip route (to verify default route) 
Or 
• R1#show running configuration 
• To remove- R1(config)#no ip route 0.0.0.0 0.0.0.0 ‘next hop address’

More Related Content

What's hot

Router configuration
Router configurationRouter configuration
Router configuration
97148881557
 
Лекц 8
Лекц 8Лекц 8
Лекц 8
Muuluu
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
97148881557
 
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
anilinvns
 

What's hot (20)

Router configuration
Router configurationRouter configuration
Router configuration
 
Basic Configurations on Router
Basic Configurations on RouterBasic Configurations on Router
Basic Configurations on Router
 
Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6CCNA pptCCNA ppt Day 6
CCNA pptCCNA ppt Day 6
 
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric VanderburgCCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
CCNA Routing and Switching Lessons 11-12 - WAN Configuration - Eric Vanderburg
 
Router commands
Router commandsRouter commands
Router commands
 
Лекц 8
Лекц 8Лекц 8
Лекц 8
 
Modes of router
Modes of routerModes of router
Modes of router
 
Manage CISCO IOS
Manage CISCO IOSManage CISCO IOS
Manage CISCO IOS
 
Ccna Commands In 10 Minutes
Ccna Commands In 10 MinutesCcna Commands In 10 Minutes
Ccna Commands In 10 Minutes
 
Day 5.3 configuration of router
Day 5.3 configuration of routerDay 5.3 configuration of router
Day 5.3 configuration of router
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
CCNA - Routing & Switching Commands
CCNA - Routing & Switching CommandsCCNA - Routing & Switching Commands
CCNA - Routing & Switching Commands
 
Cisco switch commands cheat sheet
Cisco switch commands cheat sheetCisco switch commands cheat sheet
Cisco switch commands cheat sheet
 
INTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERSINTRODUCTION TO IOS AND CISCO ROUTERS
INTRODUCTION TO IOS AND CISCO ROUTERS
 
Router configuration in packet tracer
Router configuration in packet  tracerRouter configuration in packet  tracer
Router configuration in packet tracer
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERSDay 1 INTRODUCTION TO IOS AND CISCO ROUTERS
Day 1 INTRODUCTION TO IOS AND CISCO ROUTERS
 
Routers and Routing Configuration
Routers and Routing ConfigurationRouters and Routing Configuration
Routers and Routing Configuration
 

Viewers also liked

Android controlled robot
Android controlled robotAndroid controlled robot
Android controlled robot
Ben Johnke
 
WIRELESS ROBOT PPT
WIRELESS ROBOT PPTWIRELESS ROBOT PPT
WIRELESS ROBOT PPT
AIRTEL
 

Viewers also liked (8)

CCNA ppt Day 3
CCNA ppt Day 3CCNA ppt Day 3
CCNA ppt Day 3
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
CCNA ppt Day 2
CCNA ppt Day 2CCNA ppt Day 2
CCNA ppt Day 2
 
Ccna PPT
Ccna PPTCcna PPT
Ccna PPT
 
CCNA ppt Day 1
CCNA ppt Day 1CCNA ppt Day 1
CCNA ppt Day 1
 
Android controlled robot
Android controlled robotAndroid controlled robot
Android controlled robot
 
Wireless Pick and Place Surveillance Robot
Wireless Pick and Place Surveillance RobotWireless Pick and Place Surveillance Robot
Wireless Pick and Place Surveillance Robot
 
WIRELESS ROBOT PPT
WIRELESS ROBOT PPTWIRELESS ROBOT PPT
WIRELESS ROBOT PPT
 

Similar to CCNA ppt Day 4

CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
Vikas Raut
 

Similar to CCNA ppt Day 4 (20)

C C N A Day2
C C N A  Day2C C N A  Day2
C C N A Day2
 
CCNA presentation.
CCNA presentation.CCNA presentation.
CCNA presentation.
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna 2
Ccna 2Ccna 2
Ccna 2
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02Ccna day2-140715152313-phpapp02
Ccna day2-140715152313-phpapp02
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
Ccna day2
Ccna day2Ccna day2
Ccna day2
 
CCNA at a glance
CCNA at a glanceCCNA at a glance
CCNA at a glance
 
OSWAN.pptx
OSWAN.pptxOSWAN.pptx
OSWAN.pptx
 
Chapter5ccna
Chapter5ccnaChapter5ccna
Chapter5ccna
 
Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)Cisco Internetworking Operating System (ios)
Cisco Internetworking Operating System (ios)
 
IOS-Basic Configuration
IOS-Basic ConfigurationIOS-Basic Configuration
IOS-Basic Configuration
 
Cis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystemCis81 ccna1v5-2-configuring networkoperatingsystem
Cis81 ccna1v5-2-configuring networkoperatingsystem
 
Intro to router_config
Intro to router_configIntro to router_config
Intro to router_config
 
managing your network environment
managing your network environmentmanaging your network environment
managing your network environment
 
Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)Cisco IOS (internetworking operating system)
Cisco IOS (internetworking operating system)
 
operating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS deviceoperating and configuring cisco a cisco IOS device
operating and configuring cisco a cisco IOS device
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 
Initial Configuration of Router
Initial Configuration of RouterInitial Configuration of Router
Initial Configuration of Router
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

CCNA ppt Day 4

  • 1. Router Basics • Device used to connect different Networks are called Routers. • CISCO Router Series:- Cisco 1600 Cisco 1800 Cisco 2500 Cisco 2600 Cisco 3600 Cisco 3700 Cisco 7200 Cisco 12000
  • 2. External Parts of Router • Ports are used to configure Routers • Interfaces are for Router connections • Console are used to configure Router directly • Auxiliary are to configure Router remotely with the help of external modem • AUI (Attachment Unit Interface) is used to connect LAN or Network • Transceiver is an external device used to connect Network in Router • Serial Interface is used for Router to Router connectivity • V.35 cable is used which consist of 60 pin • A Console or Rollover cable has 2 ends, one RJ45 (Router end) and other DB9 (PC end)
  • 3. Soft wares for Router • For Windows Hyper terminal Putty TeraTerm • For Linux Minicom • Open source Secure RT
  • 4.
  • 5.
  • 6. Router Internal Parts • Processor • Motherboard • SMPS (Switched Mode Power Supply) • RAM (Saves Running Configuration) • NVRAM (Start up Configuration or Saved Settings) • ROM (POST, Bootstrap Loader or mini IOS) • Flash Memory (Saves IOS image- Internetwork Operating System)
  • 7. Cisco IOS • Cisco technology is built around the Cisco Internetwork Operating System (IOS), which is the software that controls the routing and switching functions of internetworking devices. • A solid understanding of the IOS is essential for a network administrator.
  • 8. Router Power-on/Boot up Sequence 1. Perform power-on self test (POST). 2. Load and run bootstrap code. 3. Find the Cisco IOS software. 4. Load the Cisco IOS software. 5. Find the configuration. 6. Load the configuration. 7. Run the configured Cisco IOS software.
  • 9. After POST After the POST, the following events occur as the router initializes: Step 1 The generic bootstrap loader in ROM executes. A bootstrap is a simple set of instructions that tests hardware and initializes the IOS for operation. Step 2 The IOS can be found in several places. The boot field of the configuration register determines the location to be used in loading the IOS. Step 3 The operating system image is loaded. Step 4 The configuration file saved in NVRAM is loaded into main memory and executed one line at a time. The configuration commands start routing processes, supply addresses for interfaces, and define other operating characteristics of the router. Step 5 If no valid configuration file exists in NVRAM, the operating system searches for an available TFTP server. If no TFTP server is found, the setup dialog is initiated.
  • 12. Basic modes • There are three basic modes:- 1. User Execution mode (‘>’) 2. Privileged Execution mode or Enable mode (‘#’) 3. Configuration mode {‘(config #)’}
  • 14. Commands cont: • All command-line interface (CLI) configuration changes to a Cisco router are made from the global configuration mode. Other more specific modes are entered depending upon the configuration change that is required. • Global configuration mode commands are used in a router to apply configuration statements that affect the system as a whole. • The following command moves the router into global configuration mode • Router#configure terminal (or config t) Router(config)# • When specific configuration modes are entered, the router prompt changes to indicate the current configuration mode. • Typing exit from one of these specific configuration modes will return the router to global configuration mode. Pressing Ctrl-Z returns the router to all the way back privileged EXEC mode.
  • 15. Router Version wg_ro_a#show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(3), RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Mon 08-Feb-99 18:18 by phanguye Image text-base: 0x03050C84, data-base: 0x00001000 ROM: System Bootstrap, Version 11.0(10c), SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version 11.0(10c), RELEASE SOFTWARE(fc1) wg_ro_a uptime is 20 minutes System restarted by reload System image file is "flash:c2500-js-l_120-3.bin" (output omitted) --More-- Configuration register is 0x2102
  • 17. Hostname A router should be given a unique name as one of the first configuration tasks. This task is accomplished in global configuration mode using the following commands: Router(config)#hostname Gates Gates(config)# As soon as the Enter key is pressed, the prompt changes from the default host name (Router) to the newly configured host name (which is Gates in the example above).
  • 18. Message Of The Day (MOTD) • A message-of-the-day (MOTD) banner can be displayed on all connected terminals. • Enter global configuration mode by using the command config t • Enter the command • banner motd # Welcome to Gates Training #
  • 19. RAM & NVRAM Contents wg_ro_c#show running-config Building configuration... Current configuration: ! version 12.0 ! -- More -- wg_ro_c#show startup-config Using 1359 out of 32762 bytes ! version 12.0 ! -- More --
  • 20. Passwords • There are five passwords for Router 1. Enable Password 2. Enable Secret 3. Line Console Password 4. Auxiliary Port Password 5. Telnet Password
  • 21. Enable Password & Secret Gates(config)# enable password gates Encrypted privilege mode password Gates(config)# enable secret gates1 To remove- Gates(config)#no enable password Gates(config)#no enable secret
  • 22. Line Console Password Gates(config)# line console 0 Gates(config-line)# password cisco Gates(config-line)# login r Gates(config-line)# no login To remove- Gates(config-line)#no password
  • 23. Telnet Password Gates(config)# line vty 0 4 Gates(config-line)# password cisco Gates(config-line)# login or Gates(config-line)# no login To remove- Gates(config-line)#no password
  • 24. Encrypting Password • Only the enable secret password is encrypted by default • Need to manually configure the user-mode and enable passwords for encryption • To manually encrypt your passwords, use the service password-encryption command Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#service password-encryption
  • 25. Password Conditions 1. Password is not compulsory for console users 2. VTY user can communicate only when the interface status is up 3. Password is compulsory for VTY user for telnetting 4. Password is not compulsory for VTY user when the command given as “Router(config-line)#no login” 5. Enable password is must for VTY user
  • 26. Configuring Interfaces • An interface needs an IP Address and a Subnet Mask to be configured. • All interfaces are “shutdown” by default. • The DCE end of a serial interface needs a clock rate. R1#config t R1(config)#int e0 R1(config-if)#ip address 10.0.0.1 255.0.0.0 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#interface serial 0 R1(config-if)#ip address 20.0.0.1 255.255.255.0 R1(config-if)#clock rate 64000 (required for serial DCE only) R1(config-if)#no shutdown R1(config-if)#exit On new routers, Serial 1 would be just Serial 1/0 and e0 would be f0/0. To find out DCE and DTE- ‘Router#show controllers serial 1/0
  • 27. Viewing Configuration To Check the status of interface #Show IP interface brief or #Sh IP int brief
  • 28. Routing • Transfering packets from one network to another is called Routing. • Routing can be implemented in three ways:- 1. Static (Routing done in manual way) 2. Default 3. Dynamic (Router find automatically its route)
  • 29. Static Configuration • R1(config)#ip route ‘unknown network’ ‘subnet mask’ ‘next hop address’ • R1#show ip route (to verify static route) Or • R1#show running configuration • To remove- R1(config)#no ip route ‘unknown network’ ‘subnet mask’ ‘next hop address’
  • 30. LAB (Static) S0 E0 S0 10.0.0.1 10.0.0.2 20.0.0.1 30.0.0.2 20.0.0.2 30.0.0.1 A S0 E0 40.0.0.1 40.0.0.2 B S1 R2# config t R2(config)#ip route 10.0.0.0 255.0.0.0 20.0.0.1 R2(config)#ip route 40.0.0.0 255.0.0.0 30.0.0.2 R1# config t R1(config)#ip route 30.0.0.0 255.0.0.0 20.0.0.2 R1(config)#ip route 40.0.0.0 255.0.0.0 20.0.0.2 R3# config t R3(config)#ip route 10.0.0.0 255.0.0.0 30.0.0.1 R3(config)#ip route 20.0.0.0 255.0.0.0 30.0.0.1
  • 31. Default Route • A network having a single exit interface or default gateway is called Stubnetwork • R1(config)#ip route 0.0.0.0 0.0.0.0 ‘next hop address’ • R1#show ip route (to verify default route) Or • R1#show running configuration • To remove- R1(config)#no ip route 0.0.0.0 0.0.0.0 ‘next hop address’