58
1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

Embed Size (px)

Citation preview

Page 1: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

1© 2004, Cisco Systems, Inc. All rights reserved.

Chapter 6

Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

Page 2: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

222© 2004, Cisco Systems, Inc. All rights reserved.

Objectives

Page 3: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

333© 2004, Cisco Systems, Inc. All rights reserved.

Command-Line InterfaceCommand Modes

Page 4: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

444© 2004, Cisco Systems, Inc. All rights reserved.

Configuring a Router Name

Page 5: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

555© 2004, Cisco Systems, Inc. All rights reserved.

Configuring Router Passwords

Page 6: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

666© 2004, Cisco Systems, Inc. All rights reserved.

Examining the show Commands

• Many show commands can be used to examine the contents of files in the router and for troubleshooting.

• In both privileged EXEC and user EXEC modes, the command show ? provides a list of available show commands.

Page 7: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

777© 2004, Cisco Systems, Inc. All rights reserved.

Interface Configuration Commands

Page 8: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

888© 2004, Cisco Systems, Inc. All rights reserved.

Configuring an Ethernet Interface

Page 9: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

999© 2004, Cisco Systems, Inc. All rights reserved.

Importance of Configuration Standards

Page 10: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

101010© 2004, Cisco Systems, Inc. All rights reserved.

Configuring Interface Descriptions

An interface description should identify important information such as a router, a circuit number, or a specific network segment.

Page 11: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

111111© 2004, Cisco Systems, Inc. All rights reserved.

Login Banners

Page 12: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

121212© 2004, Cisco Systems, Inc. All rights reserved.

Configuring Message-of-the-Day (MOTD)

Page 13: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

131313© 2004, Cisco Systems, Inc. All rights reserved.

Host Name Resolution

Page 14: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

141414© 2004, Cisco Systems, Inc. All rights reserved.

Host Table Configuration

Page 15: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

151515© 2004, Cisco Systems, Inc. All rights reserved.

Configuration Backup and Documentation

Page 16: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

161616© 2004, Cisco Systems, Inc. All rights reserved.

The copy running-config tftp Command

Page 17: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

171717© 2004, Cisco Systems, Inc. All rights reserved.

The copy tftp running-config Command

Page 18: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

181818© 2004, Cisco Systems, Inc. All rights reserved.

Summary

Page 19: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

19© 2004, Cisco Systems, Inc. All rights reserved.

Learning About Other Devices

Page 20: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

202020© 2004, Cisco Systems, Inc. All rights reserved.

Objectives

Page 21: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

212121© 2004, Cisco Systems, Inc. All rights reserved.

Cisco Discovery Protocol (CDP)

CDP is media and protocol independent, and runs on all Cisco equipment over the Subnetwork Access Protocol (SNAP).

Page 22: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

222222© 2004, Cisco Systems, Inc. All rights reserved.

Showing CDP Neighbor Entries

Page 23: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

232323© 2004, Cisco Systems, Inc. All rights reserved.

Implementation, Monitoring, and Maintenance of CDP

Page 24: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

242424© 2004, Cisco Systems, Inc. All rights reserved.

The show cdp interface Command

Page 25: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

252525© 2004, Cisco Systems, Inc. All rights reserved.

The show cdp neighbors Command

Page 26: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

262626© 2004, Cisco Systems, Inc. All rights reserved.

Creating a Network Map

• The show cdp neighbors [type number] [detail] command can be used to obtain the following:

Device ID — Address

Port ID — Capabilities

Version — Platform

IP network prefix

VTP management domain name (CDPv2 only)

Native VLAN (CDPv2 only)

Full/Half duplex (CDPv2)

Page 27: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

272727© 2004, Cisco Systems, Inc. All rights reserved.

Disabling CDP

Page 28: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

282828© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting CDP

Page 29: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

292929© 2004, Cisco Systems, Inc. All rights reserved.

The show cdp traffic Command

Page 30: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

303030© 2004, Cisco Systems, Inc. All rights reserved.

