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 - dervossibaer

Pages: [1]
1
Definition Files / Re: Def Files for Mellanox
« on: March 26, 2021, 02:19:36 pm »
attached you?ll find the most featured DEF Files !


2
Definition Files / Re: Def Files for Mellanox
« on: March 26, 2021, 02:11:21 pm »
after struggeling around with paging / timeout i think i found a solution :


# MELLANOX
$cmd{'ONYX'}{'ropr'} = '(.+?)>\s?$';
$cmd{'ONYX'}{'enpr'} = '(.+?)#\s?$';
$cmd{'ONYX'}{'enab'} = 'enable';
$cmd{'ONYX'}{'page'} = 'no cli session paging enable';
$cmd{'ONYX'}{'shru'} = 'show running-config';
$cmd{'ONYX'}{'cfto'} = 20;
$cmd{'ONYX'}{'cfst'} = '.';
$cmd{'ONYX'}{'cfen'} = 'cli default prefix-modes enable';
$cmd{'ONYX'}{'erm'} = 'invalid input|Unknown | failed|Incorrect usage';

3
Discovery / Re: Howto delete interfaces after stack change
« on: February 22, 2021, 09:49:01 am »
System / Database / Interfaces. ->
List of al Interfaces Stored in Nedis Database  ->

SELECT * FROM interfaces where device ='NAME OF DEVICE'

Delete all Interfaces from Database of single Device
delete FROM interfaces where device ='NAME OF DEVICE'

Take Care to use the right Device Name ;-)

4
Definition Files / Re: Def Files for Mellanox
« on: October 29, 2020, 03:12:48 pm »
Thanks for the tip ! 
Find the attached File for Mellanox MSN2100.

You also need to add  to /var/nedi/inc/libcli.pm

# MELLANOX
$cmd{'ONYX'}{'ropr'} = '(.+?)>\s?$';
$cmd{'ONYX'}{'enpr'} = '(.+?)#\s?$';
$cmd{'ONYX'}{'enab'} = 'enable';
$cmd{'ONYX'}{'page'} = 'terminal length 998';
$cmd{'ONYX'}{'shru'} = 'show running-config';
$cmd{'ONYX'}{'cfto'} = 20;
$cmd{'ONYX'}{'cfst'} = '.';
$cmd{'ONYX'}{'cfen'} = 'cli default prefix-modes enable';
$cmd{'ONYX'}{'erm'} = 'invalid input|Unknown | failed|Incorrect usage';

and Patch /var/nedi/html/Other-Defed.php  or Other-Defgen.php
so that it looks like this :

                                <option value="Maipu"<?= ($os == "Maipu")?" selected":"" ?>>Maipu
                                <option value="">--------
                                <option value="ONYX"<?= ($os == "ONYX")?" selected":"" ?>>Mellanox ONYX
                                <option value="">--------
                                <option value="Omnipath"<?= ($os == "Omnipath")?" selected":"" ?>>Omnipath

Than you can Select ONYX as OS in Defed.

i´m Still struggeling with the SSH Timeouts. The Mellanox Switches take about 5 Sek after sending "sh running" until they respond with the Config.
This sometimes works, but most of the Time it does not work. In Case of Failure i see in /TMP/IPofDevice-output.log the following

CLI8:Matched enable prompt, OK
DBG :CMD=terminal length 998 ERR=invalid input|Unknown | failed|Incorrect usage
DBG :RES=
CMDR:terminal length 998 result is OK
DBG :CMD=show running-config ERR=invalid input|Unknown | failed|Incorrect usage
CMDR:show running-config result is OK
ERR :No config ()[/b][/b]
DBG :Elevate=1 Min=0 Mode=B Notify=abcdefijlmnopstw
EVNT:MOD=B/1 L=150 CL=cfge TGT=MLNX-TEST MSG=Config backup error: 0

So it Seems that the Switch does not send Config. or Config is not detected.

And it´s ugly, that Mellanos does not Support "TERM LEN 0" only "Term Len 999" 
Still going down the Road ! NEDI ROCKS !

5
Definition Files / Def Files for Mellanox
« on: September 01, 2020, 03:26:19 pm »
does anybody have def files for Mellanox SN series switches ? what do i have to do to build a new operating system (onyx) into nedi ? Thank you for your cooperation !

6
Installation / possible to start sfcapd for multiple exporters ?
« on: March 29, 2019, 03:00:10 pm »
can someone advise me how to Setup sfcapd to listen for multiple exporters ?
Hi all,
i have managed to Setup Nedi / sfcapd for one single exporter, but now i would like to add additional exporters.

I have read that i can do it by using a single Port for each exporter, and that it is possible to use one single port / Listener for multiple exporters, bu how do i do that ?

If possible i´d like to keep a folder for each exporter like this.

/var/nfdump/Switch1
/var/nfdump/Switch2

Does anyone have an example how to do ?
Thanks Reiner
any help

Pages: [1]