™
Passing Cisco CCNA And CCNP Exams: Ping And Prolonged Ping
I usually explain to CCNA and CCNP candidates you do your best Understanding after you screw something up. I normally get a amusing look correct after I state that, but the only real solution to establish your Cisco troubleshooting capabilities – the skills you’ll should move your Intro, ICND, and CCNP tests – is by actually fixing configurations. Since your employer will take a dim view of you working towards these skills on his / her community, you improved achieve this on your own home lab!
A few important resources for networking and CCNA/CCNP Examination success are ping, prolonged ping, and traceroute. Nowadays we’re planning to take a look at the ping that we’re accustomed to employing for LAN problems, and the prolonged ping.
We’re all familiar with “primary” ping, where you utilize the ping command accompanied by the IP deal with you would like to validate IP connectivity with. Once you’ve obtained connectivity, you will see five exclamation details, as observed in this article:
R1#ping 172.12.123.2
Type escape sequence to abort.
Sending five, 100-byte ICMP Echos to 172.12.123.two, timeout is two seconds:
!!!!!
Good results charge is 100% https://socialhattori.com/ (5/5), spherical-excursion min/avg/max = 68/sixty eight/72 ms
The default supply IP handle for ping may be the IP tackle closest into the vacation spot IP handle. Other defaults – 5 ICMP packets will probably be despatched (that’s why the thing is five exclamation details), they usually’re sent two seconds aside.
That’s fine For several standard circumstances, but when you progress by means of your networking career and many Superior scenarios inside your CCNA / CCNP studies, you will need to improve some of these defaults. What could you do if you desired to ship 10,000 pings? Let's say you needed your router’s loopback tackle to be the resource IP address for that pings? Imagine if you wanted to ship them 5 seconds aside, as an alternative to two?
That’s wherever extended ping is available in. To work with extended ping, just sort “ping” and hit enter. (Note that You can not use prolonged ping in consumer exec manner – you need to be in permit manner to do so.)
R1>ping
% Incomplete command.
“incomplete command” indicates which the router is expecting an IP tackle; you can’t use prolonged ping in consumer exec manner.
R1>allow
R1#ping
Protocol [ip]:
Target IP handle: 172.sixteen.123.1
Repeat rely [five]: 1000
Datagram dimension [one hundred]:
Timeout in seconds [two]:
Prolonged commands [n]: y
Supply handle or interface: loopback0
Variety of services [0]:
Set DF bit in IP header? [no]:
Validate reply knowledge? [no]:
Info pattern [0xABCD]:
Free, Rigorous, History, Timestamp, Verbose[none]:
Sweep variety of sizes [n]:
Sending one thousand, 100-byte ICMP Echos to 172.16.123.one, timeout is 2 seconds:
Packet despatched which has a supply address of 1.one.one.1
…………………………………
In this instance, I sent one thousand ICMP packets to an handle that doesn’t exist, so I am having periods as opposed to exclamation details. This illustration demonstrates you the numerous possibilities you've with prolonged ping.
Since I’ve sent All those 1000 pings, Enable’s mention that I would like to stop that process. At the beginning of The essential ping output, the thing is this phrase: