Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

Anonymous
N/A

automatically shutdown ports after inactivity

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
New Member

Re: automatically shutdown ports after inactivity

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

Silver

Re: automatically shutdown ports after inactivity

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

Thanks,

Dharmesh Purohit

173
Views
4
Helpful
2
Replies