A
A
Ashot Aslanyan2020-02-23 18:31:39
Mikrotik
Ashot Aslanyan, 2020-02-23 18:31:39

How to find a line by comment and raise it to the very top in Mikrotik devices using the terminal?

How to find a line by comment and raise it to the very top in Mikrotik devices using the terminal?

for example

/ip firewall nat find comment="test";
and somehow raise it to the very top. but how?

tinkered with number=0 , no somehow doesn't work.
please write a working example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2020-02-23
@fellliche

/ip firewall filter move старый_номер новый_номер
or

/ip firewall filter move [/ip firewall nat find comment="test"] 0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question