Answer the question
In order to leave comments, you need to log in
How to make export address-list so that only the necessary subnets are exported?
the following address grids are available.
192.168.5.0/24
192.168.6.0/24
192.168.7.0/24
How can I export /ip firewall address-list so that only addresses starting with 192.168.5.$ are exported daily?
Answer the question
In order to leave comments, you need to log in
export without a script was not found, there is such an option:
> /ip firewall address-list print detail
Flags: X - disabled, D - dynamic
0 list=parents address=10.3.4.4 dynamic=no
1 list=parents address=192.168.5.1 dynamic=no
2 list=test_list address=192.168.5.2 dynamic=no
3 list=test_list address=192.168.5.3 dynamic=no
4 list=test_list address=192.168.5.4 dynamic=no
5 list=test_list address=192.168.4.4 dynamic=no
> /ip firewall address-list print detail where address~"192.168.5" list~"test"
Flags: X - disabled, D - dynamic
0 list=test_list address=192.168.5.2 dynamic=no
1 list=test_list address=192.168.5.3 dynamic=no
2 list=test_list address=192.168.5.4 dynamic=no
>
> /ip firewall address-list print detail file=prefixes.txt where address~"192.168.5" list~"test"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question