Red Hat Bugzilla – Bug 1296997
allow for 'ip link show type bridge'
Last modified: 2016-01-25 16:42:13 EST
Listing interfaces by type (or other selectors maybe?) is a nice to have feature. Sadly, RHEL7 seems not to support it yet:
# ip link show type bridge
Error: either "dev" is duplicate, or "bridge" is a garbage.
To enable this feature, the following upstream commit should be backported:
Author: Vadim Kochan <firstname.lastname@example.org>
Date: Wed Dec 10 10:11:29 2014 +0200
ip link: Show devices by type
Added new option 'type' to 'ip link show'
command which allows to filter devices by type:
ip link show type bridge
ip link show type vlan
Signed-off-by: Vadim Kochan <email@example.com>
Maybe a good opportunity to check if there are other simple enhancements missing which make life easier.
This is a duplicate of bug 1297000, just specific to link type bridge, which it should not be as upstream did not fix the issue for that type separately.
*** This bug has been marked as a duplicate of bug 1297000 ***