user manual
5 IP Commands
99 / 138
3EC 16982 AGAA TCZZA Ed. 01
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}>
addr The destination IP address. REQUIRED
[count] A number between 1 and 1000000.
Represents the number of UDP packets to send.
OPTIONAL
[size] A number between 1 and 20000 (bytes).
Represents the size of the ping packet(s).
OPTIONAL
[interval] A number between 100 and 10000000 (milliseconds).
Represents the intermediate interval between two sent UDP packets.
OPTIONAL
[listen] Listen for incoming UDP packets (on) or only send UDP packets (off). OPTIONAL
[srcport] The UDP source port number to use. OPTIONAL
dstport The UDP destination port number to send to. REQUIRED
EXAMPLE:
=>ip sendto addr=10.0.0.148 listen=on srcport=19 dstport=1025
=>ip sendto addr=10.0.0.148 listen=on srcport=19 dstport=1025
1 bytes from 10.0.0.148:1025
41 A
=>ip sendto addr=10.0.0.148 count=3 listen=on srcport=19 dstport=1025
1 bytes from 10.0.0.148:1025
41 A
1 bytes from 10.0.0.148:1025
41 A
1 bytes from 10.0.0.148:1025
41 A
=>
RELATED COMMANDS:
ip ping Send ICMP ECHO_REQUEST packets.