Hi, we're having trouble with outdated cam records on some of our switches:
nav seems to only collect cam records from a random subset of ports on each switch.
We're tried snmpwalking the switch, and it seems like the mac addresses are reported correctly by the switch.
This occurs both on nxos (Nexus) switches and older IOS switches
best regards Andreas Dobloug University of Oslo
On Fri, 18 Aug 2017 09:28:14 +0000 Andreas Dobloug andreas.dobloug@usit.uio.no wrote:
nav seems to only collect cam records from a random subset of ports on each switch.
We're tried snmpwalking the switch, and it seems like the mac addresses are reported correctly by the switch.
This occurs both on nxos (Nexus) switches and older IOS switches
There is likely nothing random about it. Accessing forwarding tables on Cisco devices is quite awkward, since Cisco ignores the Q-BRIDGE-MIB - which may be related to your issue (but I suppose you are accounting for community indexing when snmpwalking?).
I'd suggest addding "nav.ipdevpoll.plugins.cam = DEBUG" to NAV's `logging.conf` and then restarting ipdevpoll to see what this plugin logs during the execution of topo jobs.
There is likely nothing random about it. Accessing forwarding tables on Cisco devices is quite awkward, since Cisco ignores the Q-BRIDGE-MIB - which may be related to your issue (but I suppose you are accounting for community indexing when snmpwalking?).
Yes. The mac addresses are there.
I'd suggest addding "nav.ipdevpoll.plugins.cam = DEBUG" to NAV's `logging.conf` and then restarting ipdevpoll to see what this plugin logs during the execution of topo jobs.
We've tried this, and nothing is logged other than "topo for <switch> completed in ..."
Should we try to activate the old topology detector (/usr/lib/nav/network-discovery)?
best regards Andreas Dobloug USIT/UiO
We've tried this, and nothing is logged other than "topo for <switch> completed in ..."
Should we try to activate the old topology detector (/usr/lib/nav/network- discovery)?
Sorry, this last part is probably unrelated: the topology is also not updating.
best regards Andreas Dobloug USIT/UiO
On Thu, 24 Aug 2017 08:19:41 +0000 Andreas Dobloug andreas.dobloug@usit.uio.no wrote:
I'd suggest addding "nav.ipdevpoll.plugins.cam = DEBUG" to NAV's `logging.conf` and then restarting ipdevpoll to see what this plugin logs during the execution of topo jobs.
We've tried this, and nothing is logged other than "topo for <switch> completed in ..."
Then you either did not add the correct line to the `[levels]` section as suggested, or the cam plugin is not running at all.
Optionally add `nav.ipdevpoll.jobs.jobhandler = DEBUG` and restart (or send a HUP signal), to see which plugins are actually being run when the topo job starts.
Should we try to activate the old topology detector (/usr/lib/nav/network-discovery)?
As you said yourself in another posting; this is neither relevant, nor possible, the old detector has not existed in years :)