Show expanded interface lists
Posted: 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:
I'd like to see:
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:
Code: Select all
/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
Code: Select all
LIST MEMBERS
A vlan1
B vlan1
C vlan1, vlan2