Welcome, Guest. Please login or register.

Author Topic: multiple Errors on Switch Discovery  (Read 2603 times)

leckermojito

  • Newbie
  • *
  • Posts: 16
    • View Profile
multiple Errors on Switch Discovery
« on: July 10, 2018, 03:01:05 pm »
Hi all,

with our new D-Link Switch model DGS-1510-28P i can see some strange behaviors in Nedi Discovery and many differences between stacking enabled and disabled.
This switch can be stacked with max 6 other units via its 10G SFP+ Ports. After enabling physical Stacking the 2 10G Ports became Stack-Ports ant the Switch shows 26 instead of 28 ports.

In short: when i enable stacking everything will be fine but when i disable stacking, NeDi shows a lot of errors during discovery.

The errors appear when NeDi is discovering the Switchports / Descriptions and due to that error NeDi doesn´t show any Ports.

Example Errors during discovery:

Code: [Select]
Interfaces   ------------------------------------------------------------------
RIF :0 IF read (WHERE device = 'xxxxxxxx') from nedi.interfaces
SNMP:Connect xxxxxxxx public v2 Tout:11s MaxMS:1472 Retry:1 NB:0
IF  :Walking speed
IF  :Walking 32bit counters
IF  :Walking errors
IF  :Walking discards
IF  :Walking in-broadcasts
IF  :Walking name
IF  :Walking description
ERR :IF Desc The message size exceeded the buffer maxMsgSize of 1472
IF  :Walking vlan
IF  :Walking duplex
IF  :Walking duplex index
IF  :Walking admin status
IF  :Walking oper status
IF  :Index Name          Spd Dup St Pvid Description     Alias             PoE

IfAddresses  ------------------------------------------------------------------
IFIP:No useip policy set, always using discovered IPs
SNMP:Connect xxxxxxxx public v2 Tout:8s MaxMS:1472 Retry:1 NB:0
IFIP:Walking old address table

DisProtocol  ------------------------------------------------------------------
SNMP:Connect xxxxxxxx public v2 Tout:13s MaxMS:4095 Retry:1 NB:0
ERR :LLDP Inventory The requested table is empty or does not exist
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 24 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 19 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 23 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 16 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 7 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 9 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 10 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 8 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 20 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 12 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 18 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 5 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 17 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 6 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 21 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 15 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 3 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 13 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 2 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 14 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 1 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 22 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 11 delivering 15400mW
Use of uninitialized value in hash element at /opt/nedi/inc/libsnmp.pm line 2028.
LLDP:IF index 4 delivering 15400mW
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2239.
DIPR:14.1 on
DIPR:No IP found for xxxxxxxx
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2291.
LLDP:xxxxxxxx,Et1/0/1  on
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2293.
Use of uninitialized value in string eq at /opt/nedi/inc/libsnmp.pm line 2293.
Use of uninitialized value $i in concatenation (.) or string at /opt/nedi/inc/libdb.pm line 1586.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2505.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2506.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2507.
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2523.
EVNT:MOD=d/1 L=100 CL=nedq TGT=xxxxxxxx MSG=LLDP sees xxxxxxxx,Et1/0/1 with unusable IP  on
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2526.
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2239.
DIPR:4.2 on
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
LLDP:Ignoring duplicate neighbor xxxxxxxx (set MACflood threshold to allow)
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2239.
DIPR:6.2 on
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
LLDP:Ignoring duplicate neighbor xxxxxxxx (set MACflood threshold to allow)
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2239.
DIPR:2.2 on
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
LLDP:Ignoring duplicate neighbor xxxxxxxx (set MACflood threshold to allow)
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2239.
DIPR:12.2 on
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
LLDP:Ignoring duplicate neighbor xxxxxxxx (set MACflood threshold to allow)
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2239.
DIPR:10.2 on
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
LLDP:Ignoring duplicate neighbor xxxxxxxx (set MACflood threshold to allow)
Use of uninitialized value $lif in concatenation (.) or string at /opt/nedi/inc/libsnmp.pm line 2239.
DIPR:13.1 on
DIPR:No IP found for xxxxxxxx
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
Use of uninitialized value $lif in hash element at /opt/nedi/inc/libsnmp.pm line 2271.
LLDP:Ignoring duplicate neighbor xxxxxxxxxx (set MACflood threshold to allow)

I have already checked twice, i can reproduce the error when i disable Stacking.

By the way, we are using NeDi 1.6.100

Any Ideas?

Thanks in advance

cheers
Ben
cheers

Benjamin

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2893
    • View Profile
    • NeDi
Re: multiple Errors on Switch Discovery
« Reply #1 on: July 11, 2018, 12:58:22 pm »
The problem lies here:
IF  :Walking description
ERR :IF Desc The message size exceeded the buffer maxMsgSize of 1472

SNMP is a dated UDP based protocol and unfortunately not very smart about fragmented packets. Edit line 902 of inc/libsnmp.pm and add |other after Netgear...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

leckermojito

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: multiple Errors on Switch Discovery
« Reply #2 on: July 17, 2018, 02:13:11 pm »
Thanks Remo  :)

Your are a hero!
works like a charm.

I´ve added in that line my custom added OS DLINK1510.

By the way: are you interested in our custom OS Settings doe Dlink Switches for CLI access for the official build?
cheers

Benjamin

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2893
    • View Profile
    • NeDi
Re: multiple Errors on Switch Discovery
« Reply #3 on: July 23, 2018, 01:59:20 pm »
Sure, send a mail and I'll include it in the next release, tx!
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo