[Command] switchport port-security maximum # [Description] 
This command is executed in interface configuration mode and specifies the maximum limit of mac addresses that can be learned on that switchport before a violation is triggered.