ping
Use the ping command to diagnose IP configuration problems. The command checks whether the specified IP address is accessible from the node on which the command is run by using the specified IP address.
Syntax
Parameters
- -srcip4 source_ipv4_address destination_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.The source address must be in IPv4 format. The destination address can either be IPv4 format or a fully qualified domain name (FQDN) (max 256 characters). If you do not specify this parameter, you must specify srcip6.
- -srcip6 source_ipv6_address destination_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.The source address must be in IPv6 format. The destination address can either be IPv6 format or a fully qualified domain name (FQDN) (max 256 characters). 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 by using the specified IP address.
Use this command to ping from any port on any node when 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