In the CLI, there is often the case where you want to use the include to filter to certain entries using the include statement, but that excludes the headings. I can’t figure a way to use include but get the headings out also.
MDS1-ESUA# show tolt system fdb l2
VLAN
PHYS ADDRESS ID AID AGE
D8:9E:F3:B7:CD:A2 101 NET1 0
D8:9E:F3:BD:93:A2 101 ETH1 0
MDS1-ESUA#
I lose the headers when filtering:
MDS1-ESUA# show tolt system fdb l2 | include NET1
D8:9E:F3:B7:CD:A2 101 NET1 0
D8:9E:F3:BD:93:A2 101 NET1 0
MDS1-ESUA#
If I add a filter line that also includes some text in the header line, it seems to treat that as an AND even if I add the match-any directive.
Perhaps there is a more elegant way to do this.