This is an error in the configuration when setting up port_security on the switch. Telling the switch to globally allow lesser MAC addresses than what is expected on the port level; the default system max is "no_limit".
If the value of the "system max_learning_addr" (1) is lower than the value of the "max_learning_addr" (5) at the port level, network traffic may no longer be forwarded.
config port_security system max_learning_addr 1
config port_security ports 1-48 admin_state disable max_learning_addr 5 lock_address_mode deleteontimeout
Correct configuration example:
config port_security system max_learning_addr no_limit
config port_security ports 1-48 admin_state enable max_learning_addr 5 lock_address_mode deleteontimeout