06-20-2016 07:52 PM
I was wondering if there was a possible script, or configuration, to enable a switch to only do DHCP if the provided link goes down then disable DHCP if that link comes up.
For instance, if Gi1/0/1 reads "%LINK-3-UPDOWN: Interface FastEthernet1/0/48, changed state to down" then turn DHCP on; if Gi1/0/1 reads "%LINK-3-UPDOWN: Interface FastEthernet1/0/48, changed state to up" then turn DHCP off.
Solved! Go to Solution.