Lec 9

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 57

Router Initialization

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

 Hardware (Router physical components )


Software components
• Cisco IOS (Internetwork Operating System)
 It is the operating system that manages the hardware
platform it is working on.

• 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

 Ethernet and Fast Ethernet interfaces.


 Typically an RJ-45 jack (UTP).
Router to switch: straight-through cable.
ITE PC v4.0 Router to router via Ethernet interfaces, or PC’s NIC to router’s Ethernet interface: crossover cable.
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Connecting WAN interfaces

ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 9
interfaces

Serial 0 Serial 1/1 Serial 1/1/1

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

 Non-volatile RAM (NVRAM) (configuration file)


Stores startup configuration. (including IP addresses, Routing protocol)

 Flash memory - Contains the operating system (Cisco IOS)


 Internetwork Operating System (IOS) is the Cisco Devices Operating System
(Just like Microsoft Windows ® For PC)

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

 Load it at the RAM

 Find configuration file

 Load it at the RAM

ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Loading the Cisco IOS Image from Flash Memory

• The flash memory file is decompressed into RAM.

ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Loading the Configuration

• Load and execute the configuration from NVRAM.

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

 The router will enter setup mode when:


 The contents of NVRAM have been erased with the
“erase start” command
 When the router is “out of the box” and has not been
initially configured
 After deleting the backup configuration and reloading
the router
 You can make the router enter setup mode by entering:
Router# setup

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

Many show command


Exit Conf t

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.

 The user mode can be identified by the > prompt.

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

Router# show interfaces

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

• The flash memory file is decompressed into RAM.

ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Loading the Configuration

• Load and execute the configuration from NVRAM.

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

Router# copy running-config startup-config


Destination filename [startup- config]? <Press Enter>
Building configuration...
[OK]
Router#show startup- config
Current configuration : 542 bytes
!
version 12.2
!
interface FastEthernet0/0
<text omitted>

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

Layer 1 status Layer 2 status


: Other interface status
- Serial0/1 is administratively down , line protocol is down
interface is shut down
Serial0/1 is down , line protocol is down -
interface or cable H/W failure ( no keep-alives )
Serial0/1 is up , line protocol is down -
different encapsulation type ( PPP , HDLC , FR ) or no clock rate
. on the DCE device
ITE PC v4.0
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 49
show ip interface brief
 To display the usability status of interfaces configured for various IP
addresses, use the show ip interface brief command in privileged mode.
 Router # show ip interface brief
 Interface Status (Layer 1 ) Protocol (Layer 2)
 FastEthernet0 administratively down down
 Serial 0 down down
 Serial 1 up down
 Serial 2 up up

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

 Ethernet and Fast Ethernet interfaces.


 Typically an RJ-45 jack (UTP).
Router to switch: straight-through cable.
ITE PC v4.0 Router to router via Ethernet interfaces, or PC’s NIC to router’s Ethernet interface: crossover cable.
Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 54
Putty

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

You might also like