Automation
Automation

How can I ping between two GRE endpoints and toggle the GRE interface status?

by Cordelia on ‎08-11-2015 03:01 PM - edited on ‎09-19-2017 08:00 AM by Administrator Administrator (1,147 Views)

The toggle-interface is a combined commit and event script that pings between two GRE endpoints and toggles the GRE interface status.

 

This script uses RPM to monitor each GRE interface. The ping probes run and check if the SA and DA pair can be pinged. If not, an error is sent to the syslog daemon. Based on the event log configuration, the toggle-interface.slax file is called. The GRE interface is set to disable. The probe runs again and if the SA+DA pair are reachable, toggle-interface.slax file is called to delete the disable parameter.

 

See the document toggle-interface