I currently have my transit providers plugged directly into my router. I really like this arrangement because when the ISP goes down this typically downs the interfaces which results in BGP peering being dropped immediately. This results in very little loss while everything re-routes to the secondary provider (vs waiting for a timer to expire).
Due to restrictions on the number of ports I'm opting to place a Cisco N9K in between the router and the transit providers (ISP links plug into switch, routers plug into switch). Is it possible to replicate the original behavior such that if a given interface on the N9K goes down I can automatically down other interfaces of my choice?
The switch is an N9K-C93180YC-EX. The router is a Juniper MX204.