Setting up Port Security on a Cisco 2950 switch
Posted on 2006-05-27
I'm setting up Port security on my main network switch that leads to the default gateway. I set up port security on one port with a computer close by to test the port security and was able to apply port-security on that port with that specific computer so I know that I set it up correctly.
I have a port that is connected to a hub that 4 computers are connected too so I need to set up port security for that port that the hub connects too and configure all the computers tha connect to that hub for port-security on the main switch. This is how I configured:
switchport mode access
switchport port-security maximum 5
switchport port-security violation restrict
switchport port-security mac-address 0080.4529.a511
switchport port-security mac-address 0080.4529.ab7c
switchport port-security mac-address 0080.452c.b23f
switchport port-security mac-address 0080.452c.b270
When I do this none of the computers can access the network, can anyone tell me what I'm doing wrong? I don't save the config and I reboot the switch and all the computers can now access the network.