Sends ICMP ECHO packets to hosts to determine whether they are active. Same as the LOOP command. Format PING [ host ] [ /ADDRESS=xx.xx.xx.xx ] [ /ALL ] [ /FULL ] [ /NUMBER_PACKETS=n ] [ /PACKET_SIZE=n ] [ /PATTERN="hexadecimal-string" ] [ /[NO]ROUTE ] [ /WAIT=n ]
1 – Parameters
host Specifies the host to which the test packets are sent. Omitting host 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 it 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 string is a hexadecimal string 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> PING dented Specifies that the local host test the connectivity path to host dented.