Top Banner
CCNA Guide to Cisco Networking Chapter 6: Router and IOS Basics
43
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: Download It

CCNA Guide to Cisco Networking

Chapter 6: Router and IOS Basics

Page 2: Download It

Objectives

• Describe the benefits of network segmentation with routers

• Understand the elements of the Cisco router user interface

• Configure the HyperTerminal program to interface with the Cisco router

• Describe the various router configuration modes

• Describe the various router passwords

Page 3: Download It

Objectives (continued)

• Understand the enhanced editing features of the Cisco IOS

• Understand the elements of the Cisco switch user interface

• Compare router components to typical PC components

Page 4: Download It

Benefits Of Routing

• Packet filtering

• Traffic control

• Connect LANs

• WAN connections

• Segmentation

Page 5: Download It

Cisco Router User Interface

• Cisco Internetwork Operating System (IOS)

• Command-line interface (CLI)– Command executive or EXEC

• Router access– Console port (console)

• Rollover cable, RJ-45 to DB-9, RJ-45 to DB-25

– Auxiliary port (AUX)– Virtual terminal (VTY)

Page 6: Download It

Cisco Router User Interface (continued)

Page 7: Download It

Cisco Router User Interface (continued)

Page 8: Download It

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 9: Download It

System Configuration Dialog

• Router enters system configuration dialog– No previous configuration (factory default)– Start-up file has been erased– Registry setting has is set to 0x2142– Forced by entering the CLI “setup” command

• Default options are in brackets• Two types of setup

– Basic management setup– Extended setup

Page 10: Download It

System Configuration Dialog (continued)

Page 11: Download It

User Interface• Return or Enter key to reach the prompt

when connecting with a terminal program• Initial prompt consists of two parts

– Hostname– Greater than symbol (>)

• User EXEC mode or user mode– View basic settings and monitoring

• Question mark (?)• Context-sensitive help

Page 12: Download It

User Interface (continued)

• Privileged EXEC mode or Exec mode– “enable” command at user prompt– May be prompted for a password

• Exec mode prompt consists of two parts– Hostname– Pound sign symbol (>)

• Exec mode commands that can will affect router operations– Setup– Copy– Erase

Page 13: Download It

User Interface (continued)

Page 14: Download It

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: Download It

Configuration Modes (continued)

Page 16: Download It

Configuration Modes (continued)

• “exit” command

• Crtl+Z

• Incorrect character symbol (^)

• Command shortcuts– Example: show running-config or sh ru

Page 17: Download It

Configuration Modes (continued)

Page 18: Download It

Plethora Of Passwords

• Routers have five basic passwords and several advanced passwords – Enable password– Enable secret password– Virtual terminal password– Console password– AUX password

• Three of the five passwords can be setup during initial configuration dialog

• “service-password encryption” command

Page 19: Download It

Plethora Of Passwords (continued)

Page 20: Download It

Plethora Of Passwords (continued)

Page 21: Download It

Plethora Of Passwords (continued)

Page 22: Download It

Plethora Of Passwords (continued)

Page 23: Download It

Plethora Of Passwords (continued)

Page 24: Download It

Plethora Of Passwords (continued)

Page 25: Download It

Enhanced Editing

Page 26: Download It

Command History

• Retrieve previously typed commands

• Stores up 10 previously typed commands by default– Up arrow (Ctrl+P)– Down arrow (Ctrl+N)

• Tab key to complete commands

• “terminal history” command– 0 through 256

Page 27: Download It

Configuring Router Identification

• Configure router host name– Router(config)# hostname

• Message of the day login banner– Delimiting character– “banner motd # .... #” command

• Interface description– “description” command

Page 28: Download It

Configuring Router Identification (continued)

Page 29: Download It

Configuring Router Identification (continued)

Page 30: Download It

Configuring Router Identification (continued)

Page 31: Download It

Configuring The Time And Date

• Configure the time in enable mode with the “clock set” command

• Universal Time Code– Greenwich, United Kingdom

• Configure the time zone in global configuration mode

• “show clock” command

Page 32: Download It

Configuring The Time And Date (continued)

Page 33: Download It

Switch User Interface

• Two types of operating systems– IOS-based

• 1900, 2820, and 2900 switches– Set-based

• 1984G, 2926, 4000, 5000, and 6000 switches

• Catalyst 1900 menu[M] Menus[K] Command Line[I] IP Configuration

• Modes and passwords• Setting the host name

Page 34: Download It

Router Components

• ROM

• Flash memory

• NVRAM

• RAM/DRAM

• Interfaces

Page 35: Download It

Router Components (continued)

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

• (>) or (rommon 1>)

Page 36: Download It

Router Components (continued)

• Flash memory– Erasable, programmable, read-only memory

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

Page 37: Download It

Router Components (continued)

• NVRAM– Nonvolatile random access memory (NVRAM)– Special type of RAM– Not cleared when router is rebooted– Startup configuration file– “show start” command

Page 38: Download It

Router Components (continued)

• 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 39: Download It

Router Components (continued)

• Interfaces– Token Ring– Basic Rate Interface (BRI)– Asynchronous Transfer Mode (ATM)– Fiber Distributed Data Interface (FDDI)– Channel Interface Processor (CIP) for System

Network Architecture (SNA)– High-Speed Serial Interface (HSSI)

Page 40: Download It

Summary

• Cisco routers use the Cisco IOS to provide an interface for network operators and administrators

• The first mode entered is user EXEC (router> prompt) and the next mode is privileged EXEC (router# prompt)

• In user EXEC, you can accomplish basic tasks such as checking the router status, checking connectivity, and viewing some configuration information

• To actually configure the router, privileged EXEC mode must be accessed, as this mode leads to the two most common modes for router configuration: global configuration mode and interface configuration mode

• The privileged EXEC mode is often called enable mode because it is entered using the enable command

Page 41: Download It

Summary (continued)

• The enable, enable secret, and VTY passwords are set during initial configuration if the system configuration dialog is used, but they can also be added and changed in global configuration mode (router(config)# prompt)

• When configured, the enable secret password supersedes the enable password

• This is because the enable secret is an encrypted password that is not viewable in the configuration file, which means that it has less chance of being compromised

• For this reason, it should be different from the enable password

Page 42: Download It

Summary (continued)

• The Cisco 1900 switch allows configuration from a command line just like a Cisco router

• Host names and passwords, as well as other parameters, are configured on the Cisco 1900 switch in much the same way as they are configured on a router

• The components of a router include ROM, flash memory, NVRAM, RAM/DRAM, and interfaces

• ROM stores a limited version of the Cisco IOS and routines for checking the hardware during system boot

• It is responsible for initializing the router

Page 43: Download It

Summary (continued)

• Flash memory stores the Cisco IOS that is loaded by default during system boot

• NVRAM stores the startup copy of the router configuration file that is loaded by default during system boot

• RAM/DRAM stores the working copy (running configuration) of the router configuration

• This configuration is loaded into RAM from NVRAM by default during bootup

• It is erased if the router is rebooted, unless it is saved to the startup configuration


Related Documents