Resolved! Errdisable recovery cause mac-limit
I will configure "errdisable recovery cause mac-limit" but where it will get its mac-limit? Is it on "switchport port-security maximum <number>"? What will be the cons of using "errdisable recovery cause mac-limit"?