1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router...

33
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting

Transcript of 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router...

Page 1: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

CCNA 2 v3.1 Module 9 Basic Router Troubleshooting

Page 2: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Objectives

Page 3: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

The show ip route Command

The show ip route command displays the contents of the IP routing table.

Page 4: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Static Routing

Page 5: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Dynamic Routing

Page 6: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Default Route

Page 7: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Configuring a Default Route

This command does not work with IGRP

Page 8: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Determining Route Source and Destination

The network layer provides best-effort, end-to-end, packet delivery across interconnected networks. The network layer uses the IP routing table to send packets from the source network to the destination network.

Page 9: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Determining L2 and L3 Addresses

Page 10: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Determining Administrative Distance

Page 11: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Determining the Route Metric

Routing protocols use metrics to determine the best route to a destination.

Page 12: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

IGRP Metric

• Metric=K1 *Bandwidth + (K2 * Bandwidth)/256-load) + K3 * Delay

• The default constant values are K1=K3=1 and K2=K4=K5=0 so:

• Metric=Bandwidth + Delay

Page 13: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Determining the Route Next Hop

• Destination next hop associations determine the best path and which router to forward the packet to next. This router represents the next hop on the way to the final destination.

Page 14: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Determining the Last Routing Update

• Use the following commands to find the last routing update:

show ip route

show ip route network

show ip protocols

show ip rip database

Page 15: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Observing Multiple Paths to a Destination

• Some routing protocols support multiple paths to the same destination.

• Unlike single path algorithms, these multi-path algorithms permit traffic over multiple lines, provide better throughput, and are more reliable.

Page 16: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Introduction to Network Testing

Page 17: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Structured Approach to Troubleshooting

Page 18: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

• Broken cables • Disconnected cables • Cables connected to the wrong ports • Intermittent cable connection • Wrong cables used for the task at

hand • Transceiver problems • DCE cable problems • DTE cable problems • Devices turned off

Typical Layer 1 Errors

Page 19: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

• Improperly configured serial interfaces

• Improperly configured Ethernet interfaces

• Improper encapsulation set • Improper clock rate settings

on serial interfaces • Network interface card (NIC)

problems

Typical Layer 2 Errors

Page 20: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

• Routing protocol not enabled

• Wrong routing protocol enabled

• Incorrect IP addresses

• Incorrect subnet masks

Typical Layer 3 Errors

Page 21: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Layer 1 Problems in a Network

Page 22: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Layer 3 Troubleshooting Using Ping

Page 23: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Layer 7 Troubleshooting Using Telnet

Page 24: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Layer 1 Using show interfaces Command

The show interfaces serial command

Page 25: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Layer 2 Using show interfaces Command

The show interfaces command is perhaps the single most important tool to discover Layer 1 and Layer 2 problems with the router. The first parameter (line) refers to the physical layer. The second parameter (protocol) indicates whether the IOS processes that control the line protocol consider the interface usable.

Page 26: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Using show cdp neighbors Command

Page 27: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Using show cdp neighbors detail Command

Page 28: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Using traceroute Command

Page 29: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Routing Issues

The show ip route Command

Page 30: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Routing Issues

The show ip protocols Command

Page 31: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Troubleshooting Using show controllers serial Command

The show controllers serial Command

Page 32: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Introduction to debug Debug syntax

Warning: The debug all command should be used sparingly as this can disrupt router operations.

Page 33: 1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.

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

Summary