snowch
1
The following allows me to print all static rules:
/ip firewall mangle print static
Flags: X - disabled, I - invalid, D - dynamic
...
However, the same does not work for find:
/ip firewall mangle find static
{{no output}}
How can I find static rules?
if you print, you print,
if you find, you not print
you must print (or put) if you want see something…
if is static, is not dynamic
:put [/ip firewall mangle find where !dynamic]
# equivalent to
:put [/ip firewall mangle find where dynamic=no]
and you obtain only IDs because find is for scripting (do not use :put on scripting for obtain find results…), not for print/put on terminal…