Welcome, Guest. Please login or register.

Author Topic: Anyone got definition files for D-LINK switches?  (Read 5339 times)

vias79

  • Newbie
  • *
  • Posts: 15
    • View Profile
Anyone got definition files for D-LINK switches?
« on: January 31, 2014, 04:53:47 PM »
We've recently aquired ~170st D-LINK switches. I really want to make this work well with Nedi. I've got some info via standard NET-SNMP calls but perhaps there's someone with more insight in the right values for these? I can't for instance get the ARP values nor MAC address information from them.

The switches I've tried the following defgen is on these:
DGS-3120-24TC
DGS-3324SR
DES-3828
DES-3528


Here's the defgen I use:

# General
SNMPv   2
Type   DES-3828
Typoid   
Sysdes   1.3.6.1.2.1.1.1.0
OS   other
Icon   w2on
Size   1
Bridge   normalX
ArpND   old
Dispro   LLDPXN
Serial   1.3.6.1.2.1.17.1.1.0
Bimage   
CfgChg   
CfgWrt   
VLnams   
VLnamx   
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   
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   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   1.3.6.1.2.1.10.7.2.1.1
Halfdp   2
Fulldp   3
 
# Modules
Modesc   
Moclas   
Movalu   
Moslot   
Modhw   
Modsw   
Modfw   
Modser   
Momodl   
 
# RRD Graphing
CPUutl      
Temp      
MemCPU      
Custom      

vias79

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Anyone got definition files for D-LINK switches?
« Reply #1 on: February 10, 2014, 11:20:39 AM »
I did a net-snmp walk of one of the D-LINKs, I'm not that good on reading up on the values. Perhaps someone can help?

The command I used:
snmpwalk -O fn -v 2c -c public IP-to-switch -m NET-SNMP-MIB  > des3828.txt

Attaching the output.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2691
    • View Profile
    • NeDi
Re: Anyone got definition files for D-LINK switches?
« Reply #2 on: February 10, 2014, 05:55:32 PM »
You should find a lot of interesting stuff doing: snmpwalk -O fn -v 2c -c public IP-to-switch 1.3.6.1.4.1
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

vias79

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Anyone got definition files for D-LINK switches?
« Reply #3 on: February 11, 2014, 10:51:58 AM »
You should find a lot of interesting stuff doing: snmpwalk -O fn -v 2c -c public IP-to-switch 1.3.6.1.4.1

Could you help me demystify the output? I've sadly no skill in making these defgen files from the snmp oid values :)

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2691
    • View Profile
    • NeDi
Re: Anyone got definition files for D-LINK switches?
« Reply #4 on: February 11, 2014, 06:18:09 PM »
Watch the Defgen video :-)

Sometimes it helps to create Vlans like 1717 "sometext" and check where this occurs in the walk...

The first device of a family is the most difficult one, it'll get easier afterwards!
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

leckermojito

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Anyone got definition files for D-LINK switches?
« Reply #5 on: April 02, 2014, 05:07:24 PM »
We are also using D-Link switches.
Most of them are DGS-3100 24 Port, from single switch to a stack of 6 switches.

We are currently also dealing with the definition files and are stuck in some problems.
The major of the .def file works. The problems we are currently working on is on the "Modules" section.

when we put option 1 in the "Slot" OID all of our switches are shown as a stack of 6 switches, but we can see the Serialnumber of all stacked switches.
Option 2 shows the correct number of stack members but there are no serialnumbers.

Now we have to combine this  8)

Maybe i can post our def file tomorrow.

Hava an nice day

cheers

Benjamin
cheers

Benjamin

vias79

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Anyone got definition files for D-LINK switches?
« Reply #6 on: April 03, 2014, 08:54:04 AM »
Thank you, please post your defgens. I've made some inroads in mine too. Here's my updated versions.
As you can see my modules section is empty for now, not sure if all of my other values are really working. So your files is deeply appreciated :)

DES-3828:
# Definition for 1.3.6.1.4.1.171.10.69.1 created by Defgen 1.8 on 3.Apr 2014 (admin)
 
# General
SNMPv   2
Type   DES-3828
Typoid   
Sysdes   1.3.6.1.2.1.1.1.0
OS   other
Icon   w2on
Size   1
Bridge   qbri
ArpND   oldphy
Dispro   LLDPX
Serial   
Bimage   
CfgChg   
CfgWrt   
VLnams   1.3.6.1.4.1.171.12.28.3.1.1.2
VLnamx   
Group   
Mode   
 
# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   oldadr
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   
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   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   1.3.6.1.2.1.10.7.2.1.1
Halfdp   2
Fulldp   3
 
# Modules
Modesc   
Moclas   
Movalu   
Moslot   
Modhw   
Modsw   
Modfw   
Modser   
Momodl   
 
# RRD Graphing
CPUutl      
Temp      
MemCPU      
Custom      

DGS-3120-24SC:
# Definition for 1.3.6.1.4.1.171.10.117.1.3 created by Defgen 1.8 on 3.Apr 2014 (admin)
 
# General
SNMPv   2
Type   DGS-3120-24SC
Typoid   
Sysdes   1.3.6.1.2.1.1.1.0
OS   other
Icon   w2on
Size   1
Bridge   qbri
ArpND   oldphy
Dispro   LLDPX
Serial   
Bimage   
CfgChg   
CfgWrt   
VLnams   1.3.6.1.4.1.171.11.117.1.3.2.17.1.1.1
VLnamx   
Group   
Mode   
 
# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   oldadr
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   
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   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   1.3.6.1.2.1.10.7.2.1.1
Halfdp   2
Fulldp   3
 
# Modules
Modesc   
Moclas   
Movalu   
Moslot   
Modhw   
Modsw   
Modfw   
Modser   
Momodl   
 
# RRD Graphing
CPUutl      
Temp      
MemCPU      
Custom      

DES-3528:
# Definition for 1.3.6.1.4.1.171.10.105.1 created by Defgen 1.8 on 3.Apr 2014 (admin)
 
# General
SNMPv   2
Type   DES-3528
Typoid   
Sysdes   1.3.6.1.2.1.1.1.0
OS   other
Icon   w2on
Size   1
Bridge   normalX
ArpND   oldphy
Dispro   LLDPX
Serial   1.3.6.1.2.1.17.1.1.0
Bimage   
CfgChg   
CfgWrt   
VLnams   1.3.6.1.4.1.171.11.105.1.2.17.1.1.1
VLnamx   
Group   
Mode   
 
# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   oldadr
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   
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   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   1.3.6.1.2.1.10.7.2.1.1
Halfdp   2
Fulldp   3
 
# Modules
Modesc   
Moclas   
Movalu   
Moslot   
Modhw   
Modsw   
Modfw   
Modser   
Momodl   
 
# RRD Graphing
CPUutl      
Temp      
MemCPU      
Custom      

DGS-3120-24TC
# Definition for 1.3.6.1.4.1.171.10.117.1.1 created by Defgen 1.8 on 3.Apr 2014 (admin)
 
# General
SNMPv   2
Type   DGS-3120-24TC
Typoid   
Sysdes   1.3.6.1.2.1.1.1.0
OS   other
Icon   w2on
Size   1
Bridge   qbri
ArpND   oldphy
Dispro   LLDPX
Serial   1.3.6.1.2.1.17.1.1.0
Bimage   
CfgChg   
CfgWrt   
VLnams   1.3.6.1.4.1.171.11.117.1.1.2.17.1.1.1
VLnamx   
Group   
Mode   
 
# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   oldadr
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   
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   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   1.3.6.1.2.1.10.7.2.1.1
Halfdp   2
Fulldp   3
 
# Modules
Modesc   
Moclas   
Movalu   
Moslot   
Modhw   
Modsw   
Modfw   
Modser   
Momodl   
 
