| Author |
Question about ping and trace
|
|
|
| I was taking a practice test and got a couple questions about ping and trace. It was asking what prompts were given when hosts were unreachable, timeouts etc. I looked in Lammles book and couldn't find it anywhere. Could someone help please | |
| dmaftei 2001-06-12, 8:35 am |
| The codes must be posted somewhere on Cisco's site (www.cisco.com). Search for "ping codes", and see what you get. You'll need a lot of patience to sift through the results.
Cheers! | |
|
| Unreachable is a U
Timeout is just a . | |
| Trouble Man 2001-06-12, 3:09 pm |
| There are also more than just that:
U is if the host is unreachable
N is if the network is unreachable
. is a timeout
! means you got 'em
There is also another one you see if it is blocked by a firewall. It's like :H or :A but I don't remember of the top of my head. I'll get back to you on this. | |
|
| at what promt are you able to ping an address | |
| Wavy Davy 2001-06-12, 10:47 pm |
| Here are all the ping command codes and meanings:
! ICMP echo received
. Nothing received
u ICMP unreachable (destination)
N ditto (network)
P ditto (port)
Q ICMP source Quench received
M ICMP can not fragment message
? Unknown packet
Hope that fills in all the gaps,
Ciao,
Wavy | |
| Trouble Man 2001-06-13, 12:02 pm |
| I just looked up my reference from before.
!H is if the trace probe was not forwarded because of an access-list.
Now this is interesting...
My source (transcender) disagrees with Wavy Davy on P.
It say P is what you get if the protocol was unreachable.
I don't know which is right. Transcender says to look at ICND, chpt 4, pages 123-124. I guess that's the CiscoPress book, but I'm not sure. | |
| BlueBaron 2001-06-13, 3:49 pm |
| Here is everything you ever wanted to know about Ping and Trace:
Ping white paper
BTW, I obtained this by:
1) go to cisco.com
2) search for "ping output"
3) it's the the second result down | |
|
| ping code P according to Wendell Odom is ICMP port unreachable. Sorry if I am backtracking.
Thanks for the help guys. | |
| Wavy Davy 2001-06-13, 5:10 pm |
| Thanx Blue Baron for the link. In the Wendell book p283 it states ping command code P is ICMP unreachable port received, however in the Cisco link above the P command is not listed (but it is in Wendell). Browsing further down I see that for the traceroute command P is like Trouble Man states, Protocol unreachable. Looks like there might be different output meaning to ping and traceroute. Any more feedback anyone?
Ciao,
Wavy | |
| Trouble Man 2001-06-13, 11:39 pm |
| I think that between all of us we covered it. And the transcender question I was quoting from was about trace. So you had it right P for ping and I had the right P for trace. It reminds me of the old BDP song "The P is free." Anybody remember that one? For those who don't, it's an old (mid 80's) rap song. | |
| Wavy Davy 2001-06-14, 12:28 am |
| Glad we rapped that one up together- if you don't mind the pun 
Ciao,
Wavy!! |
|
|
|