Unable to enable LACP on a port with the interface <port-number> lacp command

In this case, the switch displays the following message:

Operation is not allowed for a trunked port.

You cannot enable LACP on a port while it is configured as a static Trunk port. To enable LACP on a static-trunked port:

Procedure
  1. Use the no trunk <port-number> command to disable the static trunk assignment.
  2. Execute interface <port-number> lacp .

CAUTION:

Removing a port from a trunk without first disabling the port can create a traffic loop that can slow down or halt your network. Before removing a port from a trunk, Hewlett Packard Enterprise recommends that you either disable the port or disconnect it from the LAN.