Page 1 of 1

Detect link down and perform action

Posted: Wed Sep 20, 2023 10:28 am
by mickdoev
Hello,
I'm looking for a solution to forcibly expire/remove a PIM Neighbor entry (Routing/PIM/neighbors) when an interface link is taken down.
One way I can remove the PIM Neighbor entry is by disabling the respective PIM Interface (routing/PIM/Interfaces) and then re-enabling it.
But I don't know how to detect the link-down event and then execute the relevant script.
Can this be done?
OS is ARM 6.49.10