background image
386
Chapter 7
Managing a Cisco Internetwork
Checking Network Connectivity
Y
ou can use the ping and traceroute commands to test connectivity to
remote devices. Both commands can be used with many protocols, not just IP.
Using the Ping Command
In this chapter, you've seen many examples of pinging devices to test IP con-
nectivity and name resolution using the DNS server. To see all the different pro-
tocols that you can use with ping, use the ping ? command, as shown below.
Todd2509#ping ?
WORD Ping destination address or hostname
apollo Apollo echo
appletalk Appletalk echo
clns CLNS echo
decnet DECnet echo
ip IP echo
ipx Novell/IPX echo
srb srb echo
tag Tag encapsulated IP echo
vines Vines echo
xns XNS echo
<cr>
The ping output displays the minimum, average, and maximum times it
takes for a Ping packet to find a specified system and return. Here is another
example of its use:
Todd2509#ping todd2509
Translating "todd2509"...domain server (192.168.0.70)[OK]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.121, timeout
is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max
= 32/32/32 ms
Todd2509#
You can see that the DNS server was used to resolve the name and the
device was pinged in 32ms (milliseconds).
Copyright ©2002 SYBEX, Inc., Alameda, CA
www.sybex.com