Cisco 2960 Switch Automatic Timed Shut No Shut On Port

Posted on 2010-03-31
Medium Priority
Last Modified: 2013-11-09
Hello and thanks in advance for the help.  

We have new Cisco 2960 Switches throughout our location.  We have set up our ports to pull a sticky mac and then shut themselves down when another mac uses that port. This works great except for with our Wireless Access Points (Linksys WAP54G).  We have to turn port security off on these so that, for example, my MAC for my laptop doesn't get stickied to one WAP, because then it won't let me connect when I go to another WAP.

So, our solution was to turn port security off on the port the WAP is plugged into.  Instead we'd like to have these ports on or off based on our hours of operation.  This is especially important for the WAPs that we have outside.  We don't want 1. someone trying to hack our wireless during off-hours or 2. someone just unplugging our WAP and plugging in their laptop instead.

So, what we are needing to know is if there is a way to shut a specific port down and then turn it back on based on a schedule.  If not within the Cisco switch, is there third party software that does this?  So when our location closes down at 8:30pm, the port shuts itself off -- no wireless and nothing can be plugged into the port.  At 7:00am the next day, it turns itself back on.  

Furthermore, if someone does try to plug something into that port other than our WAP, I'd like it to be logged and I want to be alerted via email.

Please help.  Thanks.
Question by:FH_JGoodwin
  • 2
  • 2
LVL 11

Expert Comment

ID: 29262236
I know that you can't schedule port availability in any fashion other than direct config shut or no shut.
As to a software that would enable this, the nearest that I can think of that will give you this ability is to implement NAC and then handle logon timing through your NOS (e.g. logon allowed times in AD).
LVL 23

Expert Comment

ID: 29263008
Check this post out.

Basically you can setup SNMP (write permission) on the swithces and then create a perl script to send SNMP calls to the switch to disable then re-enable the port.


Author Comment

ID: 29341643
What do you guys think about using an EEM solution?  I am gonna lab it up here at the office and see what kind of commands I can get.   Another solution may be to put the WAP in its own VLAN and use a ACL timer to deny IP any any on that specific VLAN.  Your thoughts?  Again thanks for our help!!

Author Comment

ID: 29348007
Nope EEm is only supported on routers and Layer 3 switches it seems.  So maybe the VLAN solution would be worth a Shot.  
LVL 23

Accepted Solution

that1guy15 earned 2000 total points
ID: 29355530
Oh yeah! the 2960 does support timed ACLs did not know that.

This might be your best/simplest bet.

here is a link to configure them


Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a step by step guide on how to create a basic PTP link using Ubiquiti airOS devices. This guide can be used on the following Ubiquiti AirMAX devices. Nanostation, Bullets, AirBridge, Nanobeam, NanoBridge to name a few. Please review …
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question