Welcome, Guest. Please login or register.

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Definition Files / Re: WANTED - .def files for Raisecom Gazelle series
« Last post by Hannu Liljemark on August 02, 2017, 11:46:49 AM »
Hi

If you simply login using telnet/putty, what does the switch prompt look like right after you've entered username and password? Does the prompt you see match the regexp you're using:

$cmd{'RaisecomOS'}{'ropr'} = '[\w.-]+\s>\s?$';
$cmd{'RaisecomOS'}{'enpr'} = '[\w.-]+\s#\s?$';

Sometimes the switch gives you full access after entering username and password, and it's not necessary to do "enable". For those cases you can see in libcli.pm for example:

$cmd{'FortiOS'}{'ropr'} = 'GitsDoNid';
$cmd{'FortiOS'}{'enpr'} = '[\w+().-]+\$\s?$';

There is no "$cmd{'FortiOS'}{'enab'} = 'enable';" because after login you have all the privileges you need.

So, I wonder how these Raisecom devices behave, if they require you to use a enable-like command or if you can do the "show startup-config" right after entering login and password? That will affect what you need for RaisecomOS in libcli.pm.

Br,
Hannu
12
Definition Files / Re: WANTED - .def files for Raisecom Gazelle series
« Last post by pasubio on August 02, 2017, 09:29:58 AM »
Version: NeDiO14
Added the following code to /var/nedi/inc/libcli.pm

Code: [Select]
# Raisecom
$cmd{'RaisecomOS'}{'ropr'} = '[\w.-]+\s>\s?$';
$cmd{'RaisecomOS'}{'enpr'} = '[\w.-]+\s#\s?$';
$cmd{'RaisecomOS'}{'enab'} = 'enable';
$cmd{'RaisecomOS'}{'shcf'} = 'show running-config';
$cmd{'RaisecomOS'}{'cfst'} = '\sSystem current configuration:';
$cmd{'RaisecomOS'}{'page'} = 'terminal page-break disable';

and new entry in /var/nedi/html/Other-Defgen.php.
I also created a specific .def file for my device using the "light bulb" completion.

Where are the files input.log and output.log used in CLI tutorial for debugging?

We have two kinds of problem:

1. in SNMP discovery:
Code: [Select]
IfAddresses  ------------------------------------------------------------------
IFIP:No useip policy set, always using discovered IPs
SNMP:Connect 172.18.0.222 public v2 Tout:2s MaxMS:1472 Retry:1 NB:0
IFIP:Walking ifaddress table
ERR :ifAddressTable The requested table is empty or does not exist

DisProtocol  ------------------------------------------------------------------
SNMP:Connect 172.18.0.222 public v2 Tout:7s MaxMS:4095 Retry:1 NB:0
ERR :LLDP nbr The requested table is empty or does not exist

Modules      ------------------------------------------------------------------
SNMP:Connect 172.18.0.222 public v2 Tout:2s MaxMS:1472 Retry:1 NB:0
MOD :Walking module description
ERR :Description The requested table is empty or does not exist

2. in backup configuration (the passwords are correct):
Code: [Select]
SSH :raisecom@172.18.0.222:22 Tout:2s OS:RaisecomOS EN:[\w.-]+\s#\s?$
PTY :Forking ssh -o 'StrictHostKeyChecking no' -l raisecom 172.18.0.222
CLI0:Connection refused
TEL :raisecom@172.18.0.222:23 Tout:2s OS:RaisecomOS EN:[\w.-]+\s#\s?$
CLI2:Matched 'Login:' sending username
CLI3:Username raisecom sent
CLI3:Matched 'Password:' sending password
CLI3:Password sent
ERR3:pattern match timed-out

Any hints?
Thank you

13
Definition Files / Re: WANTED - .def files for Raisecom Gazelle series
« Last post by pasubio on August 01, 2017, 10:16:48 PM »
Thank you Hannu. I'm just trying this!
I will let you know
14
Definition Files / Re: Wanted - Juniper ex4300 definition file
« Last post by healy@bnl.gov on August 01, 2017, 06:59:21 PM »
So does anyone have an idea why putting this OID into the PVID field defgen: 1.3.6.1.2.1.17.7.1.4.5.1.1 and "running it" shows the list of port vlans in the popup window (output) yet . . .  port vlan index still won't show in discover?

# Definition for 1.3.6.1.4.1.2636.1.1.1.2.63 created by Defgen 2.0 on 1.Aug 2017 (healy@bnl.gov)
 
# Main
SNMPv   2HC
Type   Ex4300-BNL
Typoid   
Sysdes   
OS   JunOS
Icon   w3an
Size   1
Bridge   qbriX
ArpND   old
Dispro   LLDP
Serial   1.3.6.1.4.1.2636.3.1.3.0
Bimage   1.3.6.1.2.1.54.1.1.1.1.4.2
CfgChg   
CfgWrt   
VLnams   1.3.6.1.2.1.17.7.1.4.3.1.1
VLnamx   1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5
Group   
Mode   
 
# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   old   
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   1.3.6.1.2.1.31.1.1.1.3
InDisc   1.3.6.1.2.1.2.2.1.13
OutDisc   1.3.6.1.2.1.2.2.1.19
IFvlan   1.3.6.1.2.1.17.7.1.4.5.1.1
IFvlix   1.3.6.1.2.1.17.7.1.4.5.1.1
IFpowr      
IFpwix   
IFdupl   
IFduix   
Halfdp   
Fulldp   
 
# Modules
Modesc   1.3.6.1.4.1.2636.3.1.8.1.6.7
Moclas   
Movalu   
Moslot   1.3.6.1.4.1.2636.3.1.8.1.2.7
Mostat   
Mostok   
Modhw   1.3.6.1.4.1.2636.3.1.8.1.10.7
Modsw   
Modfw   1.3.6.1.4.1.2636.3.1.8.1.8.7
Modser   1.3.6.1.4.1.2636.3.1.8.1.7.7
Momodl   1.3.6.1.4.1.2636.3.1.8.1.13.7
Modloc   
 
# RRD Graphing
CPUutl   1.3.6.1.4.1.2636.3.1.13.1.8.7.1.0.0   
Temp   1.3.6.1.4.1.2636.3.1.13.1.7.7.1.0.0   
MemCPU   1.3.6.1.4.1.2636.3.1.16.0   -%
Custom   Buffer;G;%   1.3.6.1.4.1.2636.3.1.13.1.11.7.1.0.0

15
Definition Files / Re: WANTED - .def files for Raisecom Gazelle series
« Last post by Hannu Liljemark on August 01, 2017, 06:17:31 AM »
Have you tried looking into adding the support yourself? It's good fun to learn, and involves modifying libcli.pm and Other-Defgen.php. Here's an example where I added support for Extreme Network's wireless controller: http://forum.nedi.ch/index.php?topic=1957.msg7931#msg7931

Also http://forum.nedi.ch/index.php?topic=2038.0 is a good discussion from few months back.

Br,
Hannu
16
Definition Files / WANTED - .def files for Raisecom Gazelle series
« Last post by pasubio on July 31, 2017, 02:55:38 PM »
Hi,

I'm searching for .def files for Raisecom Gazelle switches, mostly for configuration backup (=> OS support).
The command CLI for printing configuration is:
Code: [Select]
show startup-config
I can see that operating system is:
Code: [Select]
ROS version ROS_5.1.1.420Anyone can help me?

Thank you very much!
17
Definition Files / Re: Wanted - Juniper ex4300 definition file
« Last post by healy@bnl.gov on July 19, 2017, 09:29:22 PM »
This is a step in the right direction for sure, and i think much more interface info is present now,  thanks very much.  The "IF Name" is at least now "ge-0/*" instead of the snmp ifIndex NUMBER.  Sadly,  still doesn't bring up the port vlan index; they're all still "0" (zero)  so i guess 1.3.6.1.4.1.2636.3.40.1.5.1.5.1.5 isn't "it".  will dig at that next.

// this looks very much like the port vlan index, seems to match our config

$ snmpwalk -c xxxx -v 2c 10.248.120.105 1.3.6.1.2.1.17.7.1.4.5
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.490 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.491 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.492 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.493 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.494 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.495 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.496 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.497 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.498 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.499 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.500 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.501 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.502 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.503 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.504 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.505 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.506 = Gauge32: 27
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.507 = Gauge32: 252
SNMPv2-SMI::mib-2.17.7.1.4.5.1.1.508 = Gauge32: 27

not getting to far trying to use 1.3.6.1.2.1.17.7.1.4.5.1.1, but i'll keep at it (and accept any help! :)
18
Definition Files / Re: Wanted - Juniper ex4300 definition file
« Last post by rickli on July 14, 2017, 10:55:19 AM »
There's a bunch of similar ones available (check with nedi.pl -y). I'd use this one as template:
Juniper             Ex4200                        1.3.6.1.4.1.2636.1.1.1.2.31
19
Definition Files / Wanted - Juniper ex4300 definition file
« Last post by healy@bnl.gov on July 11, 2017, 09:39:42 PM »
Can someone please! share a working Juniper DEFINITION file - Especially, one that includes the port VLAN index in the interfaces list? I currently see all 0s for pvid.    If it's already in the forum. i apologize, but my search didn't find it.

We currently have just two models;   ex4300-32f & ex4300-48p - both running Junos: 16.1R3.10

 We'll be adding ex2300s later, but i'll cross that bridge...   I'm praying that i'm not the first one to deal with this.

Thanks in advance for any help!
20
GUI / Re: Scheduled downtime for devices
« Last post by ifonyo on July 11, 2017, 03:33:10 PM »
Hi Rickli,

Thanks for the reply, it was very helpfull.
So unfortunately i don't want to turn off the whole monitoring in the "System-Services" because i want to monitor other switches that are not under the maintenance plan.

In the "Monitoring-Setup" i can change the Monitor test to "no" value, until the maintanace is not over but it will be nice to have a form where we can put the "from" and "end" date to have it automatically turrned on because sometime IT guys are forget to turn it back for weeks. :)
Pages: 1 [2] 3 4 ... 10