router fundamentals pjc ccna semester 2 ver. 3.0 by william kelly

19
Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Upload: leo-mason

Post on 05-Jan-2016

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Fundamentals

PJC CCNA Semester 2 Ver. 3.0by

William Kelly

Page 2: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Startup Procedure

ROM

FlashTFTP Server

ROM

NVRAMTFTP Server

Console

Load initial code fromROM into RAM to allow

bootstrapping

Load Operating System

Load “Config” File or GoTo Setup Mode

Router Startup

Page 3: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Boot Sequence and Setup Mode

A Power on Self Test (POST) is performed when a routers is powered on and all the hardware is checked

If no configuration file is found the router enters setup mode The file from setup mode is stored in NVRAM Ctrl-C will terminate the setup and start over Setup is not intended to enter complex protocol

information

Page 4: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Boot Sequence and Setup Mode (cont.)

Setup mode default answers are in square brackets

If the system has been previously configured the defaults are currently configured options

3 ways to enter setup mode The command erase startup-config will

erase the start config from NVRAM; then issue the reload command

Use the setup command Power on a new router than has never been

configured

Page 5: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Initial Boot-up Output The message NVRAM invalid means

either the router has never been configured or the startup configuration was erased

A partial list of information displayed during boot-up is as follows: How many interfaces the router has What types of interfaces the router has The amount of NVRAM The amount of Flash memory

Page 6: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Setup -Global Parameters

The line console can be secured with passwords Router(config)# line console 0

Router(config-line)# login

Router(config-line)# password cisco

The virtual terminals can be secured with passwords Router(config)# line vty 0 4

Router(config-line)# password cisco

Page 7: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Boot Sequence and Setup Mode

A Power on Self Test (POST) is performed when a routers is powered on and all the hardware is checked

If no configuration file is found the router enters setup mode The file from setup mode is stored in NVRAM Ctrl-C will terminate the setup and start over Setup is not intended to enter complex protocol

information

Page 8: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Establishing a HyperTerminal Session

Hardware DB-9 or DB-25 to RJ45 adapter. The DB-9 or 25

will connect to the PC serial port A Rollover cable with a male RJ45 on each end

A copy of HyperTerminal software if using Windows 9.X or above HyperTerminal settings are: 9600 baud, 8 data

bits, no parity, one stop bit, no flow control

Page 9: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Logging into the Router

Cisco routers have two main levels of access User Exec mode – also called User or

Exec mode and only allows router status to be checked but NO configuration changes can be made

Privileged Exec Mode – Also called privileged mode and allows both router status checks and configuration changes

Page 10: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Keyboard Help Tying a ? at either the user or privileged

mode displays a list of possible commands (context sensitivity)

The –More– message will display at the bottom of the screen after 22 lines Pressing the spacebar moves to the next screen Pressing the Enter key goes to the next line Pressing any other key goes back to a prompt

A partial command can be entered with a ? at the end to final all commands starting with the letters you entered

A ^ symbol indicates an error in your entry.

Page 11: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Editing Commands

Page 12: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Editing History

Page 13: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Router Editing History (cont.)

By default command history is enabled

The default history buffer size is 10 The maximum history buffer size is

256

Page 14: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Cisco IOS Modes

ROM Monitor – performs bootstrap and can be used for password recovery or system failure recovery (only accessible through the console port)

Boot ROM – very limited command set to enable transfer of new IOS image from tftp server

Cisco IOS – Allows normal operation

Page 15: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Cisco IOS Naming Convention

The show flash command will display the IOS image name. The name reveals the following 3 pieces of information: The hardware platform name The special image capabilities The image location and whether it is

compressed or zipped

Page 16: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Accessing the Command Line

The Cisco Command Line Interface (CLI) can be accessed 3 ways: Through a console session Using a modem through the aux port Through a Telnet connection

Page 17: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Troubleshooting Cisco IOS

No configuration file or bad boot system statement

No configuration or wrong configuration register value

Corrupted Flash memory Hardware failure

Page 18: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Cisco show version Command

Displays the following: Cisco IOS version and description Bootstrap ROM version Boot ROM version Router up time Last restart method System image file and location Router platform Configuration

Page 19: Router Fundamentals PJC CCNA Semester 2 Ver. 3.0 by William Kelly

Other Common Show commands show processes – displays information

about active processes show protocols – displays the configured

protocols show flash – shows info. about flash

memory show running-config – shows the active

configuration file show startup-config – shows the startup file

in NVRAM show interface – shows the status of the

interfaces