Alcatel Carrier Internetworking Solutions 350I manual ip sendto, Send UDP packets SYNTAX, Example

Models: 350I

1 138
Download 138 pages 18.92 Kb
Page 99
Image 99
ip sendto

5 IP Commands

ip sendto

Send UDP packets.

SYNTAX:

ip sendto

addr = <ip-address>

 

 

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

 

 

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

 

 

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

 

 

[listen = <{offon}>]

 

 

[srcport = <number{1-65535}>]

 

 

dstport = <number{1-65535}>

 

 

 

 

addr

The destination IP address.

REQUIRED

[count]

A number between 1 and 1000000.

OPTIONAL

 

Represents the number of UDP packets to send.

 

[size]

A number between 1 and 20000 (bytes).

OPTIONAL

 

Represents the size of the ping packet(s).

 

[interval]

A number between 100 and 10000000 (milliseconds).

OPTIONAL

 

Represents the intermediate interval between two sent UDP packets.

 

[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.

3EC 16982 AGAA TCZZA Ed. 01

 

99 / 138

 

 

 

Page 99
Image 99
Alcatel Carrier Internetworking Solutions 350I ip sendto, Send UDP packets SYNTAX, Example, Related Commands, ip ping