cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
591
Views
4
Helpful
2
Replies

automatically shutdown ports after inactivity

Not applicable

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.

2 Replies 2

ThomasMoeller
Level 1
Level 1

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

purohit_810
Level 5
Level 5

Thomas is right, this is the best way you could achieve. Access-list is not racommanded for port shut isolation procedure.

Thanks,

Dharmesh Purohit

Review Cisco Networking products for a $25 gift card