This is my first attempt at adding port-security but it looks like it should work to me. i'm trying to set a port so that users can only put 1 device on the end...for phones, the phone itself and 1 pc on the end. An example of my port is as follows:
switchport trunk encapsulation dot1q
switchport mode access
switchport voice vlan 141
switchport port-security maximum 1 vlan access
switchport port-security maximum 1 vlan voice
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
no logging event link-status
storm-control broadcast level 20.00
storm-control multicast level 50.00
spanning-tree bpdufilter enable
spanning-tree guard root
However, when a single user adds a single pc (or phone and pc) to these ports it goes into lockdown.
What am i missing?