ping Exec Command
ping CISCO Switch Command in Linux
Explanation
Ping command is used to check whether the given remote IP is active or inactive.
Usage:
ping
Example:
HSCRIPTS#ping 192.168.0.150Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.150, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Let us check for the inactive IP,
HSCRIPTS#ping 192.168.0.149Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.149, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)