ip sendto
Send UDP packets.
SYNTAX:
ip sendto
addr = <ip-address>
[count = <number{1-1000000}>]
[size = <number{1-20000}>]
[interval = <number{100-1000000}>]
[listen = <{off | on}>]
[srcport = <number{1-65535}>]
dstport = <number{1-65535}>
where:
addr
The destination IP address.
count
A number between 1 and 1000000.
Represents the number of UDP packets to send.
The default is 1.
size
A number between 1 and 20000 (bytes).
Represents the size of the ping packet(s).
The default is 1.
interval
A number between 100 and 10000000 (milliseconds).
Represents the intermediate interval between two sent UDP packets.
The default is 100.
listen
Listen for incoming UDP packets (on) or only send UDP packets (off).
The default is off.
srcport
The UDP source port number to use.
dstport
The UDP destination port number to send to.
EXAMPLE:
=>ip sendto addr=10.0.0.148 listen=on srcport=19 dstport=1025
1 bytes from 10.0.0.148:1025
41
=>ip sendto addr=10.0.0.148 count=3 listen=on srcport=19 dstport=1025
1 bytes from 10.0.0.148:1025
41
1 bytes from 10.0.0.148:1025
41
1 bytes from 10.0.0.148:1025
41
=>
RELATED COMMANDS:
ip ping
E-DOC-CTC-20040907-0010 v1.0
Send ICMP ECHO_REQUEST packets.
A
A
A
A
IP Commands
REQUIRED
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
OPTIONAL
REQUIRED
195