+ All Categories
Home > Documents > IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS1 What we will be able to do?

Date post: 24-Dec-2015
Category:
Upload: shanon-taylor
View: 218 times
Download: 0 times
Share this document with a friend
Popular Tags:
26
IST 228\Ch4\Cisco IOS 1 What we will be able to do?
Transcript
Page 1: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 1

What we will be able to do?

Page 2: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 2

Fast Track IntroductionRouter Con0 is now available

Press RETURN to get started.

Router>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface e0Router(config-if)#ip address 191.20.10.1 255.255.255.0Router(config-if)#no shutdown%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up%LINK-3-UPDOWN: Interface Ethernet0, changed state to up

Router(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by console

Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router(config)#interface s0Router(config-if)#ip address 192.30.10.5 255.255.255.0Router(config-if)#no shutdown%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to up

Router(config-if)#^Z%SYS-5-CONFIG_I: Configured from console by consoleRouter#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR

Gateway of last resort is not set

C 191.20.10.0 is directly connected, Ethernet0C 192.30.10.0 is directly connected, Serial0Router#

Page 3: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 3

Cisco Router User Interface

• Cisco Internetwork Operating System (IOS)– Provides a command-line interface (CLI),

which allows network operators to check the status of the router and network administrators to manage and configure the router

– The software that interprets the command is called the command executive (or EXEC)

Page 4: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 4

Overview Of Router Modes

Page 5: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 5

Editing and Help Features• Type in (?) at any prompt to list all the

commends available form that prompt.Router>? Exec commands: access-enable Create a temporary Access-List entry--More--.

• Type in (?) after a command to find the next command in the string.

Router>ping ? WORD Ping destination address or hostname apollo Apollo echo appletalk Appletalk echo..

• To find commands that starts with certain letter, use the letter and question mark (?).

Router>c?clear clock configure connect copy

Page 6: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 6

• Command History– Up arrow last command entered– Down arrow previous command

entered– show history last 10 command– show terminal terminal

configurations

• Enhanced Editing Commands

Page 7: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 7

Setting Passwords• There are five passwords that can be set

on a Cisco router:

Page 8: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 8

• Enable PasswordRouter(config)#enable password easyRouter(config)#enable secret easy

• Auxiliary PasswordRouter>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#line aux ? <0-0> First Line numberRouter(config)#line aux 0Router(config-line)#loginRouter(config-line)#password easy

• Console PasswordRouter(config)#line console ? <0-0> First Line numberRouter(config)#line console 0Router(config-line)#loginRouter(config-line)#password easy

• Telnet Password

Page 9: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 9

• Telnet PasswordRouter>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#line ? <0-6> First Line number aux Auxiliary line console Primary terminal line vty Virtual terminal

Router(config)#line % Incomplete command.Router(config)#line vty ? <0-197> First Line numberRouter(config)#line vty 0 4Router(config-line)#loginRouter(config-line)#password easyRouter(config-line)#

• Encrypting Your PasswordRouter#show running-configRouter#configure terminalRouter(config)#service password-encryptionRouter(config)#no service password-encryptionRouter(config)#^Z

Page 10: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 10

BannersRouter>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#banner ? LINE c banner-text c, where 'c' is a delimiting character exec Set EXEC process creation banner incoming Set incoming terminal line banner login Set login banner motd Set Message of the Day bannerRouter(config)#banner motd #Enter TEXT message. End with the character '#'.Get away from my router!#Router(config)#^Z%SYS-5-CONFIG_I: Configured from console by consoleRouter#exitRouter Con0 is now available

Press RETURN to get started.Get away from my router.

• Exec Banner• Incoming Banner• Login Banner

Page 11: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 11

Interfaces

• Ethernet, serial, console, and auxiliary interfaces, the router can have other types of interfaces, including:– 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 12: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 12

Page 13: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 13

Bringing Up an Interface and Configuring an IP Address

Router>enableRouter#configure terminalEnter configuration commands, one per line. End with

CNTL/Z.Router(config)#interface serial ? <0-1> Serial interface number

Router(config)#interface serial 0Router(config-if)#ip address 172.16.10.2 255.255.255.0Router(config-if)#no shutdown%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0,

changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to up

Router(config-if)#^ZRouter#

Page 14: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 14

Host Names and Descriptions• Router>enable• Router#configure terminal• Enter configuration commands, one per line. End with

CNTL/Z.• Router(config)#hostname nopass• nopass(config)#interface e0• nopass(config-if)#description irondoor• nopass(config-if)#^Z• %SYS-5-CONFIG_I: Configured from console by console• nopass#• nopass#

Page 15: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 15

Viewing and Saving Configurationnopass#copy running-config startup-config

Destination filename [startup-config]?

nopass#show running-config

nopass# ping ?

nopass#show interface s0

nopass#show ip interface

Page 16: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 16

Cisco Router User Interface

• A router can be accessed in several different ways– Each of these methods involves access

through on of three lines

• Network administrators typically access the router directly through the console port (also known as the console) located on the back of the router

Page 17: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 17

Cisco Router User Interface

• The console port connects directly to a PC through an RJ-45 to RJ-45 rollover cable with an RJ-45 to DB-9 or RJ-45 to DB-25 connector included with the router– Whether you select the DB-9 or DB-25

connector will depend on the type of port on the back of the router

• The second line used to access the router is through the auxiliary port (AUX)– The AUX is also located on the back of the

router

Page 18: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 18

Cisco Router User Interface

Page 19: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 19

Cisco Router User Interface

• In addition to the AUX and console ports, five virtual terminals (VTY) can be used to configure the router

• Accessing the router through the VTY lines is the same as telnetting to the router

• The router can also obtain configuration information from a Trivial File Transfer Protocol (TFTP) server

Page 20: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 20

Cisco Router User Interface

Page 21: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 21

Connecting via Terminal Programs• When configuring the router through

the console or AUX ports, you must first make the physical connection

• Then you can access the router through a terminal program

• There are many different terminal programs that you can use

Page 22: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 22

Switch User Interface

• There are two types of operating systems in use on Cisco switches:– IOS-based

• Used by Cisco 1900, 2820, and 2900 switches

• Catalyst 1900 IOS-based operating system is the switch model that appears on the CCNA exam

– Set-based• Employed by Cisco 1984G, 2926, 4000,

5000, and 6000 series switches

Page 23: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 23

Router Components:Flash Memory• Erasable, programmable, read-only

memory (EPROM)• Not typically modified during normal

operations• Can be upgraded or erased when

necessary• Content of flash memory is

maintained even when the router is rebooted

Page 24: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 24

Router Components:Flash Memory

Page 25: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 25

Router Components:NVRAM• Nonvolatile random access memory

(NVRAM)– Special type of RAM– Not cleared when the router is rebooted– Startup configuration for the router is

stored in NVRAM by default– Stores all the user-defined configuration

information for the router

Page 26: IST 228\Ch4\Cisco IOS1 What we will be able to do?

IST 228\Ch4\Cisco IOS 26

Router Components:RAM/DRAM• Random access memory (RAM)

– Also known as dynamic random access memory (DRAM)

– A volatile hardware component• Information is not maintained in the event of

a router reboot– Similar to how RAM operates in a PC


Recommended