This TOI describes the MAC limit per VLAN feature which can be used to limit the number of locally learned MAC addresses per VLAN.

L2 EOS 4.27.2F MAC Limit Per VLAN EOS 4.30.1F