8/11/2019 Sybex CCNA 640-802 Chapter 06
1/28
Sybex CCNA 640-802Chapter 6: Ciscos IOS
Instructor& Todd Lammle
8/11/2019 Sybex CCNA 640-802 Chapter 06
2/28
Chapter 6 Objectives
The Cisco router IOS
Enhanced editing
Administrative functions
Hostnames
Banners
Passwords
Interface descriptions
Verifying your configuration
2
8/11/2019 Sybex CCNA 640-802 Chapter 06
3/28
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
8/11/2019 Sybex CCNA 640-802 Chapter 06
4/28
Connecting To A Cisco Router
Cisco 2800
Cisco 1841
8/11/2019 Sybex CCNA 640-802 Chapter 06
5/28
Bringing up a Router
Boot-up process:1: POST
2: Looks for the Cisco IOS from Flash
memory3: IOS loads & looks for a valid
configuration;
startup-config
stored in nonvolatile RAM (NVRAM)
4: If a valid config is not found in NVRAM:
setup mode
8/11/2019 Sybex CCNA 640-802 Chapter 06
6/28
Setup Mode
Basic Management Setup
Extended Setup
Command-Line Interface
8/11/2019 Sybex CCNA 640-802 Chapter 06
7/28
Configuration
CLI Prompts
Interfaces
Sub-interfaces
Line Commands
Routing Protocol
Configurations
8/11/2019 Sybex CCNA 640-802 Chapter 06
8/28
Command-Line Interface (CLI)
More flexible than setup mode.
To use the CLI, just say No to
entering the initial configuration
dialog.
8/11/2019 Sybex CCNA 640-802 Chapter 06
9/28
Subinterfaces
Allow you to create logical
interfaces within the router
Router(config-
if)#interface f0/0.1
Router(config-subif)#
8/11/2019 Sybex CCNA 640-802 Chapter 06
10/28
Logging into the Router
User mode: Router>
Used mostly to view statistics
Privileged mode: Router#
Used to view & change router
configuration
8/11/2019 Sybex CCNA 640-802 Chapter 06
11/28
Overview of Router Modes
Global changes: config terminal or config t
Changes made to running-config
(DRAM) To change the startup-config(NVRAM)
config memory or config mem
Note: Any configuration changes need to
be placed into RAM. Typing config mem orconfig net (from a TFTP host) will append
the current running-config
8/11/2019 Sybex CCNA 640-802 Chapter 06
12/28
Editing & Help Features
8/11/2019 Sybex CCNA 640-802 Chapter 06
13/28
Editing & Help Features
Commands starting with a certainletter
Router#c?
clear clock configure connect copy
Enhanced Editing Commands
Router-Command History
Gathering Basic RoutingInformationshow version
8/11/2019 Sybex CCNA 640-802 Chapter 06
14/28
Enhanced Editing Commands
8/11/2019 Sybex CCNA 640-802 Chapter 06
15/28
Enhanced Editing Commands
(cont.)
8/11/2019 Sybex CCNA 640-802 Chapter 06
16/28
Router Command History
8/11/2019 Sybex CCNA 640-802 Chapter 06
17/28
Gathering Basic Routing
Information
8/11/2019 Sybex CCNA 640-802 Chapter 06
18/28
Administrative Functions
The administrative functions that
you can configure on a router
and switch are
Hostnames
Banners
Password
Interface descriptions
8/11/2019 Sybex CCNA 640-802 Chapter 06
19/28
Hostnames & Descriptions
HostnamesRouter(config)#hostname todd
todd(config)#
DescriptionsAtlanta(config)#int e0
Atlanta(config-if)#description SalesLan
8/11/2019 Sybex CCNA 640-802 Chapter 06
20/28
Banners
Purpose
Types exec
incoming
login
motd
Delimiting character
8/11/2019 Sybex CCNA 640-802 Chapter 06
21/28
Setting the Passwords
5 passwords: 1st twoused to set your enable
password
Used to secure privileged mode;Router>enable
Other threeare used to configure a
password in usermode via:
console port
auxiliary port
Telnet
8/11/2019 Sybex CCNA 640-802 Chapter 06
22/28
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
8/11/2019 Sybex CCNA 640-802 Chapter 06
23/28
Interface DescriptionsSetting descriptions on an interface is helpful to the
administrator and, like the hostname, only locallysignificant. The description command is a helpful one
because you can, for instance, use it to keep track of
circuit numbers.
Heres 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 interfacecommand.
8/11/2019 Sybex CCNA 640-802 Chapter 06
24/28
Router Interfaces
Bringing up an Interfaceno shutdown
shutdown
show interface
Configuring an IP Address on anInterface
Router(config)#int e0
Router(config-if)#ip address 172.16.10.2255.255.255.0
Router(config-if)#no shut
Serial Interface Commandsclock rate & bandwidth (entered in
kilobits)
8/11/2019 Sybex CCNA 640-802 Chapter 06
25/28
Viewing, & Saving
Configurations
Viewing & Saving Configurationsrunning-configsaved in DRAM
startup-config saved in NVRAM
copy run startsh run
sh start
erase startup-config
8/11/2019 Sybex CCNA 640-802 Chapter 06
26/28
8/11/2019 Sybex CCNA 640-802 Chapter 06
27/28
8/11/2019 Sybex CCNA 640-802 Chapter 06
28/28
Summary
Go through all the written labs and review
questions
Review answers in class
28