Sends ICMP ECHO packets to hosts to determine whether they are
active. Same as the PING command.
Format
LOOP [ host ]
[ /ADDRESS=xx.xx.xx.xx ]
[ /ALL ]
[ /FULL ]
[ /NUMBER_PACKETS=n ]
[ /PACKET_SIZE=n ]
[ /PATTERN="hexadecimal-string" ]
[ /[NO]ROUTE ]
[ /WAIT=n ]
1 – Parameters
host
Optional. Default: None.
Specifies the host to which the test packets are sent. Omitting
the host parameter and the /ADDRESS qualifier tests the TCP/IP
Services software on the local node, as defined by the system
logical TCPIP$INET_HOST.
2 – Qualifiers
2.1 /ADDRESS
/ADDRESS=xx.xx.xx.xx
Optional.
Specifies the IP address of the host to which the test packets
are sent.
2.2 /ALL
Optional. Default: Not all requests.
Displays all ICMP ECHO_REQUESTs, even if not in direct response
to this operation.
2.3 /FULL
Optional.
Numeric output only. No attempt is made to look up symbolic names
for host addresses. This occurs only when displaying ICMP packets
other than ECHO_RESPONSE.
2.4 /NUMBER_PACKETS
/NUMBER_PACKETS=n
Optional. Default: 4 packets
Specifies the number of packets to send. If you specify 0,
packets are sent continuously until you terminate the LOOP
command with Ctrl/C.
2.5 /PACKET_SIZE
/PACKET_SIZE=n
Optional. Default: 64 bytes.
Specifies the size of the ICMP ECHO_REQUEST.
2.6 /PATTERN
/PATTERN=hexadecimal-string
Optional.
Fills out the packet you send with up to 16 bytes, which is
useful for diagnosing data-dependent problems. The hexadecimal-
string is a string of hexadecimal digits of up to 32 characters
(16 bytes).
For example, /PATTERN="ff" causes the sent packet to be filled
with ones (1).
2.7 /ROUTE
/ROUTE
/NOROUTE
Optional. Default: /ROUTE.
/ROUTE Request is routed through the normal routing tables.
/NOROUTE Normal routing tables are bypassed.
If the host is not on the LAN, you get an error.
2.8 /WAIT
/WAIT=n
Optional.
Specifies the number of seconds to wait between sending packets.
3 – Examples
1.TCPIP> LOOP thrush
Tests the connectivity path to UNIX host thrush.
2.TCPIP> LOOP
Tests the local TCP/IP Services software.
3.TCPIP> LOOP /NOROUTE thrush
Tests the path to the UNIX host thrush without using normal
routing tables.