Справочник Пользователя для Alcatel-Lucent speedtouch 500

Скачать
Страница из 422
214
IP Commands
ip sendto
Send UDP packets.
SYNTAX:
EXAMPLE:
RELATED COMMANDS:
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 (default) and 1000000.
Represents the number of UDP packets to send.
OPTIONAL
size
A number between 1 (default) and 20000 (bytes).
Represents the size of the ping packet(s).
OPTIONAL
interval
A number between 100 (default) 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). Default is off.
OPTIONAL
srcport
The UDP source port number to use.
OPTIONAL
dstport
The UDP destination port number to send to.
REQUIRED
=>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
=>
Send ICMP ECHO_REQUEST packets.