Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1155116

Summary: iproute2: implement "-d" option for "ip mon"
Product: Red Hat Enterprise Linux 7 Reporter: Jiri Pirko <jpirko>
Component: iprouteAssignee: Pavel Šimerda (pavlix) <psimerda>
Status: CLOSED ERRATA QA Contact: Jaroslav Aster <jaster>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: jaster, jbenc, jpirko, ovasik, psutter, rkhan, thozza
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: iproute-3.10.0-50.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 14:39:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Pirko 2014-10-21 11:56:18 UTC
Description of problem:

Currently, "ip -d link" shows details received in IFLA_INFO_DATA attr. But when one is using "ip mon", user is not possible to see such details. "-d" option is missing there.

Version-Release number of selected component (if applicable):
upstream

How reproducible:
always

Steps to Reproduce:
1. run "ip -d mon"
2. change some device option which is exported via IFLA_INFO_DATA. Bond mode for example is nice for this upstream. In rhel7, there are various vlan, macvlan, gre options.

Actual results:
"ip -d mon" shows netlink event on the device but it is not able to show the details stored in IFLA_INFO_DATA attr.

Expected results:
"ip -d mon" shows netlink event on the device and shows the details stored in IFLA_INFO_DATA attr.

Additional info:
None

Comment 11 Jaroslav Aster 2015-07-15 15:21:11 UTC
# ip l add name test link enp0s25 type vlan id 1234

iproute-3.10.0-21.el7

# ip -d monitor link
39: test@enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether 28:d2:44:55:5a:fd brd ff:ff:ff:ff:ff:ff

iproute-3.10.0-46.el7

40: test@enp0s25: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN 
    link/ether 28:d2:44:55:5a:fd brd ff:ff:ff:ff:ff:ff promiscuity 0 
    vlan protocol 802.1Q id 1234 <REORDER_HDR>

Is this ok?

Is there any way how I can see netlink IFLA_INFO_DATA messages without iproute?

Comment 12 Jiri Benc 2015-07-15 15:36:51 UTC
Looks okay.

To see raw netlink messages, you can use nlmon (I don't think we have it packaged, though).

Comment 14 Phil Sutter 2015-08-07 12:56:36 UTC
'ip --help' shows the missing '-d[etails]' option, therefore it belongs to ip manpage and not that of ip-monitor. The new release iproute-3.10.0-50 extends ip manpage by '-details'. This change is added to the changelog, therefore all complaints are fixed by it. :)

Cheers, Phil

Comment 16 errata-xmlrpc 2015-11-19 14:39:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2117.html