# Delete Arp Trafic For Arp Table - MikroTik Script RouterOS

    Here are two scripts that blank ARP trafic and log the arp trafic. You have to scheduled the scripts.

    # Script1
    /ip arp print file=mauro;
    :local i [/ip arp print count-only];
    :for a from=0 to=($i - 2) do={:log [/ip arp print $a ]

    # Script2
    /ip arp print file=mauro;
    :local i [/ip arp print count-only];
    :for a from= 0 to=($i - 2) do={[/ip arp remove $i]}
    Credit: https://wiki.mikrotik.com/wiki/Delete_ARP_trafic_for_arp_table