Continuous PING

Latest reply: Jun 25, 2018 13:11:47 6532 7 0 0
Is it possible to set a continuous ping running on a CE switch?


I don't see an option below..

<SWITCH-1> ping ?
  -a             Select a source IP address
  -c             Specify the number of echo requests to be sent. The default is
                 5
  -d             Specify the SO_DEBUG option on the socket being used
  -f             Set the Don't Fragment flag in packet (IPv4-only)
  -h             Specify TTL value for echo requests to be sent. The default is
                 255
  -i             Select the interface sending packets
  -m             Time in milliseconds to wait for sending next packet. The
                 default is 500 ms
  -p             No more than 8 "pad" hexadecimal characters to fill out the
                 sent packet. For example, -p f2 will fill the sent packet with
                 f and 2 repeatedly
  -q             Quiet output. Nothing is displayed except the summary lines at
                 startup time and when finished
  -r             Record route. Includes the RECORD_ROUTE option in the
                 ECHO_REQUEST packet and displays the route
  -s             Specify the number of data bytes to be sent. The default is 56
                 bytes
  -system-time   Display the sending time of echo request packets
  -t             Timeout in milliseconds to wait for each reply. The default is
                 2000 ms
  -tos           Specify TOS value for echo requests to be sent
  -v             Verbose output. ICMP packets other than ECHO_RESPONSE those are
                 received are listed
  -vpn-instance  Specify VPN-Instance of MPLS VPN
  STRING<1-255>  IP address or hostname of a remote system
  arp            ARP-ping
  ip             IP Protocol
  ipv6           IPv6 Protocol
  lsp            LSP Ping
  mac            MAC ping
  trill          Trill ping
  vpls           VPLS Ping

thanks colin
  • x
  • convention:

r84092779
Created Apr 25, 2018 11:35:53 Helpful(0) Helpful(0)

Hello,

Yes, it is possible with the command <> ping ip -t
  • x
  • convention:

uzzi
Created Apr 25, 2018 14:31:30 Helpful(0) Helpful(0)

Sir, is it only available on CE switches or we can do it on all platforms as I tried on some access switches but command have different option instead than continuous ping?

Thanks.
  • x
  • convention:

Kindest%20Regards%3Cbr%20%2F%3E%0AMuhammad%20Uzair%3Cbr%20%2F%3E%0AHCIE%20%236776
Barret
Created Apr 26, 2018 01:19:16 Helpful(1) Helpful(1)

I think the -t is not continuous ping, the CE can't continuous ping, but you can use -c count:
ping -c count x.x.x.x    //The value is an integer that ranges from 1 to 4294967295. The default value is 5.
-c count
Specifies the number of times for sending ICMP Echo Request messages.
The ping command labels each ICMP Echo Request message with a sequence ID that starts from 1 and is increased by 1. By default, five ICMP Echo Request messages are sent. You can set the number of ICMP Echo Request messages to send by specifying the parameter count.
In the case of poor network quality, you can set this parameter to a comparatively large value to check the network quality based on the packet loss rate.
  • x
  • convention:

cgw162
Created Apr 26, 2018 07:51:06 Helpful(0) Helpful(0)

I have tried the ping ip -t on a CE12800 & it is the timeout value

ping ip -t ?
INTEGER<0-65535> Timeout in milliseconds to wait for each reply

I have used the -c count, but just wondered if there is an option for a continuous ping.
Looks like there is not :(
  • x
  • convention:

Hamza
Created May 4, 2018 15:23:48 Helpful(0) Helpful(0)

ip -t
  • x
  • convention:

yangyong
Created May 11, 2018 06:49:13 Helpful(0) Helpful(0)

Thank you for sharing.
  • x
  • convention:

Mihir
Created Jun 25, 2018 13:11:47 Helpful(0) Helpful(0)

Can anybody know how to do constant ping from -vpn-instance?
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login