Summary
Add parameters to the interface learning { on | off }
Linux command
ip link set <interface> type bridge_slave learning off
Use case
Now it is enabled by default.
In EVPN VXLAN implementation, there is a need to disable learning on the VXLAN interface. It allows adding an anycast gateway.