IP Diagnostic Tools
{ping | ping6} [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline] [-p pattern] [-s packetsize] [-t ttl] [-I interface or address] [-M mtu discovery hint] [-S sndbuf] [-T timestamp option ] [-Q tos ] [hop1 ...] destination Sends ICMP echo requests to a specified host. |
||
Syntax Description |
Linux Ping options |
|
Default |
N/A |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
traceroutes |
|
Notes |
traceroute [-46dFITUnrAV] [-f first_ttl] [-g gate,...] [-i device] [-m max_ttl] [-N squeries] [-p port] [-t tos] [-l flow_label] [-w waittime] [-q nqueries] [-s src_addr] [-z sendwait] host [packetlen] Traces the route packets take to a destination. |
||
Syntax Description |
-4 |
Uses IPv4 |
-6 |
Uses IPv6 |
|
-d |
Enables socket level debugging |
|
-F |
Sets DF (do not fragment bit) on |
|
-I |
Uses ICMP ECHO for tracerouting |
|
-T |
Uses TCP SYN for tracerouting |
|
-U |
Uses UDP datagram (default) for tracerouting |
|
-n |
Does not resolve IP addresses to their domain names |
|
-r |
Bypasses the normal routing and send directly to a host on an attached network |
|
-A |
Performs AS path lookups in routing registries and print results directly after the corresponding addresses |
|
-V |
Prints version info and exit |
|
-f |
Starts from the first_ttl hop (instead from 1) |
|
-g |
Routes packets throw the specified gateway (maximum 8 for IPv4 and 127 for IPv6) |
|
-i |
Specifies a network interface to operate with |
|
-m |
Sets the max number of hops—max TTL to be reached (default is 30) |
|
-N |
Sets the number of probes to be tried simultaneously (default is 16) |
|
-p |
Uses destination port. It is an initial value for the UDP destination port (incremented by each probe, default is 33434), for the ICMP seq number (incremented as well, default from 1), and the constant destination port for TCP tries (default is 80) |
|
-t |
Sets the TOS (IPv4 type of service) or TC (IPv6 traffic class) value for outgoing packets |
|
-l |
Uses specified flow_label for IPv6 packets |
|
-w |
Sets the number of seconds to wait for response to a probe (default is 5.0). Non-integer (float point) values allowed too. |
|
-q |
Sets the number of probes per each hop (default is 3) |
|
-s |
Uses source src_addr for outgoing packets |
|
-z |
Sets minimal time interval between probes (default is 0). If the value is more than 10, then it specifies a number in milliseconds, else it is a number of seconds (float point values allowed too). |
|
Default |
N/A |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
ping | ping6 |
|
Notes |
tcpdump [-aAdeflLnNOpqRStuUvxX] [-c count] [ -C file_size ] [ -E algo:secret ] [ -F file ] [ -i interface ] [ -M secret ] [ -r file ] [ -s snaplen ] [ -T type ] [ -w file ] [ -W filecount ] [ -y datalinktype ] [ -Z user ] [ expression ] Invokes standard binary, passing command line parameters straight through. Runs in foreground, printing packets as they arrive, until the user hits Ctrl+C. |
||
Syntax Description |
N/A |
|
Default |
N/A |
|
Configuration Mode |
config |
|
History |
1.5 |
|
Example |
|
|
Related Commands |
||
Notes |