How to show only interfaces starting with a certain pattern
3
votes
7
answers
3500
views
Open-Vswitch creates virtual interfaces, they all have this pattern:
---------------------------------------
I am more interested about information like
s[digit]-eth[digit]
For example: s1-eth1, s1-eth2, s12-eth3, s2-eth3 ...
I want to show information of *-for example-* all interfaces starting with s1 (in our example, it must give s1-eth1
and s1-eth2)
.
I tried this command, but it shows only the first line of information:

RX packets, TX packets, erros, HWaddr..
like this:

Asked by Dimareal
(133 rep)
Feb 9, 2018, 11:56 AM
Last activity: Mar 9, 2023, 12:29 PM
Last activity: Mar 9, 2023, 12:29 PM