Lec 9
Lec 9
Lec 9
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Router components
Router is typically like a computer which operates with
Two main components
• Configuration File
It is a program file that contains commands that
reflect how the router will react.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Router hardware components
1. Power Supply
2. CPU
3. Memory (RAM , NVRAM ,ROM ,Flash )
4. System bus
5. Interfaces
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Router physical characteristics
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 4
Router Internal Components
RAM POST
Processor
BOTSTRAP
Router Interfaces
ROM
RXBOOT
Memory initial IOS
ROMMON
FLASH
NVRAM
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 5
Router external connections
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 6
Model Number : CISCO1841 Cisco 1841 Router
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 7
LAN Interfaces
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 9
interfaces
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Memory
RAM
running copy of configuration file.
routing table
ARP cache
Read-only memory (ROM)
POST (Power On Self Test) used when router is powered up.
(initial IOS ) Scaled down version of operating system IOS (RXBOOT, ROMMON)
Router’s bootstrap program
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Port LEDs during Switch POST
1. At the start, all port LEDs are green.
2. Each LED turns off after its test completes.
3. If a test fails, its LED turns amber.
4. System LED turns amber if any test fails.
5. If no test fails, POST completes.
6. On POST completion, LEDs blink then turn off.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 12
BOOTSTRAP
Find IOS
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Loading the Cisco IOS Image from Flash Memory
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Loading the Configuration
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Router Access
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 16
How can access cisco device
Virtual terminal
Console port
Telnet
Auxiliary port
• Configurations can
come from many
sources
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Management port – Console Port connection
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Serial Port
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 19
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Rollover
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 21
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 22
Management port – AUX port connection
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Telnet (remote access)
Reachability
Security
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Router Configuration
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Cisco Modes Devices
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Setup mode
Permit the administrator to install a minimal configuration for a router -
( appeared if no saved configuration , Ctrl-C to skip )
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Setup Mode
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Show- Copy-erase-debug
Cisco IOS Software
enable
user mode privilleged mode
disable
configuration mode
configuration command
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 29
ROUTER Modes
end
Sub-Configuration Mode
exit
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 30
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 31
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Cisco Router Modes
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 33
User Mode
The user mode allows only a limited number of basic monitoring commands.
This is often referred to as a view only mode.
The user mode level does not allow any commands that might change the
configuration of the router.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Privileged Mode
The privileged EXEC mode provides access to all router commands.
This mode can be configured to require a password.
Configuration and management commands require that the network
administrator be at the privileged EXEC level.
Global configuration mode and all other more specific configuration modes
can only be reached from the privileged EXEC mode.
The privileged EXEC mode can be identified by the # prompt.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Using CLI help
Identify the types of help and feedback available while
using IOS and use these features to get help, take
shortcuts and ascertain success
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 36
Abbreviated commands (Router and Switch)
Router# sh inter
Same as
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 37
IOS "examination" commands
Identify the purpose of the show command and several
of its variations
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Configuring Interfaces
Identify the role of a router in a network.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 39
Viewing, Saving and
Erasing the
Configurations
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 40
Loading the Cisco IOS Image
from Flash Memory
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Loading the Configuration
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Router#show running-config running-config
Current configuration : 542 bytes
!
version 12.2
! The running-config file is
interface FastEthernet0/0 the configuration in RAM
no ip address memory.
shutdown
duplex auto All changes are made to
speed auto
!
the running-config file.
interface Serial0/0 This is the configuration
no ip address
shutdown that the router is currently
! using.
line con 0
line aux 0 The running-config is lost
line vty 0 4 when the router loses
!
end
power or reloads.
Router# Privilege mode
command.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 43
Router# show startup-config startup-config
The startup-config file is
startup-config is not present the saved configuration in
Router# NVRAM.
If there is a startup-config
file in NVRAM when the
router boots up, this file
will be copied into
running-config.
The running-config is
what the router will use.
Privilege mode
command.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 44
Copy running-config to startup-config
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 45
Erase startup-config
Router#erase startup-config
Erasing the nvram filesystem will remove all files!
Continue? [confirm] <Press Enter>
[OK]
Erase of nvram: complete
Router#
When you are done with the routers in the lab, please be sure to erase the startup-config.
If you are starting a lab, and you do not get the message:
Would you like to enter the initial configuration dialog? [yes/no]:
You will need to erase the startup-config and reboot.
Privilege mode command.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 46
Cisco IOS copy Command
To save configuration file
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Return the Device to Its Original Configuration
Router# reload
System configuration has been modified. Save?
[yes/no]: n
Proceed with reload? [confirm]
To erase the startup configuration file use erase
NVRAM:startup-config or erase startup-config at the
privileged EXEC mode prompt:
Router# erase startup-config
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 48
Interpreting the Interface Status
S0/0
S0/1
Interface
is working
properly
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 50
How can access cisco device
Virtual terminal
Console port
Telnet
Auxiliary port
• Configurations can
come from many
sources
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 51
Management port – Console Port connection
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 52
Connect Laptop to Router Console Port
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 53
LAN Interfaces
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Tera Term
The terminal software is also required for accessing the router and switches. The Tera Term ,
Putty, and Hyper Terminal are usually used to access the router and switches on a console port.
Most of the Peoples use Putty software for console access. The figure below shows the terminal
window of putty.
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 56
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 57