Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
New Member

auto run script to bring port down at certain time/

trying to find a way to automatically bring a port down at certain time of the day and then bring it back up at a different time.

basically we want to disconnect a phone (cisco 7940) at end of business day and reconnect in the am. 

any ways to do this thru script or a functionality built into cisco os?

edit: switch 2960x

Super Bronze

DisclaimerThe Author of this


The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.


This might be doable with EEM scripting.  Note - there's an EEM scripting forum, where you might find help.

Does the port really need to be taken down, or would blocking its operation at night suffice?  If the latter, a timed based ACL might be used.

CreatePlease to create content