Question: why would you enable port security on a switch?
Answer: The main reason to use port security in a switch is to stop or prevent unauthorized users to access the LAN.