Is there a way to limit a users access on the network by programming a port on a Cisco switch to shutdown at a certain time and enable at a certain time?
02-11-2011 03:51 AM - edited 03-06-2019 03:30 PM
Is there a way to limit a users access on the network by programming a port on a Cisco switch to shutdown at a certain time and enable at a certain time?
02-11-2011 04:10 AM
But the port will shutdown at certain time but do not turn on.
Configuring the Port Security feature is relatively easy. In its simplest form, port security requires going to an already enabled switch port and entering the port-securityInterface Mode command. Here's an example:
Switch)# config t Switch(config)# int fa0/18 Switch(config-if)# switchport port-security ? aging Port-security aging commands mac-address Secure mac address maximum Max secure addresses violation Security violation mode Switch(config-if)# switchport port-security Switch(config-if)#^Z
By entering the most basic command to configure port security, we accepted the default settings of only allowing one MAC address, determining that MAC address from the first device that communicates on this switch port, and shutting down that switch port if another MAC address attempts to communicate via the port. But you don't have to accept the defaults.
As you can see in the example, there are a number of other port security commands that you can configure. Here are some of your options:
Of course, you can also configure port security on a range of ports. Here's an example:
Switch)# config t Switch(config)# int range fastEthernet 0/1 - 24 Switch(config-if)# switchport port-security
However, you need to be very careful with this option if you enter this command on an uplink port that goes to more than one device. As soon as the second device sends a packet, the entire port will shut down.
Hope this will help you.
Please rate the helpfull posts.
Regards,
Naidu.
02-11-2011 05:48 AM
Is there a way to limit a users access on the network by programming a port on a Cisco switch to shutdown at a certain time and enable at a certain time?
Hi,
As suggested port secuirty is the mechanism where you can restrict the port been on and shut state based on mac entries you have asked on that port.
Check out the below link
Hope to Help !!
Ganesh.H
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