Forum Discussion

elemzy's avatar
Icon for Altostratus rankAltostratus
Feb 07, 2022

Custom script to shut down interface

Hi Guys,

I'm new to F5 and a scripting novice. I have an F5 running SSLO sitting on the internet path and running BGP.

I'm trying to design an automatic rerouting of internet to an alternate data center if any of my primary DC devices fail, but there is no inherent way to influence BGP routing through monitoring of service chain devices. F5 only has fail-open or fail-close for service chain devices.

I thought of IP SLA Imish does not support this. 

Is there a way to write a script or custom monitor to ping the service chain devices and shut down an interface on failure?