07-08-2008
01:20 AM
- last edited on
03-06-2019
12:03 AM
by
NikolaIvanov
we have a requirement to shutdown ports in unattended locations such as meeting rooms. Is it possible to have a port automatically shutdown after a period of inactivity? for example, if we know a meeting will start at 10am we can manually open the port before this. once the meeting is over and they have neglected to tell us the port is no longer required, the port could close 1.5 hours after last use instead of being open for days until we are requested to close it.
07-08-2008 01:50 AM
Hi
One way to solve this is by using port-security. It is not timebased though.
This will tell the switch to learn the mac address automaticaly, and keep it until you clear it. if someone else tries to use it, it will shut down.
switchport port-security
switchport port-security maximum 1
switchport port-security mac-address sticky
switchport port-security violation shutdown
Another approach could be using timebased acl's.
-Thomas
07-08-2008 04:33 AM
Thomas is right, this is the best way you could achieve. Access-list is not racommanded for port shut isolation procedure.
Thanks,
Dharmesh Purohit
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide