How to configure port security on trunk and interfaces
I'm learning about port security and have a few questions. I have a layer 2 switch with interfaces f0/1-22 in access mode to access VLANs, interfaces f0/23-24 in trunk mode to connect to layer 3 switch, and interfaces g0/1-2 that aren't used.
Should I enable port security on the 2 interfaces and on 2 unused interfaces?
When I applied port security to the 2 trunk interfaces, they went down. Should I remove the port security configuration or try to fix it? And what can I do if I have to?
If I need to fix the configuration, what are the steps to follow to bring the trunk interfaces back up while ensuring proper port security?
Any help or advice on best practices for configuring port security on a layer 2 switch would be appreciated.