From owner-freebsd-net@freebsd.org Sun Oct 30 05:31:02 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E7018C26292 for ; Sun, 30 Oct 2016 05:31:02 +0000 (UTC) (envelope-from aalejandro@alliedtechnologygrouppr.com) Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C47430A for ; Sun, 30 Oct 2016 05:31:02 +0000 (UTC) (envelope-from aalejandro@alliedtechnologygrouppr.com) Received: by mail-qk0-x235.google.com with SMTP id v138so39949165qka.0 for ; Sat, 29 Oct 2016 22:31:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtechnologygrouppr-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=xTSzxc+POn2z27idu4dNoOCuS5REHDZuu2YwNwVeW5w=; b=rlGtu3QILwizye1e+BpqqW14evrUsdf8UFhiK8Yuxe7Hx/93Z0h1R+DUumf7u4yaFA R4bTc4Lp9zZuG4ec6PWMAQEZ95GOVG4XJuMUucngkzZibT8scSUroBJqvtifztEa7MCS DVnfhbUosfQRajbEdwliH+NZrKGIexqTl5FWB6Dvxg67XiI5ugtlfMJVtLVrL3Qxsx8Z 1IKPM9BP9DzdY8evsLP+92kVfNoGURdYp1PKoc2VhzbqcambpgYplQDCCg0eVJxfI+4+ SWzOhO4r/gGkZM51J0ITuafMLzplDWur7QDiujhh+LGh6Wt76JWi8bxXT2aQmtS6o3r4 sDAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xTSzxc+POn2z27idu4dNoOCuS5REHDZuu2YwNwVeW5w=; b=S/LElONy6AwDdm6D0V2FBtUhz84iqBa9/fhbBBBWfcnuZPYSeOn7KHQ/JlV8YYyzuA /gAjM1fEZXAuJlt0VUJVXLObrjKUZBUu19YLlLmELYBDFdfgRmElX3eZVzsNyd5RHMdA vcZcpyTNrslpGndFadd/+fltpBV+Bu2xXMwQVHK72Z6QwvU6ULveb34WNsAqrqQqOYZE fWAGiLsNjYMcZMjXnGTRBqJnz5LagyOEmobAY7zO0+RfJYIVzOULDanzOGiBp0qoR0Mu q0TO4aO2FU1IiHTzMm6n8RGpH3jHakYBg0Md0xBnsT88gvBjJof4ndBqTjxhnSIq5WLm /R5Q== X-Gm-Message-State: ABUngveikcZUIh/nmWYkZ8R0KsdNgDFmyUgjUUBhDogMLl8bc02YdDBpLv127sZdUknPREIquQ7oz7huCdtIGQ== X-Received: by 10.55.23.65 with SMTP id i62mr16807731qkh.238.1477805461515; Sat, 29 Oct 2016 22:31:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.127.132 with HTTP; Sat, 29 Oct 2016 22:31:01 -0700 (PDT) X-Originating-IP: [70.45.203.114] From: Abel Alejandro Date: Sun, 30 Oct 2016 01:31:01 -0400 Message-ID: Subject: Wrong ifSpeed using bsnmpd for LAGG with VLAN interfaces To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2016 05:31:03 -0000 Hello, I am using FreeBSD 10.3 with bsnmpd and the ucd port. It seems bsnmpd is correctly sending ifSpeed for lagg0 but all vlan interfaces under it are wrongly identified as 10Mb/s instead of 2Gbps. Is there anyway to fix this? root@nms:~# snmpwalk -c XXXX -v 2c 10.247.162.131 ifName IF-MIB::ifName.1 = STRING: igb0 IF-MIB::ifName.2 = STRING: igb1 IF-MIB::ifName.3 = STRING: cxl0 IF-MIB::ifName.4 = STRING: cxl1 IF-MIB::ifName.5 = STRING: igb2 IF-MIB::ifName.6 = STRING: igb3 IF-MIB::ifName.7 = STRING: igb4 IF-MIB::ifName.8 = STRING: igb5 IF-MIB::ifName.9 = STRING: lo0 IF-MIB::ifName.10 = STRING: lo1 IF-MIB::ifName.11 = STRING: lagg0 IF-MIB::ifName.12 = STRING: lagg0.12 IF-MIB::ifName.13 = STRING: lagg0.21 IF-MIB::ifName.14 = STRING: lagg0.22 IF-MIB::ifName.15 = STRING: lagg0.29 IF-MIB::ifName.16 = STRING: lagg0.1210 IF-MIB::ifName.17 = STRING: lagg0.3144 root@nms:~# snmpwalk -c XXXX -v 2c 10.247.162.131 ifSpeed IF-MIB::ifSpeed.1 = Gauge32: 10000000 IF-MIB::ifSpeed.2 = Gauge32: 10000000 IF-MIB::ifSpeed.3 = Gauge32: 1410065408 IF-MIB::ifSpeed.4 = Gauge32: 1410065408 IF-MIB::ifSpeed.5 = Gauge32: 1000000000 IF-MIB::ifSpeed.6 = Gauge32: 10000000 IF-MIB::ifSpeed.7 = Gauge32: 10000000 IF-MIB::ifSpeed.8 = Gauge32: 10000000 IF-MIB::ifSpeed.9 = Gauge32: 0 IF-MIB::ifSpeed.10 = Gauge32: 0 IF-MIB::ifSpeed.11 = Gauge32: 2820130816 IF-MIB::ifSpeed.12 = Gauge32: 10000000 IF-MIB::ifSpeed.13 = Gauge32: 10000000 IF-MIB::ifSpeed.14 = Gauge32: 10000000 IF-MIB::ifSpeed.15 = Gauge32: 10000000 IF-MIB::ifSpeed.16 = Gauge32: 10000000 IF-MIB::ifSpeed.17 = Gauge32: 10000000 root@nms:~# -- Abel Alejandro 787 586 8313 | 787 705 0555 400 Calle Calaf 477 San Juan, PR 00918 aalejandro@alliedtechnologygrouppr.com