Passing Cisco CCNA And CCNP Exams: Ping And Extended Ping
Posted in Computers on September 12th, 2009 by cahyoI often tell CCNA and CCNP candidates that you do your best learning when you screw something up. I often get a funny look right after I say that, but the only way to develop your Cisco troubleshooting skills – the skills you’ll need to pass your Intro, ICND, and CCNP exams – is by actually fixing configurations. Since your employer will take a dim view of you practicing these skills on his or her network, you better do so on your home lab!
Three essential tools for networking and CCNA/CCNP exam success are ping, extended ping, and traceroute. Today we’re going to take a look at the ping that we’re used to using for LAN issues, and the extended ping.
We’re all familiar with “basic” ping, where you use the ping command followed by the IP address you want to confirm IP connectivity with. When you’ve got connectivity, you will see five exclamation points, as seen here:
R1#ping 172.12.123.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.12.123.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 68/68/72 ms
The default source IP address for ping is the IP address closest to the destination IP address. Other defaults – five ICMP packets will be sent (that’s why you see five exclamation points), and they’re sent two seconds apart.
That’s fine for many basic situations, but as you progress through your networking career and most advanced scenarios in your CCNA / CCNP studies, you will want to change some of these defaults. What could you do if you wanted to send 10,000 pings? What if you needed your router’s loopback address to be the source IP address for the pings? What if you wanted to send them five seconds apart, instead of two?
That’s where extended ping comes in. To use extended ping, just type “ping” and hit enter. (Note that you cannot use extended ping in user exec mode – you must be in enable mode to do so.)
R1>ping
% Incomplete command.
“incomplete command” indicates that the router is waiting for an IP address; you can’t use extended ping in user exec mode.
R1>enable
R1#ping
Protocol [ip]:
Target IP address: 172.16.123.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Read more »