ping

Use the ping command to diagnose IP configuration problems by checking whether the specified IP address is accessible from the node on which the command is run using the specified IP address.

Syntax

ping { -srcip4source_ipv4_address destination_ipv4_address | -srcip6source_ipv6_address destination_ipv6_address }

Parameters

-srcip4source_ipv4_address destination_ipv4_address
(Required if -srcip6 is not specified) Specifies the IPv4 address that sends the ping packet. The IPv4 address must already be bound to a port on the node on which the command is issued. If you do not specify this parameter you must specify srcip6.
-srcip6source_ipv6_address destination_ipv6_address
(Required if -srcip4 is not specified) Specifies the IPv6 address that sends the ping packet. The IPv6 address must already be bound to a port on the node on which the command is issued. If you do not specify this parameter you must specify srcip4.

Description

This command checks whether the specified IP address is accessible from the node on which the command is run using the specified IP address.

Use this command to ping from any port on any node as long as you are logged on to the service assistant on that node.

An invocation example

ping -srcip4 192.168.1.51 192.168.1.30

The resulting output:

PING 192.168.1.51 (192.168.1.51)PING 9.20.136.11 (9.20.136.11) 56(84) bytes of data.
64 bytes from 192.168.1.51: icmp_seq=1 ttl=249 time=0.690 ms
64 bytes from 192.168.1.51: icmp_seq=2 ttl=249 time=0.382 ms
64 bytes from 192.168.1.51: icmp_seq=3 ttl=249 time=0.311 ms

PING 192.168.1.30 (192.168.1.30)PING 9.20.136.11 (9.20.136.11) 56(84) bytes of data.
64 bytes from 192.168.1.30: icmp_seq=1 ttl=249 time=0.690 ms
64 bytes from 192.168.1.30: icmp_seq=2 ttl=249 time=0.382 ms
64 bytes from 192.168.1.30: icmp_seq=3 ttl=249 time=0.311 ms