beautypg.com

Ip debug sendto, Introduction, Ip commands – Technicolor - Thomson ST585 V6 User Manual

Page 488: Syntax

background image

E-DOC-CTC-20061027-0004 v1.0

IP Commands

464

ip debug sendto

Send UDP packets.

SYNTAX:

where:

ip debug sendto

addr =
[count = ]
[size = ]
[interval = ]
[listen = <{disabled | enabled}>]
[dffield = <{disabled | enabled}>]
[srcaddr = ]
[srcport = ]
dstport =
[dstintf = ]

addr

The destination IP address.

REQUIRED

count

A number between 1 and 1000000.
Represents the number of UDP packets to send.
The default is

1

.

OPTIONAL

size

A number between 0 and 20000 (bytes).
Represents the size of the ping packet(s).
The default is

1

.

OPTIONAL

interval

A number between 1 and 10000000 (milliseconds).
Represents the intermediate interval between two sent UDP packets.
The default is

100

.

OPTIONAL

listen

Listen for incoming ICMP packets (enabled) or only send ICMP packets
(disabled).
The default is

disabled

.

OPTIONAL

dffield

Enable or disable setting of the don’t fragment flag in the IP headers of
the ping.

OPTIONAL

srcaddr

The IP source address to use.

OPTIONAL

srcport

The UDP source port number to use.

OPTIONAL

dstport

The UDP destination port number to send to.

REQUIRED

dstintf

The IP interface name.
By specifying the destination interface with the dstintf parameter, a direct
send is performed instead of a routed send. This means that the statefull
firewall will be bypassed for the outbound packet. As a result, the
returning icmp packet can not be associated with an existing udp
connection (because there isn’t any) and is legally dropped by the
firewall. To prevent this packet from being dropped, disable the
ICMPchecks and UDPchecks in the firewall configuration.

OPTIONAL