Top Banner
1 CCNA 2 v3.1 Module 2
33

1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

1

CCNA 2 v3.1 Module 2

Page 2: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

2

CCNA 2

Module 2

Introduction to Routers

Page 3: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

333

Cisco IOS

• Cisco Internetwork Operating System is the software that controls routing and switching functions of internetworking devices

• Network services provided by Cisco IOS :

Basic routing and switching functions

Reliable and secure access to networked resources

Network scalability

Page 4: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

444

User Router Interface

• Cisco IOS software uses a command-line interface (CLI)

• This environment is accessible through several methods.

Console session

Uses a low speed serial connection directly from a computer or terminal to the console connection on the router

No initial configuration necessary

Page 5: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

555

Dialup connection:

Using a modem or null modem connected to the router AUX port.

No initial configuration necessary

Telnet session:

At least one interface must be configured with an IP address, and virtual terminal sessions must be configured for login and passwords.

Page 6: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

666

Router user interface modes

• CLI uses a hierarchical structure.

• Entry into different modes to accomplish tasks

E.g., To configure a router interface, the user must enter interface configuration mode.

• Command executive (EXEC): Validates and executes the entered commands.

Page 7: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

777

• IOS software separates the EXEC sessions into two access levels:

User EXEC mode

Privileged EXEC mode (enable)

• User EXEC mode (view only)

Limited number of basic monitoring commands

To check and view the router status

Cannot change the configuration of the router

Prompt >

Page 8: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

888

• Privileged EXEC mode (enable mode)

Accesses all router commands

Configuration and management

To ensure authorized users access this mode

Configured it to require a password from the user before accessing it & User ID

Provides access to

Global configuration mode and others

Prompt #

Page 9: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

999

Entering a question mark (?) at the privileged EXEC level will reveal many more command options than those available at the user EXEC level.

Type enable to enter privileged exec mode

Type disable to enter privileged exec mode

Page 10: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

101010

IOS Naming Conventions

Platform (Hardware): C1005

Features: “b”, Appletalk 40 = 40 bit encryption

Format: F = Flash, M = RAM

Compression: Z = Zip compressed

Page 11: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

111111

• Consideration when selecting a new IOS image

Compatibility with the router flash and RAM memory

i.e., is there enough space

To find this information use show version

• router#show version

Displays the amount of available RAM

…cisco 1721 (68380) processor (revision C) with 3584K/512K bytes of memory.

3584k main memory

512k shared memory

• router#show flash

Displays the amount of flash memory

…15998976 bytes total (10889728 bytes free

Page 12: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

121212

Operation of Cisco IOS Software

• The startup process of the router normally loads into RAM and executes one of three operating environments/ modes.

ROM monitor

Boot ROM

Cisco IOS

• Systems administrator uses the configuration register setting to control the default start up mode for the router

Page 13: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

131313

• ROM Monitor:

provides low-level functionality and diagnostics

used to

recover from system failures

recover a lost password

Can only be accessed by direct, physical connection through the console port

Prompt: ROMMON>

• Boot ROM :

Prompt: Router(boot)>

Offers only limited IOS features

Used for flash image updates

copy tftp flash

copies an IOS image stored on a TFTP server into the flash memory of the router

Page 14: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

141414

• Cisco IOS

Normal operating mode

Usually stored in Flash but run from RAM

Prompt: router>

• show version

Displays

IOS image and version

Configuration register setting

Amount of available RAM

• show flash

Displays the amount of flash memory

Used to verify that the system has sufficient memory to load a new Cisco IOS image

Page 15: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

151515

Initial startup of Cisco routers

If the router cannot find a configuration file, it enters “setup mode”. It is a basic configuration

Page 16: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

161616

Startup routines must accomplish 3 things

Make sure that the router hardware is tested and

functional.

Find and load the Cisco IOS software

Flash, TFTP Server, ROM

Find and apply the startup configuration file or enter

the setup mode

NVRAM, TFTP Server, Console

Page 17: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

171717

Router Startup Sequence1. Powers up

2. Performs a power-on self test (POST)

Executes diagnostics from ROM to check all hardware modules

This verifies basic operation of CPU, memory, network interface ports

3. Software initialization

The boot field of the configuration register determines the location to be used in loading the IOS.

Flash (0X2102), TFTP Server, ROM

IOS Software is loaded

List of hardware and software is displayed on console screen

4. If valid configuration file exists

Configuration file from NVRAM is loaded into main memory

start routing processes, supply addresses for interfaces

5. If no valid configuration file exists

Operating system searches for TFTP server

If no TFTP server the setup dialog is initiated

Page 18: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

181818

• Entered only if configuration file cannot be found in NVRAM or TFTP

• Permits administrator to enter minimal router configurations

• Default answers appear in [ ]

• Press Enter to use these defaults

• Press Ctrl-C at any time

to terminate the process(setup mode)

all interfaces will be administratively shutdown

Setup Mode

Page 19: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

191919

Router LED indicators

• An interface LED indicates the activity of the corresponding interface.

A green OK LED indicates system is initialized correctly

Page 20: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

202020

Examining the initial router bootup Output

Output indicates a problem with the “NVRAM”. It could be “Write erased”

Page 21: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

212121

Router Output Tells

• Bootstrap version

• IOS version the router

• Router model

• Processor

• Number of interfaces

• Types of interfaces

• Amount of NVRAM

• Amount of flash memory

Page 22: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

222222

Logging into the router

Page 23: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

232323

• When entering the Privilaged exec mode if the password: prompt is displayed, enter the password that has been set

• Password commands to access privileged EXEC mode

Router(config)# Enable password <password>

Not encrypted

Router(config)#Enable secret <password>

Encrypted

Cannot be the same as enable password

Takes precedence over enable password

Page 24: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

242424

• From the Privileged mode you can enter the “Global Mode” & can configure the following;

Interface

Subinterface

Line

Router

Route-map

• To return to the privileged mode type Ctrl Z.

Page 25: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

252525

Keyboard help in the router CLI

• Typing a question mark (?) displays a handy list of available commands. (user or privileged modes)

Page 26: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

262626

• “?” can also be used to complete incomplete commands

Eg .. Setting the router clock

Page 27: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

272727

Page 28: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

282828

• The "^" symbol appears at the point in the command string where an incorrect command, keyword, or argument was entered.

Page 29: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

292929

Enhanced editing commands

“$” sign indicates that the command has scrolled onto the next line.

Page 30: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

303030

Router command history

The maximum number of commands held is 256.

Page 31: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

313131

The show version command

• show version command:

IOS version and descriptive information

Bootstrap ROM version

Boot ROM version

Router up time

Last restart method

System image file and location

Router platform

Configuration register setting

Page 32: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

323232

Page 33: 1 CCNA 2 v3.1 Module 2. 2 CCNA 2 Module 2 Introduction to Routers.

333333