Welcome, Guest. Please login or register.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - leckermojito

Pages: [1]
1
GUI / Dlink 3100 and 1510 CLI access and config backup
« on: January 30, 2019, 10:16:13 pm »
Hi Remo,

could you please add this to your next version of Nedi:

Other-Defgen:
<option value="DLINK3100"<?= ($os == "DLiNK3100")?" selected":"" ?>>DLINK3100
<option value="DLINK1510"<?= ($os == "DLINK1510")?" selected":"" ?>>DLINK1510

libcli:
# DLINK3100
$cmd{'DLINK3100'}{'ropr'} = '(.+?)>\s?$';
$cmd{'DLINK3100'}{'enpr'} = '(.+?)#\s?$';
$cmd{'DLINK3100'}{'page'} = 'disable clipaging';
$cmd{'DLINK3100'}{'shcf'} = 'show configuration running';
$cmd{'DLINK3100'}{'cfst'} = '!-';

# DLINK1510
$cmd{'DLINK1510'}{'ropr'} = '(.+?)>\s?$';
$cmd{'DLINK1510'}{'enpr'} = '(.+?)#\s?$';
#$cmd{'DLINK1510'}{'enab'} = 'enable';
$cmd{'DLINK1510'}{'page'} = 'terminal length 0';
$cmd{'DLINK1510'}{'shcf'} = 'show running-config';
$cmd{'DLINK1510'}{'cfst'} = '#--';

libmisc:
        }elsif( $_[0] =~ /^1.3.6.1.4.1.(171)\./ ){
                return'D-Link';

I will post the defgen of the switches soon in the definitions section

@Remo: Thanks for your great tool!

2
Discovery / Re: multiple Errors on Switch Discovery
« 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?

3
Discovery / 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

Pages: [1]