Need help with a script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 05:00 AM
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
- Labels:
-
Community Feedback Forum
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 05:40 AM
- 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! '

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2022 06:40 AM
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
