Lede L2 management

Dear all,

I'm trying to figure out how Lede manages Layer 2 traffic, specifically:

  • CAM table management, can we flush it? Can we set a MAC limit per ethernet port?

  • VLAN hopping, any protection?

  • ARP poisoning.

How does LEDE handle it?

I know some may suggest I just get a proper switch, but most routers already have one, so I would like to take advantage of it.

Thanks in advance