Atlantis Land A02-RA(Atmos)_ME01 portname, 10.27.2Description, 10.27.3Example, 10.28.1Syntax

Models: A02-RA(Atmos)_ME01

1 112
Download 112 pages 14.35 Kb
Page 88
Image 88

10.27.2Description

Sends an ICMP Echo message to the specified IP address.

<ttl> (default 30) is the TTL (time-to-live) to use. A crude traceroute functionality can be obtained by repeating the ping. command with increasing TTL values, starting with 1.

<size> (default 56) is the data size of the Echo message. This does not include the IP header (20 bytes) and the ICMP header (8 bytes).

ATMOS TCP/IP waits 10 seconds for a reply to the message; if none arrives, it reports the lack of a reply (and returns the TELL message, or redisplays the prompt). Any reply arriving after this time-out will be reported as a background message. (Whereas a reply arriving before the time-out expires is, of course, reported in the foreground.)

A reply is an ICMP Echo Reply message, or an ICMP error message reporting destination unreachable, time exceeded, or (as should never happen) a parameter problem. ICMP redirect and source quench messages are reported, but ATMOS TCP/IP continues to wait for a final reply or time-out.

10.27.3Example

mymachine> ip ping 192.168.4.13 1

ip: ping - 192.168.1.9 reports time-to-live exceeded mymachine> ip ping 192.168.4.13 2

ip: ping - reply received from 192.168.4.13 mymachine> ip ping 192.168.77.77

ip: ping - no reply received

10.28 portname

10.28.1Syntax

portname add <name> <number>[/<protocol>] portname flush

portname list portname read <file> portname help [all<cmd>]

10.28.2Description

Sets up a mapping between a UDP or TCP port and a symbolic name; deletes all such mappings; lists the mappings; reads the mappings from a file; or displays help on the “portname” command.

The symbolic names can be used as values of the attributes LPORT and RPORT (described in the ATMOS TCP/IP Functional Specification, DO-007285-PS)

Page 88
Image 88
Atlantis Land A02-RA(Atmos)_ME01 manual portname, 10.27.2Description, 10.27.3Example, 10.28.1Syntax, 10.28.2Description