cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
237
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.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

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 products for a $25 gift card