Can we setup interface monitoring so that when ISP is down, then default route to that ISP is withdrawn as well as the LAN side interface is shutdown, so that downstream router / core switch that runs dynamic routing with firewall stops receiving default route from this firewall and thus start using the second one? My understanding is that the cascade interface refers to the source interface, and we don't want firewall outside interface to be shutdown, but the inside interface should be, and so I am assuming srcintf can be any interface that we choose.
And we dont want LAN interface to be periodically brought up to attempt health checks, as that will cause wrong default route to be sent to the core switch. LAN interface should only come up when link monitor declare health of ISP to be good.
config system link-monitor
set srcintf LAN
set gateway-ip <<ISP1GWaddress>>
set server 18.104.22.168 22.214.171.124
set protocol ping
set update-cascade-interface disable
set update-static-route disable