I am trying to get LNMS to add all devices it discovers via CDP but I realized yesterday it was missing some things. I have run multiple full discoveries over several days and the devices I am looking at have not changed.
Trying to make things less complex I am going to focus on 3 devices.
10.100.0.82 - Catlyst 3560 switch - existed in LNMS after initial CDP discovery
10.100.0.81 - Nexus 5548 switch - does not exist in LNMS
Switch 10.100.0.81/mgmt0 port is connected to 10.100.0.82/Fas0/47 port. I have not added it to LNMS since I am hoping it will be discovered.
After adding 10.100.0.80 manually to LNMS and some discovery/polling cycles completed I can see the following things:
10.100.0.80/mgmt0 port connects to 10.100.0.82/Fas0/48 port
10.100.0.80 ports - neighbors shows 10.100.0.82 connected via CDP
10.100.0.80 map shows connection to 10.100.0.82
10.100.0.82 ports - neighbors does NOT show 10.100.0.80
10.100.0.82 map shows connection to 10.100.0.80
I have run a manual discovery of 10.100.0.82 like this: ./discovery.php -h 10.100.0.82 -d -m discovery-protocols -v
I can see in the output that both 10.100.0.80 and 10.100.0.81 shows up in the CDP discovery.
How can I make them show up properly as CDP neighbors? (and automatically add the devices to LNMS)
I believe you have gotten confused. The device that wont add to discovery is not a catalyst.
Please look at my original post.
The detailed discovery data I posted for swich 10.100.0.82 shows I should have 9 neighbors but LNMS gui only has 7 of the 9. Even after I manually added 1 of the 2 missing devices 10.100.0.82 still only shows 7 of 9.