Morten,

   I apologize for being insistent in this case. I understand this is an open project and all of the developers has many other preoccupations. I did not know that you was in vacation... Sorry again. ;)

   Let's go to the facts: Right now, I already solved the problem. 

   Most of our switches not receive all of our 2000 Vlans (I work in UFSC) in trunk port. It receives only necessary VLANs to do their job, including the managment VLAN.

   As we have many managed switches (650 approximately), we have dedicated 3 IP blocks (Class C) for managment use. Each class is associated with a specific VLAN. So, a switch that have your managment interface configured for VLAN x, can have a uplink to another switch with VLAN y configured in it's managment interface. Because of this, the CAM's method never will find the mac address of neighborhood because they are in different VLANs! To "solve" this with a minimum impact, I think that I need to use LLDP. 

   Reading docs, I've noticed that NAV prefers LLDP over CDP and CAM. Before configure LLDP in all of my switches, the ipdevpool topology process have inserted into database all of the MAC addresses through CAM's method. I've configure two of my switches with LLDP. In my tests, LLDP worked as expected, but all of the CAM's MAC addresses still in database. Is this a spected behaviour? Is it possible to clear these "old" MACs?

##  Another questions: 

1 - What is the diference beetween these two commands?

# navtopology --l2 --vlan 

and

# navtopology --l2

    The doc: https://nav.uninett.no/doc/howto/debugging-topology.html#the-analysis-stage says to use navtopology --l2 (without --vlan parameter) but in navcron's crontab, the execution considers the --vlan parameter

2 - Even if the issue reported before was "solved" by passing the same management VLAN of the trunked switch, the Uplink information still empty (N/A). They are physically connected -> Switch A port 1/0/5 to Switch B port 1/24. Netmap shows this conection, the "Connected to" and "Remote If" fileds are correct on both equipaments,  but no Uplink information. Why?

3 - These same switches (A and B) don't have the VLAN information displayed in the Netmap's right frame. It's shown only the room and location information. Why?