Checking the Network Connectivity (ping, ping6)
Function
The ping or ping6 command is used to check the network connectivity.
Format
ping <IPv4 Address>
ping6 <IPv6 Address>
Parameters
Parameter |
Description |
Value |
---|---|---|
IPv4 Address |
Indicates the target IPv4 address |
- |
IPv6 Address |
Indicates the target IPv6 address |
- |
Usage Guidelines
For details, see the user guide of the ping or ping6 command in Linux.
Example
# Check the connectivity between the current device and the target device with the IP address.
iBMC:/->ping 192.168.44.178 PING 192.168.44.178 (192.168.44.178) 56(84) bytes of data. 64 bytes from 192.168.44.178: icmp_req=1 ttl=64 time=8.19 ms 64 bytes from 192.168.44.178: icmp_req=2 ttl=64 time=0.398 ms 64 bytes from 192.168.44.178: icmp_req=3 ttl=64 time=0.263 ms 64 bytes from 192.168.44.178: icmp_req=4 ttl=64 time=0.285 ms 64 bytes from 192.168.44.178: icmp_req=5 ttl=64 time=0.418 ms iBMC:/->ping6 fc00::39ad:9345:1a6e:d0e1 PING fc00::39ad:9345:1a6e:d0e1(fc00::39ad:9345:1a6e:d0e1) 56 data bytes 64 bytes from fc00::39ad:9345:1a6e:d0e1: icmp_seq=1 ttl=64 time=0.821 ms 64 bytes from fc00::39ad:9345:1a6e:d0e1: icmp_seq=2 ttl=64 time=0.840 ms 64 bytes from fc00::39ad:9345:1a6e:d0e1: icmp_seq=3 ttl=64 time=0.843 ms 64 bytes from fc00::39ad:9345:1a6e:d0e1: icmp_seq=4 ttl=64 time=0.744 ms 64 bytes from fc00::39ad:9345:1a6e:d0e1: icmp_seq=5 ttl=64 time=0.774 ms 64 bytes from fc00::39ad:9345:1a6e:d0e1: icmp_seq=6 ttl=64 time=1.02 ms