cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1787
Views
0
Helpful
1
Replies

recurring kron commands

ubuntu_guy
Level 1
Level 1

I want to have one of my routers send out a ping every 5 minutes or so, what's the best way to automate that? I'm looking at the kron scheduler now and I've at least gotten the kron job created but the scheduling is still not where I want it. What I'm after spcificaly is this; ping 10.10.1.12 source 10.10.2.12.

Maybe I should be looking at more of an ip sla but I'm not sure I can specify the source address of the pings. This will be going over an ipsec vpn, thanks.

1 Reply 1

Edison Ortiz
Hall of Fame
Hall of Fame

You are correct, IP SLA is the right tool

ip sla monitor 1
type echo protocol ipIcmpEcho 10.10.1.12 source-ipaddr 10.10.2.12
frequency 300

ip sla monitor schedule 1 start-time now

Review Cisco Networking for a $25 gift card