[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151201143110.39ec3e99@xeon-e3>
Date: Tue, 1 Dec 2015 14:31:10 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Hannes Frederic Sowa <hannes@...essinduktion.org>
Cc: David Miller <davem@...emloft.net>, max@...2324.org,
netdev@...r.kernel.org
Subject: Re: [RFC] Stable interface index option
On Tue, 01 Dec 2015 22:54:54 +0100
Hannes Frederic Sowa <hannes@...essinduktion.org> wrote:
>
> On Tue, Dec 1, 2015, at 22:44, Stephen Hemminger wrote:
> > On Tue, 01 Dec 2015 22:14:59 +0100
> > Hannes Frederic Sowa <hannes@...essinduktion.org> wrote:
> > > I had several snmp installations with net-snmp and munin, cacti and so
> > > on and all had the interface name in ifDescription already some years
> > > back.
> >
> > In net-snmp 5.7 or later ifDescr is set to result of pci_lookup_name
> > (by default).
>
> Seems the data should simply be in ifName nowadays (unconfirmed):
> <http://www.net-snmp.org/docs/mibs/ifMIBObjects.html>
>
> Bye,
> Hannes
By default
ifDescr == ifName == interface name (ie eth0, enp0s1, ...)
If the device is on PCI bus then result is like:
IF-MIB::ifDescr.2 = STRING: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
IF-MIB::ifName.2 = STRING: enp3s0
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists