Cisco 2960S switches only have info about vlan 1

Started by BillLortz, January 07, 2015, 03:53:11 AM

Previous topic - Next topic

BillLortz

I've been using NetXMS for a while, but recently installed version 1.2.17 on a Windows Server 2012 machine at a site that uses Cisco 2960S switches and 4500 switches.   

I use primarily 3 VLans for most of the traffic and don't use vlan 1.   NetXMS doesn't seem to show any information except for vlan 1.  When I look at the forwarding database, I only see vlan 1 related info.

I know that Cisco uses a modified form of the community string for vlans and have tried that without any better results.

I'm skeptical that the Catalyst driver is loading or working.   I just restarted the NetXMS server and don't see any mention about loading the network drivers.

[07-Jan-2015 01:35:32.010] Log file opened
[07-Jan-2015 01:35:32.026] [INFO ] Database driver "mysql.ddr" loaded and initialized successfully
[07-Jan-2015 01:35:38.711] [INFO ] Listening for SNMP traps on UDP socket 0.0.0.0:162
[07-Jan-2015 01:35:38.727] [INFO ] Listening for client connections on TCP socket 0.0.0.0:4701
[07-Jan-2015 01:35:38.727] [INFO ] Listening for client connections on TCP socket :::4701
[07-Jan-2015 01:35:38.727] [INFO ] NetXMS Server started
[07-Jan-2015 01:35:38.727] [INFO ] Listening for mobile device connections on TCP socket :::4747
[07-Jan-2015 01:35:38.727] [INFO ] Listening for mobile device connections on TCP socket 0.0.0.0:4747

I'm curious if this is a bug in the current version, or something odd about my configuration.

I did search to see how to determine which driver it is trying to use, but the articles are very old and refer to things I can't find on my system.

We don't install NetXMS in the standard "Program files" location for Windows.  We try to keep Windows Operating System stuff separated from the applications we install.   So, we install on C:\programs\NetXMS\NetXMS\  (Yes NetXMS is listed twice).  Within that directory, we have the standard installation (bin, database, doc, etc, lib directories).   Within the lib directory is a ndd directory which contains 19 files (including the catalyst.ndd and some other cisco ndds).

We are using SNMP polling for the switches and seem to be able to get SNMP data in DCI and SNMP Trap configuration.

Could you provide guidance on how to determine which NetXMS driver is in use for a switch?   Also, any other tips on how to debug this issue would be appreciated.

Bill

Victor Kirhenshtein

Hi,

if you select switch node in object tree, on verview page you'll see selected driver for that node. You can also run configuration poll manually - one of the messages will identify selected driver.

Best regards,
Victor

BillLortz

Thanks for your quick response.

It looks like the GENERIC driver is being selected.

Does GENERIC mean completely Generic or is it CATALYST_GENERIC (which is mentioned in the Wiki)? 

  • If it is Catalyst_generic, then what can I do to determine why it is only paying attention to VLan 1?
  • If it is completely generic, then what is the next step to determine why it isn't selecting the Catalyst drivers?    I did verify that snmpget returns a value ("9") for .1.3.6.1.4.1.9.5.1.2.14.0

Is there a way of determining which drivers are loaded?  I don't see any network drivers in the server log (which I posted in my first message).


When I do a configuration poll, this is the output:

[2015-01-07 08:04:45] **** Poll request sent to server ****
[2015-01-07 08:04:45] Poll request accepted
[2015-01-07 08:04:45] Starting configuration poll for node Edge-Switch-1
[2015-01-07 08:04:45] Checking node's capabilities...
[2015-01-07 08:04:45]    Checking SNMP...
[2015-01-07 08:04:45]    SNMP agent is active (version 2c)
[2015-01-07 08:04:45]    System description changed to Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 15.0(2)SE6, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2014 by Cisco Systems, Inc. Compiled Wed 09-Apr-14 03:09 by prod_rel_team
[2015-01-07 08:04:45]    System name changed to 0xee1400
[2015-01-07 08:04:46]    LLDP node ID changed to 4@6C9CEDEE1400
[2015-01-07 08:04:46] Capability check finished
[2015-01-07 08:04:46] Checking interface configuration...
[2015-01-07 08:04:46] Interface configuration check finished
[2015-01-07 08:04:46] Checking node name
[2015-01-07 08:04:47] Node name is OK
[2015-01-07 08:04:47] Finished configuration poll for node Edge-Switch-1
[2015-01-07 08:04:47] Node configuration was changed after poll
[2015-01-07 08:04:47] **** Poll completed successfully ****

I'm not sure about what you mean by verview, but I did see an object details option on the view menu.   When I've tried to pull that up before, I just got a blank page.    I tried a couple times, and this time I received the following on the general page.

