Exclude dynamic entries from mikrotik mass push audit

Unimus support forum
Post Reply
km251
Posts: 2
Joined: Fri May 26, 2023 2:51 pm

Fri May 26, 2023 3:02 pm

I tried searching the forum to find what I need but couldn't. I'm trying to use the mass config push to audit some mikrotik routers I have and want to know if there is a way to exclude the dynamic results so each router doesn't look unique? Basically exclude or strip any results with a # before it.

The commands i'm running are below:

Code: Select all

/ipv6 firewall export
The results are this:

Code: Select all

<prompt> /ipv6 firewall export
# may/26/2023 07:49:27 by RouterOS 6.48.2
# software id = XXXX
#
# model = CCR1009-7G-1C-1S+
# serial number = XXXX
/ipv6 firewall address-list
XXXX
/ipv6 firewall filter
XXXX
<prompt>
User avatar
Tomas
Posts: 1231
Joined: Sat Jun 25, 2016 12:33 pm

Fri May 26, 2023 4:40 pm

Hi,

Apologies, but there is currently no way to filter data in outputs of Config Push. This is a really nice feature suggestion tho, and we have created an internal ticket for this. I will update this topis as soon as there is any movement on this.

In the meantime, you could maybe use:

Code: Select all

/ipv6 firewall filter print
/ipv6 firewall address-list print
This will be in a different format to export of course, but there should be no device-specific data which would break Output Groups in Push results.
km251
Posts: 2
Joined: Fri May 26, 2023 2:51 pm

Wed May 31, 2023 2:40 pm

Thanks Tomas. For the purpose of this audit the commands you propossed should work for me.
Post Reply