Google

Thursday, February 21, 2008

The Ping Command

Checks for layer 3 connectivity with machine .

Router#ping ipaddress

or more Options
Router#ping

Possible ping output

!- Successful receipt of a reply

. -Time out

U-Destination unreachable

Q-destination too busy

M- Could not fragment

?-Unknown packet type

&-Packet lifetime exceeded

Example

Ping through IP address
Router#ping 192.168.0.1

Ping through IP host name
Router#ping remote

Extended Ping mode

Router#ping 192.168.0.1

Protocol [ip]:

Target IP address: 192.168.0.1

Repeat count [5]:100

Datagram size [100]:

Timeout in Seconds [2]:

Extended commands [n]: yes

Source address or interface: 10.0.10.1

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 [no]:

Type escape sequence to abort Sending 100, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Success rate is 100 percent (100/100) round- trip min/avg/max = 1/1/4 ms





0 comments:


Free chat widget @ ShoutMix
Business Affiliate ProgramsSalePersonalsAdvertisingShopping