SlideShare a Scribd company logo
Akre Technical College
Dept. of Information Technology
2nd stage
Subject: Internet Technology (Pr)
Date: 11/11/2015
ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router (computing)
Mr. Saleem & Mr. Rzgar
Router has operating system – IOS – Internetworking
Operating System and it's extension is (.bin)
Router types :
1- Fixed port : cannot add Interface
2- Modular : can add interface
2 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router internal components: CPU, RAM, FLASH, ROM, BUSES,
NVRAM, INTERFACES, POWER SUPPLY.
3 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router external components :
Two Fast Ethernet ports ( connecting to switch and router)
Console port ( connecting to router for configuration , router connector is RJ-45 and PC
connector is DB-9).
Auxiliary port ( connect to FAX modem, router connector is RJ-45 and PC connector is DB-
25
power switch , power connection .
to connect to router from Console port you must have a program ( Hyper terminal ( XP) ,
SecureCRT ,TeraTerm )
4
ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
5 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
6 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router internal configuration:
RAM: random access memory: temp config file, ARP
cashe, Packet buffering
NVRAM: non volatile RAM: storing backup copy of config file
Flash: Saving os image (command based) IOS comprised
ROM: read only memory: Power-On Self-Test (POST),
bootstrap program
7 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router startup sequence:
Step1 = checking the hardware ---- POST --- bootstrap
program that check the functionality of hardware (ROM)
Step2 = Find the ios --- flash, TFTP, ROM
Step3 = Load it……….
Step4 = Find the configuration file  NVRAM, TFTP
Step5 = Load it ……….
Step6 = setup mode ------ creating the config file
8 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
9 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router Modes
1- setup mode
2- User execute mode
Router>
3- Privilege execute mode
Router#
Router>enable // login privilege mode
4- Global configuration mode
#(Router(config
Router#configuration terminal or config t
5- Interface configuration
Router(config-if)#
Router(config)#interface fastethernet 0/0
10 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router configuration must be saved into NVRAM.
Router configuration is on running – config file and to save it into
NVRAM you must copy it to startup-config file
Copy run startOrCopy running – config startup-config
Some Router show command
Show version
show flash
show interface
Show startup-config or show start
Show history
show ip interface brief
11 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Change Router Name and setup Router user mode password
Router>ena
Router#config t
Router(config)#hostname IT Router
ITRouter(config)#enable password 123 ------1
ITRouter(config)#^Z
ITRouter#copy run start
To remove ena password
ITRouter(config)#no enable password
copy run startT Router#
ITRouter#config t
ITRouter(config)#enable secret 1234 ---------------- 2
ITRouter(config)#copy run start
12 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Setup Router console password
IT Router#
ITRouter#config t
ITRouter(config)#line console 0
ITRouter(config-line)#password 333
ITRouter(config-line)#login
ITRouter(config-line)#^Z
ITRouter#copy run start
Destination filename [startup-config]?
IT Router#
13 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Setup Banner
ITRouter#config t
ITRouter(config)#banner MOTD #IT Router#
ITRouter(config)#^Z
IT Router#
ITRouter#copy run start
Destination filename [startup-config]?
IT Router#
Sets the local time on the Router
ITRouter#clock set 20:05:00 11 december 2014
ITRouter#copy run start
14 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Setup Router Interface IP Address
ITRouter(config)#interface fastethernet 0/0
ITRouter(config-if)#ip address 192.168.1.1 255.255.255.0
ITRouter(config-if)#no shut
ITRouter(config-if)#no shutdown
ITRouter(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
ITRouter(config-if)#^Z
IT Router#
ITRouter#copy run start
Destination filename [startup-config]?
IT Router#
15 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Assigning a Local Host Name to an IP Address
ITRouter#config t
Enter configuration commands, one per line. End
with CNTL/Z.
ITRouter(config)#ip host Akre 192.168.1.1
ITRouter(config)#^Z
ITRouter#
ITRouter#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
16 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Setup telnet password
ITRouter#config t
ITRouter(config)#line vty 0 ?
<1-15> Last Line number
<cr>
ITRouter(config)#line vty 0 4
ITRouter(config-line)#password 12345
ITRouter(config-line)#login
ITRouter(config-line)#^Z
IT Router#
%SYS-5-CONFIG_I: Configured from console by console
ITRouter#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
ITRouter#RT1#
17 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Encryption all Router password
ITRouter#config t
ITRouter(config)#service password-encryption
ITRouter(config)#^Z
ITRouter#copy run start
ITRouter#
Router(config)#do show running-config
Executes the privileged-level show running-config
command while in global configuration mode.
18 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Recovering router passwords
The Cisco IOS provides a mechanism to recover passwords, in case
you lost them or you do not remember them.
You need to have physical access to the router to connect to its
console port.
The key point of the password recovery process is to boot up the
Cisco router ignoring its current startup configuration, which
contains the current passwords. To boot up the Cisco router
ignoring its current startup configuration you need to change the
value in the configuration register. You can set bit 6 in the
configuration register to instruct the bootstrap program
to avoid reading the startup configuration from NVRAM. By doing
this, you boot up the router as if it had no startup configuration —
as if the router were new, coming out of the box.
19 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Password recovery process
Follow these steps to recover passwords on a Cisco router:
1. Change the configuration register to 0x2142.
2. Reboot the router.
3. Upon reboot, exit from setup mode.
The router ignores the startup configuration in NVRAM, so it automatically
starts in setup mode. You need to exit setup mode because your
router is already set up. You just want to reset the passwords in the current
startup configuration, not to reset the whole configuration.
4. Enable privileged EXEC mode.
5. Load the startup configuration manually from NVRAM to RAM.
6. Enable global configuration mode.
7. Change the passwords.
8. Save the running configuration over the startup configuration in NVRAM.
9. Change the configuration register back to the default value of 0x2102.
10. Reboot the router.
20 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
#The normal router configuration register value is
0x2102 and its size is 2 bytes (16 bits ).
The router configuration register value that let
router to ignore its startup-configuration file is
0x2142
# to change router configuration register value to
0x2142 you must boot router from Rommon
by ( ctrl + Break )
# Config register calculator application
21 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
22 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Rommon 1> ? Show commands that are using in
Rommon
rommon 2 > confreg 0x2142
rommon 3 > reset
no
Router>ena
Router#copy start run
Destination filename [running-config]?
ITRouter#
ITRouter#config t
ITRouter(config)#no ena
ITRouter(config)#no enable pass
ITRouter(config)#no enable password // to remove enable password
ITRouter(config)#
23 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router(config)#no ena
Router(config)#no enable secret //to remove enable secret
password
Router(config)#exit
Router#
Router#config t
ITRouter(config)#line console 0
ITRouter(config-line)#no pass
ITRouter(config-line)#no password //to remove console password
ITRouter(config-line)#exit
ITRouter(config)#line vty 0 4
ITRouter(config-line)#no pass
ITRouter(config-line)#no password /to remove telnet password
ITRouter(config-line)#exit
24 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
ITRouter(config)#config-register 0x2102
ITRouter(config)#do copy run start
Destination filename [startup-config]?
ITRouter(config)# exit
Router#reload
There is not any passwords and Enjoy ------------------
25 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Creating DHCP on Router interface
Router(config)#ip dhcp pool net1
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#def
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns
Router(dhcp-config)#dns-server 192.168.1.10
Router(dhcp-config)#^Z
Router#Router# copy run start
26 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Define DNS server to Router
Router#config t
Router(config)#ip name
Router(config)#ip name-server 192.168.1.10
Router(config)#^Z
Router#copy run start
[OK]
Router#ping pc1
Akre(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10
// to exlude ip address or dhcp should not asign this range to client
27 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router interface obtain ip from dhcp server
Router(config)#interface fastethernet 0/1
or Router(config)# int fa 0/1
Router(config-if)#no shut
Router(config-if)#ip
Router(config-if)#ip add
Router(config-if)#ip address dhcp
Router(config-if)#^Z
Router#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
28 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router IOS or Start file backup and restore
Copy flash tftp // to copy a file from flash to tftp server
Like ios file, this to backup ios to tftp server
Copy tftp flash // to restore a file from tftp server
Copy start tftp // to copy or backup start file to tftp server
Copy tftp start // to restore start file from tftp server
Akre#delete flash // to delete a file from flash
Delete filename []?c2800nm-advipservicesk9-mz.124-15.T1.bin
IOS file name
Akre#erase start // to remove satrt file
29 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Router(config-if)#clock rate ?
Are you meaning in LAB environment?, if so, you can do
it, but if you are meaning on a real connection then you
should set the exact clock rate supplied by your ISP.
30 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
A network route is a data transmission path through one
or more networks between two end nodes.
More than one route can exist between two end nodes.
The main purpose of a router is to find the best route to
reach a destination node.
network routes types :
✦ Static routes
✦ Default routes
✦ Dynamic routes
31 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Static routes
You define static routes manually on a router. Static
routes are best suited for small networks, such as LANs,
where routes rarely change. If routes change, you need
to update your routes to reflect the new data
transmission paths.
Configuring static routes :
Router(config)# ip route network-address subnet-mask {ip-address
| exit-interface }
32 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Dissecting static route syntax
ip route - Static route command
Network address – Destination network address
Subnet mask - Subnet mask of destination network
IP address - Serial 0/0/0 interface IP address on R2,
which is the "next-hop" to this network
33 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
General Role of the Router
Connections of a Router for WAN
-A router has a DB-60 port that can support 5
different cabling standards
Connections of a Router for Ethernet
-2 types of connectors can be used: Straight through
and Cross-over
Straight through used to connect:
-Switch-to-Router, Switch-to-PC, Router-to-Server, Hub-to-
PC, Hub-to-Server
Cross-over used to connect:
-Switch-to-Switch, PC-to-PC, Switch-to-Hub, Hub-to-Hub,
Router-to-Router
34 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Examining Router Interfaces
-Show IP router command – used to view routing table
-Show Interfaces command – used to show status of an
interface
-Show IP Interface brief command – used to show a
portion of the interface information
-Show running-config command – used to show
configuration file in RAM
35 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Interfaces
Configuring an Ethernet interface
-By default all serial and Ethernet interfaces are down
-To enable an interface use the No Shutdown command
Configuring a Serial interface
-Enter interface configuration mode
-Enter in the ip address and subnet mask
-Enter in the no shutdown command
36 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
-Physically connecting a WAN Interface.
-A WAN Physical Layer connection has sides:
Data Circuit-terminating Equipment (DCE) – This is the
service provider. CSU/DSU is a DCE device.
Data Terminal Equipment (DTE) – Typically the router is
the DTE device.
37 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
Configuring serial links in a lab environment
One side of a serial connection must be considered a
DCE
This requires placing a clocking signal – use the clock
rate command.
Example:
-R1(config)#interface serial 0/0
-R1(config-if)#clockrate 64000
Serial Interfaces require a clock signal to control the
timing of the communications.
38 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC

More Related Content

PDF
Nat mikrotik
PPT
04 module operating & configuring ios
PPT
Introduction to-cisco-routers
PPT
Ciscointro
PPT
Cis81 ccna1v5-2-configuring networkoperatingsystem
PPT
Password Recovery
PDF
Important cisco-chow-commands
PPT
operating and configuring cisco a cisco IOS device
Nat mikrotik
04 module operating & configuring ios
Introduction to-cisco-routers
Ciscointro
Cis81 ccna1v5-2-configuring networkoperatingsystem
Password Recovery
Important cisco-chow-commands
operating and configuring cisco a cisco IOS device

What's hot (18)

DOCX
Alcatel vm
PPTX
CCNA at a glance
PPT
Initial Configuration of Router
PPT
Intro to router_config
PDF
PDF
Cisco IOS (internetworking operating system)
TXT
Read me en
DOC
How to recover the password for cisco 2900 integrated services router
PPT
Switching 2
PDF
Hướng dẫn cài đặt switch planet layer 3
PPTX
Initial router and switch configuration
PDF
Armboot process zeelogic
PPTX
CCNA ppt Day 4
PPTX
Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
PDF
test
PPT
Chapter5ccna
DOCX
Configuracionde router camilaloaiza
PDF
Microcontroller part 1
Alcatel vm
CCNA at a glance
Initial Configuration of Router
Intro to router_config
Cisco IOS (internetworking operating system)
Read me en
How to recover the password for cisco 2900 integrated services router
Switching 2
Hướng dẫn cài đặt switch planet layer 3
Initial router and switch configuration
Armboot process zeelogic
CCNA ppt Day 4
Juniper SRX Quickstart 12.1R3 by Thomas Schmidt
test
Chapter5ccna
Configuracionde router camilaloaiza
Microcontroller part 1
Ad

Viewers also liked (14)

PPTX
PDF
Thornbury Collection
PDF
EARLY WEANING OF BURBOT (Lota lota) in RAS
PDF
Thomson Reuters Certificate
PPTX
Id. 02 network &amp; data link &amp; physical layer
PDF
UPyD octubre´12
PDF
Redline motoring Card
PDF
Letra despierta chus
PDF
Urban Living Vol 2 Collection
PPTX
Milla Loncó
PPT
PDF
Οι βουλευτικές έδρες κάθε εκλογικής περιφέρειας
PDF
Solucionário Capitulo4 FOX
PPTX
Meezan Bank Private Limited
Thornbury Collection
EARLY WEANING OF BURBOT (Lota lota) in RAS
Thomson Reuters Certificate
Id. 02 network &amp; data link &amp; physical layer
UPyD octubre´12
Redline motoring Card
Letra despierta chus
Urban Living Vol 2 Collection
Milla Loncó
Οι βουλευτικές έδρες κάθε εκλογικής περιφέρειας
Solucionário Capitulo4 FOX
Meezan Bank Private Limited
Ad

Similar to Id. 01 router (computing) (20)

PPT
04- Module Operating & Configuring IOS.ppt
PPT
CCNA complete.ppt
PPT
C C N A Day2
PDF
CCNA CheatSheet
PPT
4040187-Ccna-Notes.pptslide share scam side
PPT
4040187-Ccna-Notes.pptnotew for all users
PPT
cisco Network Associates Notes +++++++++
DOCX
Vlan configuration by amare simachew
PPT
managing your network environment
PPT
CCNA presentation.
PPT
Initial Configuration of Router
PPT
05 module managing your network enviornment
PPTX
Chapter 2-Bascs of Switch & Router (1).pptx
PDF
Cisco Internetworking Operating System (ios)
PPT
Chapter5ccna
PDF
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
PPT
Ccna day2
PDF
Ccna day2-140715152313-phpapp02
PPT
PPT
04- Module Operating & Configuring IOS.ppt
CCNA complete.ppt
C C N A Day2
CCNA CheatSheet
4040187-Ccna-Notes.pptslide share scam side
4040187-Ccna-Notes.pptnotew for all users
cisco Network Associates Notes +++++++++
Vlan configuration by amare simachew
managing your network environment
CCNA presentation.
Initial Configuration of Router
05 module managing your network enviornment
Chapter 2-Bascs of Switch & Router (1).pptx
Cisco Internetworking Operating System (ios)
Chapter5ccna
01 ip oc180 e1_1 zxr10 m6000_t8000 basic operation (v1.00.20)
Ccna day2
Ccna day2-140715152313-phpapp02

Recently uploaded (20)

PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PDF
WebRTC in SignalWire - troubleshooting media negotiation
PPTX
PptxGenJS_Demo_Chart_20250317130215833.pptx
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PDF
Decoding a Decade: 10 Years of Applied CTI Discipline
PPT
Ethics in Information System - Management Information System
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
SAP Ariba Sourcing PPT for learning material
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
Exploring VPS Hosting Trends for SMBs in 2025
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
PPTX
Funds Management Learning Material for Beg
PPTX
innovation process that make everything different.pptx
PPTX
artificialintelligenceai1-copy-210604123353.pptx
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
WebRTC in SignalWire - troubleshooting media negotiation
PptxGenJS_Demo_Chart_20250317130215833.pptx
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Decoding a Decade: 10 Years of Applied CTI Discipline
Ethics in Information System - Management Information System
INTERNET------BASICS-------UPDATED PPT PRESENTATION
introduction about ICD -10 & ICD-11 ppt.pptx
Power Point - Lesson 3_2.pptx grad school presentation
SAP Ariba Sourcing PPT for learning material
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Job_Card_System_Styled_lorem_ipsum_.pptx
Exploring VPS Hosting Trends for SMBs in 2025
Design_with_Watersergyerge45hrbgre4top (1).ppt
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
Slides PPTX World Game (s) Eco Economic Epochs.pptx
Smart Home Technology for Health Monitoring (www.kiu.ac.ug)
Funds Management Learning Material for Beg
innovation process that make everything different.pptx
artificialintelligenceai1-copy-210604123353.pptx

Id. 01 router (computing)

  • 1. Akre Technical College Dept. of Information Technology 2nd stage Subject: Internet Technology (Pr) Date: 11/11/2015 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC Router (computing) Mr. Saleem & Mr. Rzgar
  • 2. Router has operating system – IOS – Internetworking Operating System and it's extension is (.bin) Router types : 1- Fixed port : cannot add Interface 2- Modular : can add interface 2 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 3. Router internal components: CPU, RAM, FLASH, ROM, BUSES, NVRAM, INTERFACES, POWER SUPPLY. 3 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 4. Router external components : Two Fast Ethernet ports ( connecting to switch and router) Console port ( connecting to router for configuration , router connector is RJ-45 and PC connector is DB-9). Auxiliary port ( connect to FAX modem, router connector is RJ-45 and PC connector is DB- 25 power switch , power connection . to connect to router from Console port you must have a program ( Hyper terminal ( XP) , SecureCRT ,TeraTerm ) 4 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 5. 5 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 6. 6 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 7. Router internal configuration: RAM: random access memory: temp config file, ARP cashe, Packet buffering NVRAM: non volatile RAM: storing backup copy of config file Flash: Saving os image (command based) IOS comprised ROM: read only memory: Power-On Self-Test (POST), bootstrap program 7 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 8. Router startup sequence: Step1 = checking the hardware ---- POST --- bootstrap program that check the functionality of hardware (ROM) Step2 = Find the ios --- flash, TFTP, ROM Step3 = Load it………. Step4 = Find the configuration file  NVRAM, TFTP Step5 = Load it ………. Step6 = setup mode ------ creating the config file 8 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 9. 9 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 10. Router Modes 1- setup mode 2- User execute mode Router> 3- Privilege execute mode Router# Router>enable // login privilege mode 4- Global configuration mode #(Router(config Router#configuration terminal or config t 5- Interface configuration Router(config-if)# Router(config)#interface fastethernet 0/0 10 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 11. Router configuration must be saved into NVRAM. Router configuration is on running – config file and to save it into NVRAM you must copy it to startup-config file Copy run startOrCopy running – config startup-config Some Router show command Show version show flash show interface Show startup-config or show start Show history show ip interface brief 11 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 12. Change Router Name and setup Router user mode password Router>ena Router#config t Router(config)#hostname IT Router ITRouter(config)#enable password 123 ------1 ITRouter(config)#^Z ITRouter#copy run start To remove ena password ITRouter(config)#no enable password copy run startT Router# ITRouter#config t ITRouter(config)#enable secret 1234 ---------------- 2 ITRouter(config)#copy run start 12 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 13. Setup Router console password IT Router# ITRouter#config t ITRouter(config)#line console 0 ITRouter(config-line)#password 333 ITRouter(config-line)#login ITRouter(config-line)#^Z ITRouter#copy run start Destination filename [startup-config]? IT Router# 13 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 14. Setup Banner ITRouter#config t ITRouter(config)#banner MOTD #IT Router# ITRouter(config)#^Z IT Router# ITRouter#copy run start Destination filename [startup-config]? IT Router# Sets the local time on the Router ITRouter#clock set 20:05:00 11 december 2014 ITRouter#copy run start 14 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 15. Setup Router Interface IP Address ITRouter(config)#interface fastethernet 0/0 ITRouter(config-if)#ip address 192.168.1.1 255.255.255.0 ITRouter(config-if)#no shut ITRouter(config-if)#no shutdown ITRouter(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up ITRouter(config-if)#^Z IT Router# ITRouter#copy run start Destination filename [startup-config]? IT Router# 15 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 16. Assigning a Local Host Name to an IP Address ITRouter#config t Enter configuration commands, one per line. End with CNTL/Z. ITRouter(config)#ip host Akre 192.168.1.1 ITRouter(config)#^Z ITRouter# ITRouter#copy run start Destination filename [startup-config]? Building configuration... [OK] 16 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 17. Setup telnet password ITRouter#config t ITRouter(config)#line vty 0 ? <1-15> Last Line number <cr> ITRouter(config)#line vty 0 4 ITRouter(config-line)#password 12345 ITRouter(config-line)#login ITRouter(config-line)#^Z IT Router# %SYS-5-CONFIG_I: Configured from console by console ITRouter#copy run start Destination filename [startup-config]? Building configuration... [OK] ITRouter#RT1# 17 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 18. Encryption all Router password ITRouter#config t ITRouter(config)#service password-encryption ITRouter(config)#^Z ITRouter#copy run start ITRouter# Router(config)#do show running-config Executes the privileged-level show running-config command while in global configuration mode. 18 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 19. Recovering router passwords The Cisco IOS provides a mechanism to recover passwords, in case you lost them or you do not remember them. You need to have physical access to the router to connect to its console port. The key point of the password recovery process is to boot up the Cisco router ignoring its current startup configuration, which contains the current passwords. To boot up the Cisco router ignoring its current startup configuration you need to change the value in the configuration register. You can set bit 6 in the configuration register to instruct the bootstrap program to avoid reading the startup configuration from NVRAM. By doing this, you boot up the router as if it had no startup configuration — as if the router were new, coming out of the box. 19 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 20. Password recovery process Follow these steps to recover passwords on a Cisco router: 1. Change the configuration register to 0x2142. 2. Reboot the router. 3. Upon reboot, exit from setup mode. The router ignores the startup configuration in NVRAM, so it automatically starts in setup mode. You need to exit setup mode because your router is already set up. You just want to reset the passwords in the current startup configuration, not to reset the whole configuration. 4. Enable privileged EXEC mode. 5. Load the startup configuration manually from NVRAM to RAM. 6. Enable global configuration mode. 7. Change the passwords. 8. Save the running configuration over the startup configuration in NVRAM. 9. Change the configuration register back to the default value of 0x2102. 10. Reboot the router. 20 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 21. #The normal router configuration register value is 0x2102 and its size is 2 bytes (16 bits ). The router configuration register value that let router to ignore its startup-configuration file is 0x2142 # to change router configuration register value to 0x2142 you must boot router from Rommon by ( ctrl + Break ) # Config register calculator application 21 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 22. 22 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 23. Rommon 1> ? Show commands that are using in Rommon rommon 2 > confreg 0x2142 rommon 3 > reset no Router>ena Router#copy start run Destination filename [running-config]? ITRouter# ITRouter#config t ITRouter(config)#no ena ITRouter(config)#no enable pass ITRouter(config)#no enable password // to remove enable password ITRouter(config)# 23 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 24. Router(config)#no ena Router(config)#no enable secret //to remove enable secret password Router(config)#exit Router# Router#config t ITRouter(config)#line console 0 ITRouter(config-line)#no pass ITRouter(config-line)#no password //to remove console password ITRouter(config-line)#exit ITRouter(config)#line vty 0 4 ITRouter(config-line)#no pass ITRouter(config-line)#no password /to remove telnet password ITRouter(config-line)#exit 24 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 25. ITRouter(config)#config-register 0x2102 ITRouter(config)#do copy run start Destination filename [startup-config]? ITRouter(config)# exit Router#reload There is not any passwords and Enjoy ------------------ 25 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 26. Creating DHCP on Router interface Router(config)#ip dhcp pool net1 Router(dhcp-config)#network 192.168.1.0 255.255.255.0 Router(dhcp-config)#def Router(dhcp-config)#default-router 192.168.1.1 Router(dhcp-config)#dns Router(dhcp-config)#dns-server 192.168.1.10 Router(dhcp-config)#^Z Router#Router# copy run start 26 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 27. Define DNS server to Router Router#config t Router(config)#ip name Router(config)#ip name-server 192.168.1.10 Router(config)#^Z Router#copy run start [OK] Router#ping pc1 Akre(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10 // to exlude ip address or dhcp should not asign this range to client 27 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 28. Router interface obtain ip from dhcp server Router(config)#interface fastethernet 0/1 or Router(config)# int fa 0/1 Router(config-if)#no shut Router(config-if)#ip Router(config-if)#ip add Router(config-if)#ip address dhcp Router(config-if)#^Z Router#copy run start Destination filename [startup-config]? Building configuration... [OK] Router# 28 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 29. Router IOS or Start file backup and restore Copy flash tftp // to copy a file from flash to tftp server Like ios file, this to backup ios to tftp server Copy tftp flash // to restore a file from tftp server Copy start tftp // to copy or backup start file to tftp server Copy tftp start // to restore start file from tftp server Akre#delete flash // to delete a file from flash Delete filename []?c2800nm-advipservicesk9-mz.124-15.T1.bin IOS file name Akre#erase start // to remove satrt file 29 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 30. Router(config-if)#clock rate ? Are you meaning in LAB environment?, if so, you can do it, but if you are meaning on a real connection then you should set the exact clock rate supplied by your ISP. 30 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 31. A network route is a data transmission path through one or more networks between two end nodes. More than one route can exist between two end nodes. The main purpose of a router is to find the best route to reach a destination node. network routes types : ✦ Static routes ✦ Default routes ✦ Dynamic routes 31 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 32. Static routes You define static routes manually on a router. Static routes are best suited for small networks, such as LANs, where routes rarely change. If routes change, you need to update your routes to reflect the new data transmission paths. Configuring static routes : Router(config)# ip route network-address subnet-mask {ip-address | exit-interface } 32 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 33. Dissecting static route syntax ip route - Static route command Network address – Destination network address Subnet mask - Subnet mask of destination network IP address - Serial 0/0/0 interface IP address on R2, which is the "next-hop" to this network 33 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 34. General Role of the Router Connections of a Router for WAN -A router has a DB-60 port that can support 5 different cabling standards Connections of a Router for Ethernet -2 types of connectors can be used: Straight through and Cross-over Straight through used to connect: -Switch-to-Router, Switch-to-PC, Router-to-Server, Hub-to- PC, Hub-to-Server Cross-over used to connect: -Switch-to-Switch, PC-to-PC, Switch-to-Hub, Hub-to-Hub, Router-to-Router 34 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 35. Examining Router Interfaces -Show IP router command – used to view routing table -Show Interfaces command – used to show status of an interface -Show IP Interface brief command – used to show a portion of the interface information -Show running-config command – used to show configuration file in RAM 35 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 36. Interfaces Configuring an Ethernet interface -By default all serial and Ethernet interfaces are down -To enable an interface use the No Shutdown command Configuring a Serial interface -Enter interface configuration mode -Enter in the ip address and subnet mask -Enter in the no shutdown command 36 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 37. -Physically connecting a WAN Interface. -A WAN Physical Layer connection has sides: Data Circuit-terminating Equipment (DCE) – This is the service provider. CSU/DSU is a DCE device. Data Terminal Equipment (DTE) – Typically the router is the DTE device. 37 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC
  • 38. Configuring serial links in a lab environment One side of a serial connection must be considered a DCE This requires placing a clocking signal – use the clock rate command. Example: -R1(config)#interface serial 0/0 -R1(config-if)#clockrate 64000 Serial Interfaces require a clock signal to control the timing of the communications. 38 ID. 01 IT-ATC.blogspot.com :: fb.com/ATC.Information.Technology :: fb.com/groups/IT.ATC