ID=472
GUID=c1116b44-1ee4-8b40-9f0b-b905c296c3f1
Class=Node
Status=Normal
Primary Host Name=10.3.101.1
Primary IP Address=10.3.101.1
System Description=Cisco IOS Software, C2960S Software (C2960S-UNIVERSALK9-M), Version 15.0(2)SE6, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2014 by Cisco Systems, Inc. Compiled Wed 09-Apr-14 03:09 by prod_rel_team
SNMP sysName=0xee1400
SNMP Object ID=.1.3.6.1.4.1.9.1.1208
Bridge Base Address=6C:9C:ED:EE:14:00
Driver=GENERIC
Boot Time=2014-12-10 09:22:49



Victor Kirhenshtein

GENERIC means built-in generic driver. Seems that drivers are not loaded at all. Try to add the following line to netxmsd.conf:

LibraryDirectory = C:\programs\NetXMS\NetXMS\lib

and restart server.

Best regards,
Victor

BillLortz

Thanks again Victor for your quick response.

Your solution solved my problem.

The driver is now showing as Catalyst-Generic and the other vlans are being looked at.

Here is a copy of the new log:

[07-Jan-2015 17:59:56.465] Log file opened
[07-Jan-2015 17:59:56.481] [INFO ] Database driver "mysql.ddr" loaded and initialized successfully
[07-Jan-2015 17:59:56.904] [INFO ] Network device driver "AIRESPACE" loaded successfully
[07-Jan-2015 17:59:56.904] [INFO ] Network device driver "AT" loaded successfully
[07-Jan-2015 17:59:56.904] [INFO ] Network device driver "BAYSTACK" loaded successfully
[07-Jan-2015 17:59:56.919] [INFO ] Network device driver "CATALYST-2900XL" loaded successfully
[07-Jan-2015 17:59:56.935] [INFO ] Network device driver "CATALYST-GENERIC" loaded successfully
[07-Jan-2015 17:59:56.935] [INFO ] Network device driver "CISCO-ESW" loaded successfully
[07-Jan-2015 17:59:56.950] [INFO ] Network device driver "CISCO-SB" loaded successfully
[07-Jan-2015 17:59:56.950] [INFO ] Network device driver "DELL-PWC" loaded successfully
[07-Jan-2015 17:59:56.950] [INFO ] Network device driver "ERS8000" loaded successfully
[07-Jan-2015 17:59:56.966] [INFO ] Network device driver "H3C" loaded successfully
[07-Jan-2015 17:59:56.966] [INFO ] Network device driver "MIKROTIK" loaded successfully
[07-Jan-2015 17:59:56.966] [INFO ] Network device driver "NETSCREEN" loaded successfully
[07-Jan-2015 17:59:56.982] [INFO ] Network device driver "NTWS" loaded successfully
[07-Jan-2015 17:59:56.982] [INFO ] Network device driver "PING3" loaded successfully
[07-Jan-2015 17:59:56.982] [INFO ] Network device driver "PROCURVE" loaded successfully
[07-Jan-2015 17:59:56.982] [INFO ] Network device driver "SYMBOL-WS" loaded successfully
[07-Jan-2015 17:59:56.997] [INFO ] Network device driver "UBNT" loaded successfully
[07-Jan-2015 18:00:03.376] [INFO ] Listening for SNMP traps on UDP socket 0.0.0.0:162
[07-Jan-2015 18:00:03.392] [INFO ] NetXMS Server started
[07-Jan-2015 18:00:03.392] [INFO ] Listening for client connections on TCP socket 0.0.0.0:4701
[07-Jan-2015 18:00:03.392] [INFO ] Listening for client connections on TCP socket :::4701
[07-Jan-2015 18:00:03.392] [INFO ] Listening for mobile device connections on TCP socket 0.0.0.0:4747
[07-Jan-2015 18:00:03.392] [INFO ] Listening for mobile device connections on TCP socket :::4747

BillLortz

While your solution fixed my problem for the Cisco 2960S switches, my Cisco 4900M switch (which identifies itself as a 4500 series switch still uses a generic driver.

The Object ID=.1.3.6.1.4.1.9.1.917

I assume that the detection logic isn't aware of this switch.   Is there a way of tricking NetXMS into thinking it is another switch that is supported to see if it works?   

This is the software I'm running on the switch:
System Description=Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-IPBASEK9-M), Version 12.2(53)SG9, RELEASE SOFTWARE (fc2) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2013 by Cisco Systems, Inc. Compiled Tue 29-Jan-13 03:04 by p

I have two of these switches at the core of my network (they are 10GBit switches).   It would be nice if NetXMS recognized them.

Let me know if there is anything I can provide that would help.

Thanks in advance.