The command works fine - but after it´s done, the policy list is deleted(removed)!
"debug kron all" shows the following:
001745: Jan 8 17:35:26.738: Major 1, Minor 0 001746: Jan 8 17:35:26.738: Timer Event PING 001747: Jan 8 17:35:26.738: Kron delay for next PING 600000 001748: Jan 8 17:35:26.738: Call parse_cmd 'ping 192.168.x.y' 001749: Jan 8 17:35:26.870: Kron CLI return 0 ' **CLI 'ping 192.168.x.y': Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 192.168.x.y, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 24/26/28 ms' 001750: Jan 8 17:35:26.870: Major 4, Minor 7 001751: Jan 8 17:35:26.870: Respond to end of CLI Process 001752: Jan 8 17:35:26.870: Forcing Removing Policy ICMP 001753: Jan 8 17:35:26.870: Removing Policy ICMP 001754: Jan 8 17:35:26.870: Removing CLI 'ping 192.168.x.y' 001755: Jan 8 17:35:26.870: Done Removing Policy ICMP
Okay, the documentation says:
Restrictions for Command Scheduler
The EXEC CLI specified in a Command Scheduler policy list must not generate a prompt or have the ability to be terminated using keystrokes. Command Scheduler is designed as a fully automated facility and no manual intervention is permitted.
But I can´t see where "ping 192.168.x.y" generates a prompt... Well, maybe it could be "terminated using keystrokes"
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.