Welcome, Guest. Please login or register.

Author Topic: Foundry FWS4802-PREM  (Read 4911 times)

tejinashi

  • Guest
Foundry FWS4802-PREM
« on: November 15, 2011, 08:36:25 PM »
I created a def file for this switch. However VLAN mapping it not quite working right:

For example:

SNMP:Connect X.X.X.X XXXXX v2 Tout:2s MaxMS:1472
SERN:Serial number =
BOOT:Image = B2R08001t
VLAN:   1 = DEFAULT-VLAN
VLAN:   7 = C1113_GaOnline_Private_Ltd
VLAN:   8 = Single-spanning-tree-vlan
VLAN:   3 = WANS_Services
VLAN:   5 = C1176_J_Henr
VLAN:   2 = WANS_Management
VLAN:   6 = C1113_GaOnline
VLAN:   4 = TokyoAreaLayer2VLAN
CPU :Utilization = 1%
MEM :Available memory 59291352Bytes
TEMP:Environment = 73 Degrees Celcius

I have attached the def file. I believe it's setup right, but I don't know which bridge mode to choose, and I'm not sure if the
IFvlix  1.3.6.1.4.1.1991.1.1.3.3.1.1.38

feature of NeDi is working.

If anyone can help, it'd be greatly appreciated.

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2786
    • View Profile
    • NeDi
Re: Foundry FWS4802-PREM
« Reply #1 on: November 19, 2011, 12:05:34 PM »
I know I really should get those tutorials up soon!

If you walk the IF vlan (green "runner" button) in Defgen and the rightmost oid value corresponds with the real IF index, you won't need anything in IFvlix.

You can test the bridge as well with those buttons next to the select box. dot1q is the preferred mode, since it supports IVL. Vlan indexing on the other hand is mainly used by Cisco.
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

tejinashi

  • Guest
Re: Foundry FWS4802-PREM
« Reply #2 on: November 20, 2011, 12:26:40 AM »
IFVlan does not correspond to the IfIndex OID. So I assumed I need an If Index, I included what I found to be the ifIndex below in the def file. When I do that, I get the following error output from NeDi test.

Seems like this is the right index I need (output of walk below): 1.3.6.1.4.1.1991.1.1.3.3.1.1.38

/opt/wansecurity/bin/perl ./nedi.pl -v -t 199.47.199.2

...
IDNT:Name = kawasaki-core01
SOBJ:Reading 1.3.6.1.4.1.1991.1.3.21.2.def
...



Identify     ------------------------------------------------------------------
SNMP:Connect x.x.x.x XXXXXX v2 Tout:2s MaxMS:1472
IDNT:Name = kawasaki-core01
SOBJ:Reading 1.3.6.1.4.1.1991.1.3.21.2.def
SYS :Con=WANSecurity NOC +1 213.785.7802 Loc=Kawasaki;1-1-1代一口;WANSecurity;2FColoRoom
SYS :OS=Ironware SV=6 TY=Foundry Networks, Inc. Stackable FI4802-PREM

