Welcome, Guest. Please login or register.

Author Topic: Cisco 4006 no nodes discoverd / Cisco 3524/3548 no serial  (Read 3434 times)

rohrbage

  • Guest
Cisco 4006 no nodes discoverd / Cisco 3524/3548 no serial
« on: September 29, 2009, 10:22:58 AM »
I have nedi1.04 running on opensuse 11.1 64bit.

Im working with a seed-list, about 25 Cisco switches are scanned:

In general we are using 3 differnet types:

Cisco 3524 * 5
Cisco 3548 * 10

Cisco 4006 *5


All devices are shown in the device list, so they are discoverd by my seedlist.


The 4006 Units do show the serial number,
but I figured out that no nodes are discoverd.
Had anybody the same issues and solved it?
Where I do have to start searching for the problem?

All the 4006 do have this OS:
cat4000-k9.8-4-11-GLX.bin (CatOS)
WS-C4006 Cisco Systems, Inc. WS-C4006 Cisco Catalyst Operating System Software, Version 8.4(11)GLX Copyright (c) 1995-2006 by Cisco Systems, Inc

I would like to have all the MAC-Address, that are connected to a switch discovered in the mysql database.
With the 3524/3548 this seems to work perfect.



On some of the 3524/3548 there is not the serial shown, but all connected devices are discovered.

This is a device that does not show serial:
c3500XL-c3h2s-mz.120-5.WC3b.bin (IOS)
WS-C3548-XL-EN Cisco Internetwork Operating System Software IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5)WC3b, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Fri 15-Feb-02 10:51 by antonino

Another devices, that also does not show the serial
c3500XL-c3h2s-mz-120.5.2-XU.bin (IOS)

WS-C3548-XL-EN Cisco Internetwork Operating System Software IOS (tm) C3500XL Software (C3500XL-C3H2S-M), Version 12.0(5.2)XU, MAINTENANCE INTERIM SOFTWARE Copyright (c) 1986-2000 by cisco Systems, Inc. Compiled Mon 17-Jul-00 18:29 by ayounes


This shows serial:
c3500XL-c3h2s-mz-120.5.2-XU.bin (IOS)


Regards Gerald

rufer

  • Guest
Re: Cisco 4006 no nodes discoverd / Cisco 3524/3548 no serial
« Reply #1 on: October 01, 2009, 07:48:52 AM »
Some of the C3548/C3524 use different OID for the serial numbers. It's odd, it doesn't depend on software version but somehow on hardware version or moon phase.

Make an SNMP walk over the switch and pick the OID that contains the right serial number. Then put that OID in the DEF File and test if it works for all switches.

Here's what I had in my DEF file (but we don't use these switches any more):
#1.3.6.1.4.1.9.1.278.def
Serial  1.3.6.1.2.1.47.1.1.1.1.11.1

Here's another variant I found in some archived DEF files:
Serial   1.3.6.1.4.1.9.3.6.3.0

(note there is a tab between Serial and the OID)

Greetings
Rufer

rohrbage

  • Guest
Re: Cisco 4006 no nodes discoverd / Cisco 3524/3548 no serial
« Reply #2 on: October 01, 2009, 05:12:33 PM »
Thanks rufer,

that points me in the right direction.
I changed some .defs , it picks up the serial now.

I think I have to add 1 or 2 .defs.
Can I just copy  an existing one to another name, and make some modifications.?
Where comes the naming convention from?

For the 4006 I think also the .def has changed, I will compair in detail with the old ones.
This has worked at least on one 4006 unit.

Gerald

rohrbage

  • Guest
Re: Cisco 4006 no nodes discoverd / Cisco 3524/3548 no serial
« Reply #3 on: October 02, 2009, 01:06:16 PM »
Still I have some problems with version with version 1.04

On the WS-C3524tXLEn devices the serial is not shown.
I tried using snmpwalk, but I was not able to find the serial.
I think I use the wrong parameters, it seems not to search the whoole tree.

snmpwalk -cXXXX -v1 >test.txt

As I wrote before, on the 4006 the MAC tables are not filled.
This seems to happen only on 1.04 version, but not on 1.0-rc6.
The .defs arre the same for both version.
Has someone a hint for me.

Gerald


rufer

  • Guest
Re: Cisco 4006 no nodes discoverd / Cisco 3524/3548 no serial
« Reply #4 on: October 05, 2009, 11:54:44 AM »
The naming convention is <sysoid>.def
You can get the sysoid by snmpget:
Code: [Select]
snmpget -v1 -c community -On host 1.3.6.1.2.1.1.2.0
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.9.1.564

(or just use defgen in the web interface)

PS: An old but good Windows tool for snmp queries is Getif (google!).

Greetings
Rufer

rohrbage

  • Guest
Re: Cisco 4006 no nodes discoverd / Cisco 3524/3548 no serial
« Reply #5 on: October 10, 2009, 04:00:27 PM »
So I get no the serials, that not anymore the task.


But still the node table is not filled for the Cisco 4006 units.
As I'm not a perl expert, can someone name me which module is responsible for the MAC addresses:
Is it libcli-sshnet.pl or the lib-snmp.pl

Regards

Gerald