|
Home / Culture and Society / Education
Passing Cisco's CCNA And CCNP Exams: Ping And Extended Ping
By:Chris Bryant, CCIE #12933
I 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]:
Extended commands [n]: y
Source address or interface: loopback0
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 172.16.123.1, timeout is 2 seconds:
Packet sent with a source address of 1.1.1.1
.......................................
In this example, I sent 1000 ICMP packets to an address that doesn't exist, so I am getting periods instead of exclamation points. This illustration shows you the many options you have with extended ping.
Now that I've sent those 1000 pings, let's say that I want to stop that process. At the beginning of the basic ping output, you see this phrase:
Type escape sequence to abort.
This escape sequence works for ping, extended ping, and traceroute. Funny thing, though - Cisco doesn't tell you what the escape sequence is! One day, this will really come in handy. The escape sequence is , TWICE in rapid succession.
After I used it in this example, the pings stopped and I got this message:
Success rate is 0 percent (0/192)
The ping stopped after 192 ICMP packets were sent.
This keystroke takes a little practice, so practice it in your home lab.
Knowing how to use extended ping will really come in handy on your CCNA and CCNP exams as well as your real-life networking job, and knowing how to stop an extended ping will as well!
Digg
del.icio.us
Blink
Stumble
Spurl
Reddit
Netscape
Furl
Article keywords: ccna, free, cisco, ccnp, exam, ping, pass, exam, icnd, intro, 640-801, 640-811, 640-821, chris, bryant, advantage, ccie, extended, nat, icmp
Article Source: http://www.articles2k.com
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (www.thebryantadvantage.com), home of FREE CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages. Video courses and training, binary and subnetting help, and corporate training are also available.
For a FREE copy of his latest e-books, "How To Pass The CCNA" or "How To Pass The CCNP", send a request to chris@thebryantadvantage.com today !
|
|
| Top Education Articles |
|
|
- 2). Goku & Friends: The Invasion of Dragon Ball Z By : Dave Carter
Dragon Ball Z is an anime show that has gone from cult following to smash sensation in the United States. What started out as a cult following among high school and college students has spread to enjoy a more mainstream popularity among these younger groups, while continuing to expand through other demographics. A Japanese creation, this show in many ways opened the door for others to follow.
|
- 3). Intonation In English: Nouns And Adjectives Are Stressed Differently Than Verbs By : Frank Gerace
Listen and Learn: Nouns and Adjectives one way; Verbs another
Chinese has "tones" but all languages have their own special intonation. The "music" of a language is its intonation and it is perhaps the most important element of a correct accent.
A "ggod" accent is not only a question of good pronunciation. Many people think that pronunciation is what makes up an accent.
|
- 4). V3 Screen Printing By : Mike Pedretti
Everywhere around logos, designs and art shows up and comes out of the woodwork using a modernized version of an older technology. Screen printing is a helpful way to expose a company name and/or logo to the public. Screen printing originally started out using silk as a medium but has since moved on to using stretched porous, finely woven nylon or polyester fabrics, with carefully stenciled designs, and delightful creations take form and come to life.
|
- 5). The Challenges of teaching math today By : Robert D.
During my years of teaching I’ve been wondering what to do to improve math education. My own teaching philosophy is simple, but throughout the years it has proven to be effective. While the groups I have taught have been diverse, there are certain consistencies in their responses, particularly, students appreciate a clear and sound explanation of a difficult concept, and experience the greatest growth when they have the chance to express themselves by asking any questions they might have and feel comfortable in class.
|
- 6). How To Teach Art And Drama In Schools By : Simon Oliver
Let’s face it, arts and drama are considered extra-curricular activities when we think of what we expect to learn in school. In fact, arts and drama usually fall in line with extra-curricular activities, which are deemed by most as not as important as learning science, English or math. The indifference to arts and drama may have been brought about by the super high technology lifestyles that we lead.
|
- 7). Importance of Reading By : Tyler Benson
What is the best way to spend free time? There can be so many different answers to this question. That depends on the preferences of a person. If you are lively and active, you may spend time outdoors or doing sports, if you are sociable, you may enjoy holding a party and communicating with various interesting celebrities. Some of us get so tired of the noise than wait till a nice evening to tackle in and read a nice book to relax or to learn something new or to get to the new world of wonders and travel in it, forgetting about the reality.
|
|
|
- 9). Panj-aab: My brethren please listen to us. By : Dinesh singh
Where water (aab) is means name, language, land, arts and culture. There water makes merry go, that land is called Punjab. The land of five sisters
1. Beas (ancient name Vipasha)
2. Chenab(ancient name Askini,)
3. Jhelam (ancient name Vitasta)
4. Ravi (ancient name Irawati,)
5. satluj (ancient name Shatadru) All these five sisters take birth in high and hygiene Himalayas, and then play in open fields of Punjab, making this land of warriors full of joys.
|
- 10). These complicated graduate studies. By : Chris Wells
For every student, whether he is an undergraduate or graduate it is imperative, almost indispensable to turn to the help of other persons, to use their knowledge, skills and experience. Certainly, if you are working on your dissertation, it might be advisable to do the same. This dissertation help program should comprise several elements. The first element is the organizing of your dissertation.
|
| New Education Articles |
|
|
|
|
- 3). How To Memorize Words By : Michael Gabrikow
The following article will try to present some of these methods that could help you learn how to memorize words faster when learning a foreign language.
|
|
|
- 5). Getting Into Graduate School By : Lisa Parmley
The GRE General Test is the most widely accepted college admission exam for graduate school. This test strives to measure the knowledge that test takers have gained over long periods of time (like through their undergraduate programs).
|
- 6). The Challenges of teaching math today By : Robert D.
During my years of teaching I’ve been wondering what to do to improve math education. My own teaching philosophy is simple, but throughout the years it has proven to be effective. While the groups I have taught have been diverse, there are certain consistencies in their responses, particularly, students appreciate a clear and sound explanation of a difficult concept, and experience the greatest growth when they have the chance to express themselves by asking any questions they might have and feel comfortable in class.
|
- 7). The History of Crossword Puzzles By : Fran Black
The first book of crosswords was published in 1924. It became a best-seller and crosswords replaced mahjongg as the most popular American game. Crossword puzzle design and solving is an excellent way to sharpen focus. Regardless of whether design and or solve numerous crossword puzzles, you will learn one more way to enhance memory and creative expression.
|
- 8). Dragons Through History By : Fran Black
The Dragon has played an important part in myths and religions since pre-historic times. The history of dragons goes back at least six thousand years, and there are dragon tales and legends from every continent except Antarctica. In almost every culture, and all throughout history, there are stories of these mythical and magical creatures called dragons.
|
- 9). Forcible Rape Defense; False Accusations in Relationship and Date Rape Cases By : William F. Nimmo
Forcible rape and attempted forcible rape between people who know each other, either casually or well, make up a sizeable percentage of the false accusations in the criminal justice system. The cry of rape or abuse is a familiar cry when a relationship goes sour or when a woman has second thoughts after a night of sex or near intimacy. While there are certainly legitimate claims of rape and attempted rape in the world, from the defendant’s perspective there are good reasons to view each claim with skepticism.
|
- 10). Criminal Defense Lawyers: Reducing Murder to Manslaughter By : William F. Nimmo
Reducing murder to manslaughter is a task that presents itself in many murder cases. Depending on your state or jurisdiction you may be able to reduce murder to manslaughter by eliminating the element of “malice.” Classically, this is where the defendant acts by being provoked into a sudden quarrel or into a state of mind known as the “heat of passion.
|
|
|