1. Trang chủ
  2. » Công Nghệ Thông Tin

Tài liệu giảng dạy CCNA - module 02 chapter 08-Operating Cisco Routers

40 269 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 40
Dung lượng 1,55 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Table of Content 1 Router Memory, Processors, and Interfaces 2 The Cisco IOS Software Command-Line Interface 3 Configuring Cisco IOS Software 4 The Cisco IOS Software Boot Process... The

Trang 1

Module 02 Cisco IOS

Chapter 08 Operating Cisco Routers

Trang 2

Table of Content

1 Router Memory, Processors, and Interfaces

2 The Cisco IOS Software Command-Line Interface

3 Configuring Cisco IOS Software

4 The Cisco IOS Software Boot Process

Trang 3

1 Router Memory, Processors, and

Interfaces

Trang 4

Router internal components

Trang 5

Router physical characteristics

Trang 6

Managing configuration files using

TFTP

Router# copy running-config tftp

Address or name of remote host[]? 10.10.10.10

Destination filename [Router-config]?

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

624 bytes copied in 7.05 secs

Router#

Router# copy tftp running-config

Address or name of remote host[]? 10.10.10.10

Source filename[] ?router-config

Destination filename [running-config]?

Accessing tftp://10.10.10.10/router-config

Loading router-config from 10.10.10.10 (via ethernet 0/0)

!!!!!!!!!!!!!!!!!!!!!!!!!

[OK-642 bytes]

Trang 7

2 The Cisco IOS Software

Command-Line Interface

Trang 8

interfaces

Trang 9

interfaces

Trang 10

HyperTerminal session properties

Trang 11

Access to CLI: Telnet

 From an Ethernet/FastEthernet interface to a hub/switch:

straight – through cable

 From an Ethernet/FastEthernet interface to a PC/other

Router: crossover cable

Trang 12

CLI command modes

Trang 13

Router user interface modes

Trang 14

Configuring router passwords

Trang 15

Keyboard help in the router CLI

Router# ?

Exec commands:

access-enable Create a temporary Access-List entry

access-profile Apply user-profile to interface

access-template Create a temporary Access-List entry

archive manage archive files

bfe For manual emergency modes setting

cd Change current directory

clear Reset functions

clock Manage the system clock

More–

Router# cl?

clear clock

Router# clock ?

set Set the time and date

Router# clock set ?

hh:mm:ss Current Time

Trang 16

Enhanced editing commands

Ctrl-A Moves to the beginning of the command line

Ctrl-E Moves to the ending of the command line

Ctrl-B Move back one character

Ctrl-F Move forward one character

ESC+F Move forward one word

Ctrl-U Erases a line

Ctrl-W Erases a word

Ctrl-Z Ends Configuration Mode and returns to the

Privileged EXEC Mode.

TAB Key Finishes a partial command

Trang 17

Router command history

• By default, history buffer = 10 command lines.

• To change the number of command lines

− Router> terminal history size number-of-lines

− Number-of-lines: 1 – 256

Ctrl-P (or up arrow) Recalls last (Previous) commands

Ctrl-N (or down arrow) Recalls last most recent commands

Trang 19

Troubleshooting command line

errors

Trang 20

The debug and show Commands

 The show command lists facts about the router’s

operational status that the router already knows

 The debug command actually tells the router to spend

some CPU cycles to do things besides its normal functions,

to provide the user with more information about what the

router is doing

no debug all

Trang 21

3 Configuring Cisco IOS Software

Trang 22

Configuring a router name

Router(config)#hostname Tokyo

Tokyo(config)#

Trang 23

Configuring message-of-the-day

(MOTD)

Router(config)#banner motd # You have entered a

secure system, authorized access ONLY!!! #

Trang 25

Configuring a serial interface

Router#configure terminal

Router(config)#interface type slot/port

Router(config-if)#ip address <ip address> <netmask>

Router(config-if)#clock rate 64000 *

Router(config-if)#no shutdown

* Only use with interface connected to DCE cable

Trang 27

Configuring host tables

Router(config)#ip host Auckland 172.16.32.1

Router#show host

Default domain is not set

Name/address lookup uses domain service

Name server are

Trang 28

Save configuration file

Router#copy running-config startup-config

Destination filename [startup-config]?

Building configuration

[OK]

Trang 29

4 Cisco IOS Software Boot

Process

Trang 30

Operation of Cisco IOS Software

Operating

ROM monitor > or rommon> Failure or password

recovery Boot Rom Router(boot)> Flash image upgrade

Cisco IOS Router> Normal operation

Trang 31

Router Startup Sequence

Trang 32

The boot process

ROM monitor initializes

Boot commands

in NVRAM ?

Executes boot

commands

Router’s Fallback sequence

2 to F

Trang 33

Executes boot commands in NVRAM

Default Fallback sequence

Customize Fallback sources

Trang 34

Boot system commands

(config)#

 boot system flash <IOS_filename>

 boot system tftp <IOS_filename > <TFTP_addr >

 boot system rom

#

 copy running-config startup-config

Trang 35

 11-12: Console line speed

 13: Boot ROM if network boot fails

 15: Diagnostic and ignore NVRAM

Bit:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0x

0 16

16-bit register

1 2

3 6

 The configuration register is a 16-bit register in NVRAM

Trang 36

0x - - - 0

1 2 F

Boot field

Trang 37

Configuration Register

Configuration Register Value Description

0xnnn2 – 0xnnnF Examine NVRAM for boot system commands

Router# Show version

Router(config)#configure-register register-value

Trang 38

Useful Config-register

0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0x

0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 0x

0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0x

Trang 39

Troubleshooting IOS Boot Failure

Configuration file has missing or incorrect boot

system statement

 Incorrect configuration register value

 Corrupted flash image

 Hardware failure

Trang 40

Summary

 The router internal components.

 Configuring the Cisco IOS software.

 The Cisco IOS boot process.

Ngày đăng: 12/08/2015, 09:20