Welcome, Guest. Please login or register.

Author Topic: Switch Planet  (Read 268 times)

pasubio

  • Newbie
  • *
  • Posts: 8
    • View Profile
Switch Planet
« on: May 08, 2017, 09:04:53 AM »
We currently use many Planet switches (e.g. IGS-10080MFT, IGS-10020MT, IGS-4215-4P4T2S, ...) for industrial/outdoor environment. No problem with discovery, but we are not able to backup configuration...
In the definition file that we created with templates OS field is filled with Other. Maybe that's the problem.
Do any of you know what is the right value for OS field with Planet switches?
Thank you for your attention.
« Last Edit: May 12, 2017, 09:27:33 AM by pasubio »

Hannu Liljemark

  • Full Member
  • ***
  • Posts: 119
  • Here to help
    • View Profile
Re: Switch Planet
« Reply #1 on: May 12, 2017, 12:25:41 AM »
Hi

perhaps there's no support for that brand of switches at the moment. If that's the case then you should watch Remo's defgen tutorial youtube video linked on the http://www.nedi.ch/documentation/expand/ page to get started.

Planet CLI guide (I found it from http://ftp.asm.cz/Planet/VIP-100T/Manual/EM_VIP100TCLIV1.pdf) seems to say 'sysconf -print' is used to print the configuration. I doubt there's any other vendor with that syntax, so you need to add a new OS type to use the right CLI commands for config backup.

Br,
Hannu

pasubio

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Switch Planet
« Reply #2 on: May 12, 2017, 09:27:01 AM »
Thank you Hannu.
We will try with defgen.
Any contribution of other NeDi users will be appreciated!! :)

Hannu Liljemark

  • Full Member
  • ***
  • Posts: 119
  • Here to help
    • View Profile
Re: Switch Planet
« Reply #3 on: May 12, 2017, 07:10:23 PM »
Couple of years ago I added support for Extreme Networks wireless controller, and here's reference to what I did back then: http://forum.nedi.ch/index.php?topic=1957.0

Br,
Hannu

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2528
    • View Profile
    • NeDi
Re: Switch Planet
« Reply #4 on: May 14, 2017, 01:49:18 PM »
I've defined one of those, but CPU, Mem etc. is missing. Maybe you find more OIDs:

# Definition for 1.3.6.1.4.1.10456.1.1527 created by Defgen 2.0 on 14.May 2017 (admin)
 
# Main
SNMPv   2HC
Type   XGSW-28040HP
Typoid   
Sysdes   
OS   other
Icon   w3an
Size   1
Uptime   U
Bridge   qbri
ArpND   
Dispro   
Serial   1.3.6.1.2.1.47.1.1.1.1.11.1
Bimage   
CfgChg   
CfgWrt   
FTPConf   
VLnams   1.3.6.1.2.1.17.7.1.4.3.1.1
VLnamx   
Group   
Mode   
 
# Interfaces
StartX   
EndX   
IFname   
IFaddr      
IFalia   
IFalix   
InBcast   
InDisc   1.3.6.1.2.1.2.2.1.13
OutDisc   
IFvlan   1.3.6.1.2.1.17.7.1.4.5.1.1   Q
IFvlix   
IFpowr      
IFpwix   
IFdupl   1.3.6.1.2.1.10.7.2.1.19
IFduix   
Halfdp   
Fulldp   
 
# Modules
Modesc   
Moclas   
Movalu   
Moslot   
Modhw   
Modsw   
Modfw   
Modser   
Momodl   
Modloc   
Mostat   
Mostok   
 
# RRD Graphing
CPUutl         
Temp         
MemCPU         
Custom         
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

pasubio

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Switch Planet
« Reply #5 on: May 15, 2017, 02:35:19 PM »
We are mainly interested in configuration backup (now nothing is done:
Code: [Select]
PPOL :No actions triggered), rather than usage information.
Is this depend on "other" OS value set in .def file?
In this case how can we add the missing settings (related, we think, to the commands to be used)?

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2528
    • View Profile
    • NeDi
Re: Switch Planet
« Reply #6 on: May 15, 2017, 03:09:17 PM »
You need to hardcode it:
  • Create a new OS variable in libcli.pm
  • Set the same os in .def file
  • Watch my CLI tutorial for debugging

Alternatively, I'll have a look at it, if you let me access one via internet...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo