Welcome, Guest. Please login or register.

Recent Posts

Pages: 1 ... 8 9 [10]
91
Discovery / Re: VLANS?
« Last post by dobst on February 17, 2017, 10:27:20 AM »
Hello Romain,

maybe no vlans are available/detected on your devices. Check this by going to devices > list and select a device. There should be a section "Vlans".

Do a discover of your device with

Code: [Select]
./nedi.pl -a [switch] -v | grep -i vlan
92
Discovery / VLANS?
« Last post by romain292 on February 16, 2017, 02:07:50 PM »
Hi everybody!
I have a question. When I go on the "devices-Vlan" page and when I click on "show", nothing appears :/
So how the vlans are considered? We have switchs (level2) with vlan on each but on Nedi, nothing.

I don't undertand why :/

Thank you in advance :)

Romain
93
Discovery / Re: Config Backup of Cisco Nexus
« Last post by dobst on February 16, 2017, 08:48:29 AM »
Mh, for me it's unclear what does not match against what? What does NeDi expect?
94
Installation / Re: Web Interface
« Last post by romain292 on February 16, 2017, 08:48:21 AM »
Hi!
I finalely succeeded!

Honestly, I don't very understand my errors, I have everything redone and it's run! :)

Sincerely,

Romain, a french contributor :)
95
Discovery / Re: Config Backup of Cisco Nexus
« Last post by ascii on February 16, 2017, 08:08:45 AM »
my N5K with NXOS 7 works with nexus OS in the .def

libcli
Code: [Select]
$cmd{'NXOS'}{'ropr'} = '[\w+().-]+>\s?$';
$cmd{'NXOS'}{'enpr'} = '[\w+().-]+#\s?$';
$cmd{'NXOS'}{'enab'} = 'enable';
$cmd{'NXOS'}{'page'} = 'terminal length 0';
$cmd{'NXOS'}{'dfwd'} = 'sh mac address-table dyn';
$cmd{'NXOS'}{'shcf'} = 'show running-config';
$cmd{'NXOS'}{'cfst'} = '^begin|running-config';
$cmd{'NXOS'}{'arp'} = 'sh ip arp vrf all';
96
Discovery / Re: Slot Message size exceeded buffer maxMsgSize
« Last post by dobst on February 16, 2017, 08:05:22 AM »
Hi Remo,

since I'm still running 1.0.9  :-[ I modified the following lines:

Code: [Select]
        my @maxrep = ();
        if($main::dev{$na}{rv} == 2){
                if($main::dev{$na}{os} eq "ESX"){                                                       # My ESXi works better this way, general problem?
                        @maxrep = (-maxrepetitions  => 3 );
                }else{
#                       @maxrep = (-maxrepetitions  => 25 );                                             # dobst 16.02.2017
                        @maxrep = (-maxrepetitions  => 5 );
                }
        }

Now modules are detected :-) Need to update to 1.5.0 :-) what is a bit difficult because I wrote an other GUI referring the old db scheme :-/
97
Discovery / Config Backup of Cisco Nexus
« Last post by dobst on February 15, 2017, 04:05:58 PM »
Hi everybody,

I trie to backup the config of a nexus device. But there's a pattern matching error:

Code: [Select]
Config (CLI)   ----------------------------------------------------------------
TEL :nedi@xxx.xxx.xxx.xxx:222 Tout:1s OS:NXOS EN:[\w+().-]+#\s?$
ERR0:pattern match timed-out

Yes, it's port 222. SSH login on tcp/222 with given password for nedi works. On IOS everything also is fine:

Code: [Select]
Config (CLI)   ----------------------------------------------------------------
SSH :nedi@xxx.xxx.xxx.xxx:22 Tout:1s OS:IOS EN:[\w+().-]+#\s?$
PTY :Forking ssh  -l nedi xxx.xxx.xxx.xxx
CLI2:Matched 'Password:' sending password
CLI3:Password sent
CLI4:Matched switch> (or gen. prompt with enpass & enable cmd), enabling
CLI7:Matched 'Password:' sending password
CLI8:Matched enable prompt, OK
CMD :terminal length 0,
CMD :show run OK
WAIT:Building configuration...
WAIT:
CONF:Current configuration : 103093 bytes

I suppose, nedi is expecting something that the switch is not delivering...
98
Installation / Re: Web Interface
« Last post by romain292 on February 15, 2017, 03:49:31 PM »
Hey Harry! Thank you for your answer  :)

In fact, I'have already config the Apache Directory.

Nedi is install in /var/
I'have configured 2 files of Apache: "/etc/apache2/sites-enabled/000-defalut.config" and "/etc/apache2/apache2.conf"

In the first, I'have changed
Code: [Select]
DocumentRoot /var/www/ for put
Code: [Select]
DocumentRoot /var/nedi I have also tried with
Code: [Select]
DocumentRoot /var/nedi/html but nothing has change.
Same operation for the other file.

But when I type my IP adress, it's always apache page.

I'm definitely lost :(
99
Installation / Re: Web Interface
« Last post by harry on February 14, 2017, 10:42:02 PM »
You need to config the Apache directory statement in config file to point it to /var/nedi or where ever your Nedi directory  is extracted
100
Installation / Web Interface
« Last post by romain292 on February 13, 2017, 09:23:40 AM »
Hi everybody!

I've install nedi on a Ubuntu machine and do the configurations but I have a stupid question:
"How can we acces to the interface web??"

When I type my IP address on my browser, I have my apache page displayed, and not the web nedi.

Thank you !  :)
Pages: 1 ... 8 9 [10]