firewall list

Hi

I was wondering is there an easy way to delete all the firewall list entries. I worked out I can use remove 1-# where # is some number, but I am building a firewall ruleset in notepad and would like to be able to cut and paste, which I can’t do cause I can’t delete all the entries easy for a variable lenght list

would be nice to be able to do something like
remove % or remove 1-$ … like vi !!


A

You want to remove all firewall filter entries from the router? Run this in the terminal / command line:
/ip firewall filter remove [find]

Thanks

could you maybe explain. I will try and tell me if I am wrong

remove

=> inline script

find is a script command that finds all the elements in the current path

Yes, I think that is correct. More information can be found here: http://wiki.mikrotik.com/wiki/Manual:Scripting#Command_line