I'm having a bit of a dilema configuring some 2960 switch ports for port security.
Each Port must only see one legal device connected to it and shutdown should someone connect an illegal device.
I have configured the port accordingly. But if I have the switchport port-security max set to 1, nothing works and if I set it to, 2 everything works including illegal devices ..
I cannot see for the life of me whatI am doing wrong .. can any one advise ?
switchport access vlan 2
switchport mode access
switchport port-security max 2
switchport port-security mac-address xxxx.xxxx.xxxx
spanning-tree bpduguard enable