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

Page 197

Advertising
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 = <ip-address>

[count = <number{1-1000000}>]

[size = <number{0-20000}>]

[interval = <number{100-1000000}>]

[listen = <{disabled|enabled}>]

[dffield = <{disabled|enabled}>]

[srcaddr = <ip-address>]

Parameter

Value

Description

addr

<ip-address>

The destination IP address.

count

<number{1-1000000}>

The number of pings to send.

size

<number{0-20000}>

The size of the ping payload(s).

interval

<number{100-1000000}

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

<ip-address>

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

Advertising