Hi,
I am trying to solve a simple problem on an SRX220 w/ VDSL mPIM. It has a single uplink to the internet, which regularly fails in a way where the interface/sync remains up, however the path through the upstream provider is dead. Hard-cycling the VDSL interface is the only way to restore service, currently this is done manually (disable/commit/enable/commit).
I have been thinking about a way to automate this, as when it fails in the middle of the night it is annoying to have to re-establish service in the morning (when multiple services are already down for several hours). Thus far my thinking is to use an rpm probe w/ IP monitoring to ping something reliable on the internet (eg Google DNS), and if there is 100% loss over a period of time, perform a reset of the VDSL interface.
So far I have successfully setup the rpm/ip-monitoring and it is working correctly, however the only action available on failure seems to be disable interface (no way to re-enable it). After a bit of reading, resetting the FPC via an op script would deliver what I want in a single action, but struggling to find how to call the op-script from the ip-monitoring instance.
Is my thinking sound, or is there a better way to do this?
Thanks for reading...