beautypg.com

Ip diagnostics, The ping command, Chapter 11 – Technicolor - Thomson Wireless Business DSL Routers SpeedTouchTM620 User Manual

Page 197

background image

Chapter 11

SpeedTouch™ Advanced Diagnostics

E-DOC-CTC-20051017-0155 v1.0

187

IP Diagnostics

There are two useful commands:

ping:

Send IGMP ECHO_REQUEST packets to a given destination

traceroute:

Send ICMP/UDP packets to trace the ip path.

Each of these can be given from the root of the CLI, as well as from any other place
in any command group.

The Ping Command

The Ping command has the following syntax:

It uses the following parameters:

Example

Below is an example of a ping command and its reply:

ping addr =

[count = ]

[size = ]

[interval = ]

[listen = <{disabled|enabled}>]

[dffield = <{disabled|enabled}>]

[srcaddr = ]

Parameter

Value

Description

addr

The destination IP address.

count

The number of pings to send.

size

The size of the ping payload(s).

interval

The interval in milliseconds between
packets.

listen

<{disabled|enabled}>

Don't send, just listen for incoming
ICMP packets.

dffield

<{disabled|enabled}>

Enables setting of the don't fragment
flag in the IP headers of the ping

srcadr

The IP source address to use.

{Administrator}=>ping addr 192.168.1.60

40 bytes from 192.168.1.60: icmp_id = 2, icmp_seq=0 time=962 us

40 bytes from 192.168.1.60: icmp_id = 2, icmp_seq=1 time=866 us

40 bytes from 192.168.1.60: icmp_id = 2, icmp_seq=2 time=757 us

40 bytes from 192.168.1.60: icmp_id = 2, icmp_seq=3 time=742 us

40 bytes from 192.168.1.60: icmp_id = 2, icmp_seq=4 time=753 us