I'm trying to write a script under Mikrotik 4.13 to clear ARP tables.
Right now I've got:
Code: Select all
:put "Removing NAT..."
:local arpCount [/ip arp print count-only];
for i from=0 to=$arpCount do={
:put "/ip arp remove $i;"
/ip arp remove $i;
}
Code: Select all
> /system script run deleteARP
Removing NAT...
4
/ip arp remove 0;
interrupted
no such item
Thanks for any help!