When route is not dynamic then “dynamic” parameter is not set wich is not equal to “no”
Correct way is
[admin@p3_450] /ip route> print where dynamic
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 ADS 0.0.0.0/0 10.155.125.1 1
1 ADC 10.155.125.0/24 10.155.125.18 ether1 0
[admin@p3_450] /ip route> print where !dynamic
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
# DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 10.255.0.0/24 10.155.125.1 1
1 A S 10.255.1.0/24 10.155.125.1 1
Thank you for your reply.
It worked for print command, but can’t be used by find command.
I think the rule should have the same behavior both for /ip route and /ip firewall nat(and others), so it’s better to set the dynamic parameter(=no) for the static route.