I've a department which has been physically residing in a common area. We do have a 2960 switch in that common area connected to the users of my department. I want to implement port-security so that no other user can connect to this switch port lying in the common area and access my network. I want the switchports to be accessed only by the network devices of my company.
For this I've gathered the mac-addresses of all our machines. When I enabled port-security and configured one switch port with all the mac-addresses it was ok. But when I was planning to enter the same on the second port, it throws out an error, " Found duplicate mac-address 0014.38ce.0410".
I've configured one of the user port as,
switchport mode access
switchport port-security maximum 4
switchport port-security mac-address 0014.38ce.0410
switchport port-security mac-address 0017.088a.ef0b
When I tried to copy the same configuration under any other port, it goes like this
Switch(config-if)# switchport port-security mac-address 0014.38ce.0410
Found duplicate mac-address 0014.38ce.0410.
Switch(config-if)# switchport port-security mac-address 0017.088a.ef0b
Found duplicate mac-address 0017.088a.ef0b.