NeDi Community

NeDi Software Specific => Discovery => Topic started by: rohrbage on December 22, 2009, 08:53:16 AM

Title: Cisco 4006 - nodes discovery - MAC Address - CATOS
Post by: rohrbage on December 22, 2009, 08:53:16 AM
With the version 1.0.5 and 1.0.4 the nodes/ MAC addresses are not discovered.

This is working with version 1.0.

For the 3500 series is working fine, but on the 4006 is catos running.

I have compared the code of the version, it is different at some parts. But I'm not a perl expert,
so I have no idea where to search. I think the function is in libcli-netssh.
I can see there a function for IOS, but where the CATOS systems are handled.
And it works in the 1.0 version fine with the 4006, I'm getting all MAC addresses there.

I can see in the nedi frontend, that on the 4006 units the CLI port is 0, on the 3500 it is 23.
Did the way of accessing the MAC address tables changed?

Regards
Gerald
Title: Re: Cisco 4006 - nodes discovery - MAC Address - CATOS
Post by: rickli on December 24, 2009, 01:56:45 PM
Not much changed in that department. Even in 1.0, forwarding tables where read via snmp on CatOS. Did you do a backup, with the new installation yet? Cliport 0 means, it hasn't even tried CLI access yet...

Make sure getfwd is set (cli is fine) and have a look at f# value in the discovery output...

Title: Re: Cisco 4006 - nodes discovery - MAC Address - CATOS
Post by: rohrbage on January 18, 2010, 11:19:29 AM
Thanks,

I reinstalled again on another system, still the same issue.
getfdw is set to d ( standard) what should be fine.

Since my Nedi projects starts I have the problem that the nodes are not discovered.
I use a seedlist instead.

Our standard gateway is a astaro firewall with 192.168.1.1 address.
At this the discovery stops at the beginning.

I have tried to exclud eit without success


Gerald

Title: Re: Cisco 4006 - nodes discovery - MAC Address - CATOS
Post by: oxo on January 18, 2010, 08:57:02 PM
getfdw is set to d ( standard) what should be fine.
Not really: getfwd is cli as standard
- that is:
getfwd<tab>cli

Make sure it is a tab between getfwd and cli
Title: Re: Cisco 4006 - nodes discovery - MAC Address - CATOS
Post by: rohrbage on January 20, 2010, 12:43:18 PM
Thanks OXO,

but this has not helped.

Still CLI port is set to 0 in the database.

But on the old NEDI version it is the same, but the MAC addresses are collected to the database.
Im not a perl expert, so I have no idea where to search.
CLI means telnet or do I have to switch something special on the switches.
Im able to connect to the Cisco 4006 switches by telnet.

How can I debug the perl scripts?


Gerald
Title: Re: Cisco 4006 - nodes discovery - MAC Address - CATOS
Post by: oxo on January 20, 2010, 01:01:02 PM
OK let's just make sure while I think about it
Make a copy of the libmisc.pl
Edit libmisc.pl at line 120 and add die ...
Code: [Select]
}
}
 
die "\nGETFWD=$getfwd\n";

}

#===================================================================
# Load NIC vendor database (extracts vendor information from the oui.txt and iab.txt files)
# download to ./inc from http://standards.ieee.org/regauth/oui/index.shtml
# Parameters: -
# Global: misc::oui
# Return: -
#===============================================================