Community discussions

MikroTik App
 
boldsalt2800
just joined
Topic Author
Posts: 4
Joined: Thu Nov 10, 2022 9:01 pm

Show expanded interface lists

Sun Dec 04, 2022 8:38 pm

How can I show all resolved/expanded members of an interface list, including those resolved via the "include" and "exclude" properties?


Here is a simple example to explain what I'm looking for. Obviously in this case, it's easy to resolve mentally. However, with a much more complicated setup with lots of interfaces and lots of lists using include=/exclude=, having an expanded output becomes a lot more valuable.
Given the following config:
/interface list
add name=A
add name=B
add name=C include=A,B
/interface list member
add interface=vlan1 list=A
add interface=vlan2 list=B
I'd like to see:
LIST       MEMBERS
A          vlan1
B          vlan1
C          vlan1, vlan2

Who is online

Users browsing this forum: Ahrefs [Bot] and 62 guests