cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
315
Views
0
Helpful
2
Replies

Need help with a script

koushik
Level 1
Level 1

we need to do a continuous ping a Public ip from a source interface of a ISP faciing router. Any script or probing tool to help with this

2 Replies 2

marce1000
VIP
VIP

 

  - On most platforms that is default ping behavior  : https://www.tunnelsup.com/continuous-ping/

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Hello,

why not use an IP SLA ? In the script below, the router would generate an ICMP ping every three seconds, with the source interface being whatever interface is ISP facing:

R1(config)# ip sla 1
R1(config-ip-sla)# icmp-echo 8.8.8.8 source-interface x
R1(config-ip-sla-echo)# threshold 1000
R1(config-ip-sla-echo)# timeout 1000
R1(config-ip-sla-echo)# frequency 3
R1(config)# ip sla schedule 1 start-time now life forever

Review Cisco Networking for a $25 gift card