26 1 new router troubleshooting new
TRANSCRIPT
-
8/14/2019 26 1 New Router Troubleshooting NEW
1/35
Basic Router Troubleshooting
Hetal Presswala
August 09, 2008
-
8/14/2019 26 1 New Router Troubleshooting NEW
2/35
2 - Confidential
2 - Confidential
Objectives
One of the primary functions of a router is to determine thebest path to a given destination.
A router learns paths, also called routes, from anadministrator's configuration or from other routers by way ofrouting protocols
This module will describe methods for examining andinterpreting the contents of the routing table
Network testing and troubleshooting are perhaps the most timeconsuming components of every network administrators job.
Efficient testing and troubleshooting must be done in a logical,orderly, and well-documented fashion
This module will introduce several of the most important ofthese tools and provide practice in their use.
-
8/14/2019 26 1 New Router Troubleshooting NEW
3/35
3 - Confidential
3 - Confidential
The show ip route Command
The show ip route command displays the contentsof the IP routing table.
-
8/14/2019 26 1 New Router Troubleshooting NEW
4/35
4 - Confidential
4 - Confidential
Dublin# show ip route
Codes, howthe routes
were learnt
Networks beingadvertised
Administrative
Distance
Metric
NextHop
Timesince
lastupdate
Out
interface
Examining the Routing Table
-
8/14/2019 26 1 New Router Troubleshooting NEW
5/35
5 - Confidential
5 - Confidential
Static Vs Dynamic Routes
-
8/14/2019 26 1 New Router Troubleshooting NEW
6/35
6 - Confidential
6 - Confidential
Static Vs Dynamic Cont
-
8/14/2019 26 1 New Router Troubleshooting NEW
7/35
-
8/14/2019 26 1 New Router Troubleshooting NEW
8/358 - Confidential8 - Confidential
How to Configure Default Route
Alternatively use the default network command
Router(config)# ip default-network 172.16.1.2
-
8/14/2019 26 1 New Router Troubleshooting NEW
9/359 - Confidential9 - Confidential
Determining Route Source and Destination
-
8/14/2019 26 1 New Router Troubleshooting NEW
10/3510 - Confidential10 - Confidential
Routing Role of Layer 2 and Layer 3 Addressing
Hop Source MAC Destination MAC Source IP Destination IP
1
2
3
192.168.1.5 192.168.3.10 00:ac:2d:34:56:11 00:01:46:26:23:a4
00:01:46:26:23:a4 00:04:24:98:55:44
00:04:24:98:55:4400:2a:3b:3c:a4:33
192.168.1.5 192.168.3.10
192.168.1.5 192.168.3.10
-
8/14/2019 26 1 New Router Troubleshooting NEW
11/3511 - Confidential11 - Confidential
Determining Administrative Distance
AD measures the trustworthiness of the source of the route
information.
The lower the AD, the more trustworthy the source.
Different routing protocols have different default ADs.
When there are two paths available to a destination the path with the
lowest AD is usedin the routing table.
-
8/14/2019 26 1 New Router Troubleshooting NEW
12/3512 - Confidential12 - Confidential
Determining the Route Metric
Routing algorithms generate a number, called the metric value, for each
path through the network .
The metric value is used to determine the best route to a destination.
The various protocols base their metrics on different factors:
-
8/14/2019 26 1 New Router Troubleshooting NEW
13/3513 - Confidential13 - Confidential
Viewing the Routing Table
Use the following commands to find the lastrouting update:
show ip route
show ip route network show ip route connected show ip route static
show ip protocols show ip rip database
-
8/14/2019 26 1 New Router Troubleshooting NEW
14/3514 - Confidential14 - Confidential
Show ip route Command
-
8/14/2019 26 1 New Router Troubleshooting NEW
15/3515 - Confidential15 - Confidential
Introduction to Network Testing
-
8/14/2019 26 1 New Router Troubleshooting NEW
16/3516 - Confidential16 - Confidential
Structured Approach to Troubleshooting
-
8/14/2019 26 1 New Router Troubleshooting NEW
17/3517 - Confidential17 - Confidential
Broken cables Disconnected cables
Cables connected to the wrongports 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
-
8/14/2019 26 1 New Router Troubleshooting NEW
18/3518 - Confidential18 - Confidential
Layer 1 Troubleshooting using show interfaces
BHM#show interface s0
Serial0 is up, line protocol is up
< output omitted >
Last clearing of "show interface" counters never< output omitted >
Received 73 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0
abort
135 packets output, 7361 bytes, 0 underruns
0 output errors, 0 collisions, 37 interface resets0 output buffer failures, 0 output buffers swapped out
54 carrier transitions
Physical layer (linestatus)Up: has Layer 1connectivityDown: L1 problem
Administrativelydown: disabled
Faultyhardware,
cable ornoise
Bad line,badhardware
To reset: BHM# clearcounters
Lineinterruption
s, faultyhardware
-
8/14/2019 26 1 New Router Troubleshooting NEW
19/3519 - Confidential19 - Confidential
Layer 1 Troubleshooting using show interfacesThe show interfaces serial command
-
8/14/2019 26 1 New Router Troubleshooting NEW
20/3520 - Confidential20 - Confidential
Layer 1 Troubleshooting show controllers
show controllers serial 0
HD unit 0, idb = 0x1086D4, driver structure at 0x10E568
buffer size 1524 HD unit 0, V.35 DCE cable, clockrate 56000
Router#
-
8/14/2019 26 1 New Router Troubleshooting NEW
21/3521 - Confidential21 - Confidential
Troubleshooting Using show controllers serialThe show controllers serial Command
-
8/14/2019 26 1 New Router Troubleshooting NEW
22/3522 - Confidential22 - Confidential
Improperly configured serialinterfaces
Improperly configured Ethernetinterfaces
Improper encapsulation set Improper clock rate settings on
serial interfaces
Network interface card (NIC)problems
Typical Layer 2 Errors
-
8/14/2019 26 1 New Router Troubleshooting NEW
23/3523 - Confidential23 - Confidential
Troubleshooting Using show cdp neighbors
-
8/14/2019 26 1 New Router Troubleshooting NEW
24/3524 - Confidential24 - Confidential
Troubleshooting Using show cdp neighborstail
-
8/14/2019 26 1 New Router Troubleshooting NEW
25/35
25 - Confidential25 - Confidential
Layer 2 Troubleshooting show interfaces
If the interface is up and the line protocol is down, a Layer 2 problem exists.
Among the possible causes are:
No keepalives ,No clock rate ,Mismatch in encapsulation type
BHM# show interface serial 0
Serial0 is up, line protocol is up
Hardware is HD64570
Internet address is 172.17.0.2/16
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/25Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input 00:00:01, output 00:00:00, output hang never
Last clearing of "show interface" counters never
< output omitted >
Data-Link layer (up ordown)Are keepalives beingreceived?
Encapsulation mustmatch at both ends of
connection
-
8/14/2019 26 1 New Router Troubleshooting NEW
26/35
26 - Confidential26 - Confidential
Layer 2 Troubleshooting
If the interface is up and the line protocol is down, aLayer 2 problem exists.
Indicates whether the IOS processes consider the
interface usable.
Keepalives are defined as messages sent by one network
device to inform another network device that the virtual
circuit between the two is still active
If the interface misses three consecutive keepalives, line
protocol is down
When the line is down, the protocol is always down
-
8/14/2019 26 1 New Router Troubleshooting NEW
27/35
27 - Confidential27 - Confidential
Show interfaces Command
-
8/14/2019 26 1 New Router Troubleshooting NEW
28/35
28 - Confidential28 - Confidential
Routing protocol not enabled
Wrong routing protocol enabled
Incorrect IP addresses
Incorrect subnet masks
Typical Layer 3 Problem
-
8/14/2019 26 1 New Router Troubleshooting NEW
29/35
29 - Confidential29 - Confidential
Layer 3 Troubleshooting Using Ping
-
8/14/2019 26 1 New Router Troubleshooting NEW
30/35
30 - Confidential30 - Confidential
Ping
ping ScopeDelhiType escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2
seconds:
..!!!
Success rate is 60 percent (3/5),
round-trip min/avg/max = 32/33/36 ms
! indicate asuccessful echo
. indicate theapplication timed outwaiting for an echo
vista#
Extended ping
provides extra facilities for ping
-
8/14/2019 26 1 New Router Troubleshooting NEW
31/35
31 - Confidential31 - Confidential
Troubleshooting Using traceroute Command
Test on a hop-by-hop basis Each time is the RTT
-
8/14/2019 26 1 New Router Troubleshooting NEW
32/35
32 - Confidential32 - Confidential
Troubleshooting Routing IssuesThe show ip route Command
-
8/14/2019 26 1 New Router Troubleshooting NEW
33/35
33 - Confidential33 - Confidential
Troubleshooting Routing IssuesThe show ip protocols Command
-
8/14/2019 26 1 New Router Troubleshooting NEW
34/35
34 - Confidential34 - Confidential
Layer 7 Troubleshooting Using Telnet
-
8/14/2019 26 1 New Router Troubleshooting NEW
35/35