Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I believe the command you are looking for is the switchport port-security. You need to put the max # of macs you wish to connect here. int gig 2/0/1description ### Userport ***switchport access-vlan 100switchport port-security maximum 2