LACP not available on ports configured for port security

To maintain security, LACP is not allowed on ports configured for port security. If you configure port security on a port on which LACP (active or passive) is configured, the switch removes the LACP configuration, displays a notice that LACP is disabled on the port(s), and enables port security on that port. For example:

switch(config)# port-security e 7 learn-mode static
address-limit 2
LACP has been disabled on secured port(s).

The switch will not allow you to configure LACP on a port on which port security is enabled. For example:

switch(config)# int e 7 lacp passive
Error configuring port 7: LACP and port security cannot
be run together.

To restore LACP to the port, you must remove port security and re-enable LACP active or passive.