Telnet

Page 31: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

313131© 2004, Cisco Systems, Inc. All rights reserved.

Telnet Operations

Page 32: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

323232© 2004, Cisco Systems, Inc. All rights reserved.

Establishing Telnet Connections

• To initiate a Telnet session any of the following alternatives can be used:

Denver>connect parisDenver>paris Denver>131.108.100.152Denver>telnet paris

• A hostname table or access to DNS for Telnet must be present for a name to work. Otherwise, the IP address of the remote router must be entered.

• Telnet can be used to determine if a remote router can be accessed.

Page 33: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

333333© 2004, Cisco Systems, Inc. All rights reserved.

Telnet Operations

Page 34: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

343434© 2004, Cisco Systems, Inc. All rights reserved.

Advanced Telnet Operation

Multiple Telnet sessions can be used and suspended with the Ctrl+Shift+6 then x sequence.

Page 35: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

353535© 2004, Cisco Systems, Inc. All rights reserved.

Testing with the ping Command

Page 36: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

363636© 2004, Cisco Systems, Inc. All rights reserved.

Testing with the traceroute Command

Page 37: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

373737© 2004, Cisco Systems, Inc. All rights reserved.

Troubleshooting IP Addressing Issues

Page 38: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

383838© 2004, Cisco Systems, Inc. All rights reserved.

Summary

Page 39: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

39© 2004, Cisco Systems, Inc. All rights reserved.

Managing Cisco IOS Software

Page 40: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

404040© 2004, Cisco Systems, Inc. All rights reserved.

Objectives

Page 41: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

414141© 2004, Cisco Systems, Inc. All rights reserved.

Router Startup Sequence

Page 42: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

424242© 2004, Cisco Systems, Inc. All rights reserved.

Locating IOS Software

Page 43: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

434343© 2004, Cisco Systems, Inc. All rights reserved.

Using the boot system Command

Page 44: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

444444© 2004, Cisco Systems, Inc. All rights reserved.

Configuration Register Values

The order in which the router looks for system bootstrap information depends on the boot field setting in the configuration register. The default configuration register setting can be changed with the global configuration mode command config-register. Use a hexadecimal number as the argument for this command.

Page 45: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

454545© 2004, Cisco Systems, Inc. All rights reserved.

Identifying Boot Image Source

Page 46: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

464646© 2004, Cisco Systems, Inc. All rights reserved.

Software Components in Memory

Page 47: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

474747© 2004, Cisco Systems, Inc. All rights reserved.

Fields in the IOS Name

Page 48: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

484848© 2004, Cisco Systems, Inc. All rights reserved.

Managing Configuration Files Using TFTP

Page 49: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

494949© 2004, Cisco Systems, Inc. All rights reserved.

Managing Configuration Files Using Copy and Paste

Page 50: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

505050© 2004, Cisco Systems, Inc. All rights reserved.

Managing IOS Images Using TFTP

Page 51: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

515151© 2004, Cisco Systems, Inc. All rights reserved.

The confreg Command

Page 52: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

525252© 2004, Cisco Systems, Inc. All rights reserved.

Managing IOS Using XModem

Page 53: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

535353© 2004, Cisco Systems, Inc. All rights reserved.

The tftpdnld Command

Page 54: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

545454© 2004, Cisco Systems, Inc. All rights reserved.

File System Verification

• There are several commands that can be used to verify the router file system.

show version

show flash

Page 55: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

555555© 2004, Cisco Systems, Inc. All rights reserved.

The show version Command

Page 56: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

565656© 2004, Cisco Systems, Inc. All rights reserved.

The show flash Command

Page 57: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

575757© 2004, Cisco Systems, Inc. All rights reserved.

Summary

Page 58: 1 © 2004, Cisco Systems, Inc. All rights reserved. Chapter 6 Configuring a Router/ Learning About Other Devices/ Managing Cisco IOS Software

585858© 2004, Cisco Systems, Inc. All rights reserved.

Question/Answer