Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2017 11:48:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 193953] bsnmpd missing 64-bit fields with vlan under lagg
Message-ID:  <bug-193953-8-RE8b5r5wmy@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193953-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193953-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193953

--- Comment #4 from Marek Zarychta <zarychtam@plan-b.pwste.edu.pl> ---
(In reply to Eugene Grosbein from comment #3)

This test has been done on the spare machine, which had been setup to test
mentioned Bug 219453. The machine is currently running fresh FreeBSD 11.1-B=
ETA2
#0 r319996.

Ifconig -m doesn't show interface speed for this devices. Output is limited=
 to
physical interfaces belonging to the LAGG, LAGG interface itself and one ch=
ild
VLAN. IP addresses are not shown as irrelevant.

~# ifconfig -m=20

msk0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=3D80018<VLAN_MTU,VLAN_HWTAGGING,LINKSTATE>
=20=20=20=20=20=20=20
capabilities=3Dc011b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,TSO4,VLAN_HWTSO,=
LINKSTATE>
        ether 00:0e:0c:a4:53:5d
        hwaddr 00:0e:0c:a4:53:5c
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        supported media:
                media autoselect mediaopt flowcontrol
                media autoselect
                media 1000baseT mediaopt full-duplex,master
                media 1000baseT mediaopt full-duplex
                media 1000baseT mediaopt master
                media 1000baseT
                media 100baseTX mediaopt full-duplex
                media 100baseTX
                media 10baseT/UTP mediaopt full-duplex
                media 10baseT/UTP
                media none
em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 9000
        options=3D98<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
=20=20=20=20=20=20=20
capabilities=3D11389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL=
_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,NETMAP>
        ether 00:0e:0c:a4:53:5d
        hwaddr 00:0e:0c:a4:53:5d
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        supported media:
                media autoselect
                media 1000baseT
                media 1000baseT mediaopt full-duplex
                media 100baseTX mediaopt full-duplex
                media 100baseTX
                media 10baseT/UTP mediaopt full-duplex
                media 10baseT/UTP

lagg0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 90=
00
        options=3D18<VLAN_MTU,VLAN_HWTAGGING>
        capabilities=3D1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        ether 00:0e:0c:a4:53:5d
        inet (...)
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        supported media:
                media autoselect
        groups: lagg=20
        laggproto lacp lagghash l2,l3,l4
        laggport: msk0 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>
        laggport: em0 flags=3D1c<ACTIVE,COLLECTING,DISTRIBUTING>

vlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 90=
00
        ether 00:0e:0c:a4:53:5d
        inet (...)
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: active
        supported media:
                media autoselect
        vlan: 10 vlanpcp: 0 parent interface: lagg0
        groups: vlan=20


Here is the output of the command:=20
~# bsnmpwalk -v 2c -s public@127.0.0.1
(...)
ifDescr[1] =3D msk0
ifDescr[2] =3D em0
ifDescr[3] =3D lo0
ifDescr[4] =3D lagg0=20
ifDescr[5] =3D lo1
ifDescr[6] =3D lo2
ifDescr[7] =3D lo3
ifDescr[8] =3D lo4
ifDescr[9] =3D lo5
ifDescr[10] =3D lo6
ifDescr[11] =3D vlan0
ifDescr[12] =3D vlan1
ifDescr[13] =3D vlan2
ifDescr[14] =3D vlan3
(...)
ifSpeed[1] =3D 1000000000
ifSpeed[2] =3D 1000000000
ifSpeed[3] =3D 0
ifSpeed[4] =3D 2000000000
ifSpeed[5] =3D 0
ifSpeed[6] =3D 0
ifSpeed[7] =3D 0
ifSpeed[8] =3D 0
ifSpeed[9] =3D 0
ifSpeed[10] =3D 0
ifSpeed[11] =3D 10000000
ifSpeed[12] =3D 10000000
ifSpeed[13] =3D 10000000
ifSpeed[14] =3D 10000000
(...)

For this system bsmnmpwalk shows 64-bit counters present for only 3 interfa=
ces:

~# bsnmpwalk -v 2c -s public@127.0.0.1 1.3.6.1.2.1.31.1.1.1.6
ifHCInOctets[1] =3D 315994426
ifHCInOctets[2] =3D 400196178
ifHCInOctets[4] =3D 716190604

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193953-8-RE8b5r5wmy>