45
Sybex CCNA 640-802 Chapter 4: Cisco’s IOS and SDM Instructor & Todd Lammle

Instructor & Todd Lammle

Embed Size (px)

DESCRIPTION

Instructor & Todd Lammle. Sybex CCNA 640-802 Chapter 4: Cisco’s IOS and SDM. Chapter 4 Objectives. The Cisco router IOS Enhanced editing Administrative functions Hostnames Banners Passwords Interface descriptions Verifying your configuration. 2. Cisco Router IOS. - PowerPoint PPT Presentation

Citation preview

Page 1: Instructor  & Todd Lammle

Sybex CCNA 640-802Chapter 4: Cisco’s IOS and SDM

Instructor & Todd Lammle

Page 2: Instructor  & Todd Lammle

Chapter 4 Objectives

• The Cisco router IOS• Enhanced editing• Administrative functions

– Hostnames– Banners– Passwords– Interface descriptions

• Verifying your configuration

2

Page 3: Instructor  & Todd Lammle

Cisco Router IOS

• Carries network protocols and functions

• Connects high-speed traffic between devices

• Adds security to control access

• Provides scalability for growth

• Supplies reliability

Page 4: Instructor  & Todd Lammle

Router Access

• Console port (console)– Rollover cable, RJ-45 to DB-9, RJ-

45 to DB-25

• Auxiliary port (AUX)

• Virtual terminal (VTY)

Page 5: Instructor  & Todd Lammle

Connecting To A Cisco Router

Cisco 2811

Cisco 1841

Page 6: Instructor  & Todd Lammle

Connecting To A Cisco Router

Page 7: Instructor  & Todd Lammle

Connecting Via Terminal Programs

• Establish a connection– Physical connection through

console• 9600 bits per second, data bits 8, stop

bits 1, parity “none”, flow control “none”

– Logical connection through VTY

• Terminal programs• HyperTerminal, Microphone Pro,

ProComm Plus, Telix, Tera Term

Page 8: Instructor  & Todd Lammle

Bringing up a Router

• Boot-up process:1: POST

2: Looks for the Cisco IOS from Flash memory

3: IOS loads & looks for a valid configuration;

• startup-configstartup-config• stored in nonvolatile RAM (NVRAM)

4: If a valid config is not found in NVRAM:• setup modesetup mode

Page 9: Instructor  & Todd Lammle

Bringing up a Router

• Boot-up process:

Page 10: Instructor  & Todd Lammle

Setup Mode

• Basic Management Setup

• Extended Setup

• Command-Line Interface

Page 11: Instructor  & Todd Lammle

Command-Line Interface (CLI)

• More flexible than setup mode.

• To use the CLI, just say No to entering the initial configuration dialog.

• Initial prompt consists of two parts– Hostname– Greater than symbol (>)

Page 12: Instructor  & Todd Lammle

Logging into the Router

• User mode: – Router>– Used mostly to view statistics

• Privileged mode:– Router#– Used to view & change router

configuration

Page 13: Instructor  & Todd Lammle

Overview of Router Modes

• Global changes:– config terminal or config t– Changes made to running-config running-config

(DRAM)– To change the startup-configstartup-config (NVRAM)

• config memory or config mem

Note: Any configuration changes need to be placed into RAM. Typing config mem or config net (from a TFTP host) will append the current running-configrunning-config

Page 14: Instructor  & Todd Lammle

Configuration Modes

• Global configuration mode– Router(config)#

• Interface mode– Router(config–if)#

• Line configuration mode– Router(config-line)#

• Router configuration mode– Router(config-router)#

Page 15: Instructor  & Todd Lammle

Configuration Modes

Page 16: Instructor  & Todd Lammle

Configuration

• CLI Prompts

• Interfaces

• Sub-interfaces

• Line Commands

• Routing Protocol Configurations

Page 17: Instructor  & Todd Lammle

Editing & Help Features

Page 18: Instructor  & Todd Lammle

Editing & Help Features

• Commands starting with a certain letter

Router#c?

clear clock configure connect copy

• Enhanced Editing Commands

• Router-Command History

• Gathering Basic Routing Information– show versionshow version

Page 19: Instructor  & Todd Lammle

Enhanced Editing Commands

Page 20: Instructor  & Todd Lammle

Enhanced Editing Commands (cont.)

Page 21: Instructor  & Todd Lammle

Router Command History