# RRD Graphing
CPUutl      
Temp      
MemCPU      
Custom      

DGS-3324SR
# Definition for 1.3.6.1.4.1.171.10.59.5 created by Defgen 1.8 on 3.Apr 2014 (admin)
 
# General
SNMPv   2
Type   DGS-3324SR
Typoid   
Sysdes   1.3.6.1.2.1.1.1.0
OS   other
Icon   w2on
Size   1
Bridge   qbri
ArpND   oldphy
Dispro   LLDP
Serial   
Bimage   
CfgChg   
CfgWrt   
VLnams   1.3.6.1.4.1.171.11.59.5.2.11.3.1.1
VLnamx   
Group   
Mode   
 
# Interfaces
StartX   
EndX   
IFname   1.3.6.1.2.1.31.1.1.1.1
IFaddr   oldadr
IFalia   1.3.6.1.2.1.31.1.1.1.18
IFalix   
InBcast   
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   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   1.3.6.1.2.1.10.7.2.1.1
Halfdp   2
Fulldp   3
 
# Modules
Modesc   
Moclas   
Movalu   
Moslot   
Modhw   
Modsw   
Modfw   
Modser   
Momodl   
 
# RRD Graphing
CPUutl      
Temp      
MemCPU      
Custom      

leckermojito

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Anyone got definition files for D-LINK switches?
« Reply #7 on: April 03, 2014, 11:13:48 AM »
Our Definition File fpr the D-Link DGS-3100

# Definition for 1.3.6.1.4.1.171.10.94.1 created by Defgen 1.8 on 3.Apr 2014 (me)
 
# General
SNMPv   2
Type   D-LINK DGS-3100-24
Typoid   1.3.6.1.2.1.47.1.1.1.1.13.1
Sysdes   
OS   other
Icon   w2an
Size   1
Bridge   normal
ArpND   old
Dispro   LLDP
Serial   1.3.6.1.2.1.47.1.1.1.1.11.67108992
Bimage   1.3.6.1.4.1.171.10.94.89.89.2.4.0
CfgChg   
CfgWrt   
VLnams   1.3.6.1.2.1.17.7.1.4.3.1.1
VLnamx   
Group   
Mode   
 
# Interfaces
StartX   1
EndX   274
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   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   
Halfdp   
Fulldp   
 
# Modules
Modesc   1.3.6.1.2.1.47.1.1.1.1.2
Moclas   1.3.6.1.2.1.47.1.1.1.1.5
Movalu   3
Moslot   1.3.6.1.2.1.47.1.1.1.1.7
Modhw   1.3.6.1.2.1.47.1.1.1.1.8
Modsw   1.3.6.1.2.1.47.1.1.1.1.9
Modfw   1.3.6.1.2.1.47.1.1.1.1.10
Modser   1.3.6.1.2.1.47.1.1.1.1.11
Momodl   1.3.6.1.2.1.47.1.1.1.1.13
 
# RRD Graphing
CPUutl   1.3.6.1.4.1.171.10.94.89.89.1.7.0   
Temp   1.3.6.1.4.1.171.10.94.89.89.83.2.1.1.1.4.68420481   
MemCPU      
Custom      
cheers

Benjamin

vias79

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Anyone got definition files for D-LINK switches?
« Reply #8 on: April 03, 2014, 01:04:21 PM »
Thank you, sadly most of this didn't work. But I added the oid for VLAN Name and Broadcast inbound. Think you got some values you can take from my defgens too, like duplex val and I believe you need Q-bridge for the ARP/MAC tables.

Do you get alot of these when you run the "Discover Now"?

Interfaces ------------------------------------------------------------------
 IF : 6 1/6 100M FD 3 850 RMON Port 6 on 0
   ERR :ibr overflow, not updating
 IF : 7 1/7 100M FD 3 850 RMON Port 7 on 0
   ERR :ioc overflow, not updating
   ERR :ibr overflow, not updating