V
V
Vladislav Tatarintsev2019-02-14 11:48:11
Mikrotik
Vladislav Tatarintsev, 2019-02-14 11:48:11

How to add a comment on mikrotik?

How to add a comment to an existing entry in the address list, via the console?
ip firewall address-list set address=172.16.8.45 list=ENABLE comment="16.06.2017"
after entering it writes numbers:
There are many entries to comment on.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wexter, 2019-02-14
@Wexter

/ip firewall address-list print

It will show you a list with numbers, in numbers specify the numbers of the required lines separated by commas

P
paxlo, 2019-02-14
@paxlo

Commands that act on already existing rules: comment, disable, remove, set- require you to specify the number of the rule, which can be obtained by displaying the full list print, as mentioned above. And in order not to parse the numbers with your eyes, you can do something like this:
IMHO comment N "..."shorter thanset N comment="..."

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question