Page 1 of 1

Exclude dynamic entries from mikrotik mass push audit

Posted: Fri May 26, 2023 3:02 pm
by km251
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>

Re: Exclude dynamic entries from mikrotik mass push audit

Posted: Fri May 26, 2023 4:40 pm
by Tomas
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.

Re: Exclude dynamic entries from mikrotik mass push audit

Posted: Wed May 31, 2023 2:40 pm
by km251
Thanks Tomas. For the purpose of this audit the commands you propossed should work for me.