Page 22: Instructor  & Todd Lammle

Gathering Basic Routing Information

Page 23: Instructor  & Todd Lammle

Administrative Functions

The administrative functions that you can configure on a router and switch are

• Hostnames• Banners• Password• Interface descriptions

Page 24: Instructor  & Todd Lammle

Hostnames & Descriptions

• HostnamesRouter(config)#hostname todd

todd(config)#

• DescriptionsAtlanta(config)#int e0

Atlanta(config-if)#description Sales Lan

Page 25: Instructor  & Todd Lammle

Banners

• Purpose: welcome message

• Types– exec: set EXEC process creation

banner– incoming: set incoming terminal line

banner– login: login banner– motd: set message of the Day banner

• Delimiting character

Page 26: Instructor  & Todd Lammle

Banners

Page 27: Instructor  & Todd Lammle

Setting the Passwords

• 5 passwords:– 1st two used to set your enable

password• Used to secure privileged mode;

Router>enable

– Other three are used to configure a password in useruser mode via:

• console port• auxiliary port• Telnet

Page 28: Instructor  & Todd Lammle

Passwords

• Enable passwordsRouter(config)#enable password cisco

Router(config)#enable secret cisco

• Auxiliary Password

• Console Password

• Telnet Password

• Encrypting Your PasswordRouter(config)#service password-

encryption

Page 29: Instructor  & Todd Lammle

Passwords

Page 30: Instructor  & Todd Lammle

Passwords

Page 31: Instructor  & Todd Lammle

Passwords

Page 32: Instructor  & Todd Lammle

Passwords

Page 33: Instructor  & Todd Lammle

Passwords

Page 34: Instructor  & Todd Lammle

Interface DescriptionsSetting descriptions on an interface is helpful to the administrator and, like the hostname, only locally significant. The description command is a helpful one because you can, for instance, use it to keep track of circuit numbers.

Here’s an example:Atlanta(config)#int e0

Atlanta(config-if)#description Sales Lan

Atlanta(config-if)#int s0

Atlanta(config-if)#desc Wan to Miami circuit:6fdda4321

You can view the description of an interface either with the show running-config command or the show interface command.

Page 35: Instructor  & Todd Lammle

Router Interfaces

• Bringing up an Interfaceno shutdownshutdownshow interface

• Configuring an IP Address on an Interface

Router(config)#int e0Router(config-if)#ip address 172.16.10.2

255.255.255.0Router(config-if)#no shut

• Serial Interface Commandsclock rate & bandwidth (entered in

kilobits)

Page 36: Instructor  & Todd Lammle

Configuring The Time And Date

Page 37: Instructor  & Todd Lammle

Viewing, & Saving Configurations

• Viewing & Saving Configurations– running-configrunning-config saved in DRAM– startup-configstartup-config saved in

NVRAMcopy run start

sh run

sh start

erase startup-config

Page 38: Instructor  & Todd Lammle

Verifying Your Configuration

Tools:– show running-config– show startup-config– ping– show cdp nei detail– trace– telnet

Page 39: Instructor  & Todd Lammle

Other Verification Methods

• Verifying with the show interface command– Router#show interface ?

• Verifying with the show ip interface command (layer 3 info)– Router#show ip interface– Router#show ip interface brief– Router#show controllers

Page 40: Instructor  & Todd Lammle

Router Components

• ROM

• Flash memory

• NVRAM

• RAM/DRAM

Page 41: Instructor  & Todd Lammle

Router Components

• ROM– Read-only memory (ROM)– Bootstrap program– ROM monitor firmware– ROM monitor mode

• (>) or (rommon 1>)

Page 42: Instructor  & Todd Lammle

Router Components

• Flash memory– Erasable, programmable, read-

only memory (EPROM)– Contains the Cisco IOS– Can store multiple IOS– “show version” command– “show flash” command

Page 43: Instructor  & Todd Lammle

Router Components

• NVRAM– Nonvolatile random access

memory (NVRAM)– Special type of RAM– Not cleared when router is

rebooted– Startup configuration file– “show start” command

Page 44: Instructor  & Todd Lammle

Router Components

• Random access memory (RAM)– Volatile– Information is not retain during

router reboot– Running configuration– “show running-config” command– “show memory” command– “show buffers” command

Page 45: Instructor  & Todd Lammle

Summary

• Go through all the written labs and review questions

• Review answers in class

45