Enterprise   ------------------------------------------------------------------
SNMP:Connect x.x.x.x ro-commstring v2 Tout:2s MaxMS:1472
SERN:Serial number =
BOOT:Image = B2R08001t
Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: Use of uninitialized value $vl in pattern match (m//) at ./inc/libsnmp.pm line 446.
Use of uninitialized value $vl in concatenation (.) or string at ./inc/libsnmp.pm line 451.
VLAN:No numeric vlid: CPU :Utilization = 1%
MEM :Available memory 59412192Bytes


This is what I get when I use the following OID: 1.3.6.1.4.1.1991.1.1.3.3.1.1.38

I need to use something because the index does not match the IF ID. I cannot find another index in the SNMP MIB.

If Name:

nedi267# snmpwalk -v2c -c $rocomm kawasaki-core01 .1.3.6.1.2.1.31.1.1.1.1
IF-MIB::ifName.1 = STRING: ethernet1
IF-MIB::ifName.2 = STRING: ethernet2
IF-MIB::ifName.3 = STRING: ethernet3
IF-MIB::ifName.4 = STRING: ethernet4
IF-MIB::ifName.5 = STRING: ethernet5
IF-MIB::ifName.6 = STRING: ethernet6
IF-MIB::ifName.7 = STRING: ethernet7
IF-MIB::ifName.8 = STRING: ethernet8
IF-MIB::ifName.9 = STRING: ethernet9
IF-MIB::ifName.10 = STRING: ethernet10
IF-MIB::ifName.11 = STRING: ethernet11
IF-MIB::ifName.12 = STRING: ethernet12
IF-MIB::ifName.13 = STRING: ethernet13
IF-MIB::ifName.14 = STRING: ethernet14
IF-MIB::ifName.15 = STRING: ethernet15
...
...


IF Alias
nedi267# snmpwalk -v2c -c $rocomm kawasaki-core01 .1.3.6.1.2.1.31.1.1.1.18
IF-MIB::ifAlias.1 = STRING: DropFromUSEN
IF-MIB::ifAlias.2 = STRING: wans-ds-jp029
IF-MIB::ifAlias.3 = STRING: wans-ds-jp031
IF-MIB::ifAlias.4 = STRING: wans-ds-jp028
IF-MIB::ifAlias.5 = STRING: wans-ds-jp030
IF-MIB::ifAlias.6 = STRING: wans-ds-jp027
IF-MIB::ifAlias.7 = STRING: wans-ds-jp032
IF-MIB::ifAlias.8 = STRING: wans-ds-jp017
IF-MIB::ifAlias.9 = STRING: wans-ds-jp014
IF-MIB::ifAlias.10 = STRING: wans-ds-jp016
IF-MIB::ifAlias.11 = STRING: wans-ds-jp015
IF-MIB::ifAlias.12 = STRING:
IF-MIB::ifAlias.13 = STRING: wans-ds-kw16
IF-MIB::ifAlias.14 = STRING:
IF-MIB::ifAlias.15 = STRING:
...
...


IF VLAN
/nedi267# snmpwalk -v2c -c $rocomm kawasaki-core01 .1.3.6.1.4.1.1991.1.1.3.3.1.1.50
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.257 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.258 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.259 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.260 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.261 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.262 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.263 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.264 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.265 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.266 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.267 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.268 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.269 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.270 = INTEGER: 177
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.271 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.272 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.273 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.274 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.275 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.276 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.277 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.278 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.279 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.280 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.281 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.282 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.283 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.284 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.285 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.286 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.287 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.288 = INTEGER: 188
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.289 = INTEGER: 102
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.290 = INTEGER: 102
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.291 = INTEGER: 102
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.292 = INTEGER: 102
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.293 = INTEGER: 102
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.294 = INTEGER: 102
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.295 = INTEGER: 102
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.50.296 = INTEGER: 102
...
...


I know this is an index to the actual if Index. How do i make this work with NeDi?

/nedi267# snmpwalk -v2c -c $rocomm kawasaki-core01 .1.3.6.1.4.1.1991.1.1.3.3.1.1.38
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.257 = INTEGER: 1
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.258 = INTEGER: 2
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.259 = INTEGER: 3
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.260 = INTEGER: 4
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.261 = INTEGER: 5
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.262 = INTEGER: 6
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.263 = INTEGER: 7
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.264 = INTEGER: 8
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.265 = INTEGER: 9
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.266 = INTEGER: 10
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.267 = INTEGER: 11
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.268 = INTEGER: 12
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.269 = INTEGER: 13
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.270 = INTEGER: 14
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.271 = INTEGER: 15
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.272 = INTEGER: 16
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.273 = INTEGER: 17
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.274 = INTEGER: 18
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.275 = INTEGER: 19
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.276 = INTEGER: 20
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.277 = INTEGER: 21
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.278 = INTEGER: 22
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.279 = INTEGER: 23
SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.280 = INTEGER: 24



SNMPv2-SMI::enterprises.1991.1.1.3.3.1.1.38.257 = INTEGER: 1 =~ ethernet1 =~ VLAN 177 =~ 

Am I missing something simple?


« Last Edit: November 20, 2011, 12:32:57 AM by tejinashi »

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2786
    • View Profile
    • NeDi
Re: Foundry FWS4802-PREM
« Reply #3 on: November 20, 2011, 10:20:52 AM »
Looks like you're not getting a response from the vlan index (in perl). I noticed Foundry also requiring maxmsgsize to be set sometimes...

Can you try adding an parameter to Connect() at line 351 of libsnmp.pl. try values between 1000 and 5000. Maybe this does the trick...
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2786
    • View Profile
    • NeDi
Re: Foundry FWS4802-PREM
« Reply #4 on: November 20, 2011, 08:03:01 PM »
Ok, solved! Thanks for letting me have a look...

This .def should work as expected (pls verify, whether the hosts are mapped correctly):

Code: [Select]
# Definition for 1.3.6.1.4.1.1991.1.3.21.2 created by Defgen 1.8 on 20.Nov 2011 (admin)

# General
SNMPv 2HC
Type Foundry Networks, Inc. Stackable FI4802-PREM
Typoid
Sysdes
OS Ironware
Icon c3ad
Bridge qbri
Dispro FDP
Serial 1.3.6.1.4.1.1991.1.1.1.1.2.0
Bimage 1.3.6.1.4.1.1991.1.1.2.1.49.0

# Vlan Specific
VLnams 1.3.6.1.4.1.1991.1.1.3.2.1.1.25
VLnamx 1.3.6.1.4.1.1991.1.1.3.2.1.1.2
VTPdom
VTPmod

# Interfaces
IFname 1.3.6.1.2.1.31.1.1.1.1
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.4.1.1991.1.1.3.3.1.1.50
IFvlix 1.3.6.1.4.1.1991.1.1.3.3.1.1.38
IFpowr
IFpwix
IFdupl 1.3.6.1.4.1.1991.1.1.3.3.1.1.4
IFduix 1.3.6.1.4.1.1991.1.1.3.3.1.1.38
Halfdp 1
Fulldp 2

# Modules
Modesc
Moclas
Movalu
Moslot 1.3.6.1.4.1.1991.1.1.2.8.1.1.1
Modhw 1.3.6.1.4.1.1991.1.1.2.2.1.1.2
Modsw
Modfw
Modser 1.3.6.1.4.1.1991.1.1.2.8.1.1.6
Momodl 1.3.6.1.4.1.1991.1.1.2.2.1.1.2

# RRD Graphing
CPUutl 1.3.6.1.4.1.1991.1.1.2.1.52.0
Temp 1.3.6.1.4.1.1991.1.1.1.1.18.0
MemCPU 1.3.6.1.4.1.1991.1.1.2.1.55.0
Custom
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo

tejinashi

  • Guest
Re: Foundry FWS4802-PREM
« Reply #5 on: November 21, 2011, 04:37:08 AM »
Wow Remo great!

Nodes, Duplex, VLANs, If Desc, Speed, all working on Foundry FWS4802-PREM, what was the secret?

I found it:

VLnamx  1.3.6.1.4.1.1991.1.1.3.3.1.1.38

should have been

VLnamx  1.3.6.1.4.1.1991.1.1.3.2.1.1.2

Thank you so much for fixing my def file. Shame on me for thinking there may be a bug in NeDi. :)

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2786
    • View Profile
    • NeDi
Re: Foundry FWS4802-PREM
« Reply #6 on: November 21, 2011, 07:46:08 PM »
No worrie, there are enough bugs in there   ;)
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo