Does anyone have this kind of script or sample?
This script is to check GRE tunnel up. For example, always ping the remote-end tunnel ip address. If it is not reachable, shut down local tunnel interface. As Extreme doesn’t have keepalive mechanism on GRE tunnel, but Cisco have, so our customer ask us to provide this kind of script.