Run script when interface is down

Run script when interface is down

I want to run a script when an interface of a router is down. The script will just bring anotrher interface up. How can I do that?

                  New to ADSelfService Plus?