[Discovery] Device Neighbors empty even though discovery_device_neighbors table filled

Ty Hahn
Kilo Expert

Hello,

 

I'm trying to run discovery on Arista switch (DCS-7050SX-64).  Upon running discovery, it found 28 neighbors and filled up the discovery_device_neighbors table accordingly but the Device Neighbors tab is still empty. Is there anything else needed to show the neighbors in the tab?

 

Regards,

Ty

1 ACCEPTED SOLUTION

Ty Hahn
Kilo Expert

It turns out that we need to turn the glide.discovery.bgp_router_disable property to false. By default, Discovery does not populate neighbors if the network switch's bgp is on (assuming that bgp-enabled switch has too many neighbors to make it valuable discovery item.) We turn on the bgp for most of network switches and switching off the property indeed fixed my issue.

View solution in original post

4 REPLIES 4

Niklas Peterson
Mega Sage

Hi,

Is the Configuration Item field discovery_device_neighbors table populated with the expected CI? The Device Neighbors related list (tab) will use this to filter the discovery_device_neighbors to only display the neighbors belonging to that CI.

 

NiklasPeterson_0-1693941054463.png

NiklasPeterson_1-1693941086087.png

Regards,
Niklas

 

Hi Niklas,

 

Thanks for your reply. I just realized that I should have made it clear what I meant by "filled up the discovery_device_neighbors table".

1. Run discovery on the network switch with debug mode on.

2. The discovery ran all the way and I could see the discovery_device_neighbors table in the "Temporary Variables" section populated with (seemingly) neighbors.

3. (Since you mentioned) I checked the Device Neighbors CI and there is no CI registered with this network switch.

 

So, please let me rephrase my question. What could cause this discrepancy between discovery's discovery_device_neighbors table and CI? I ran discovery on a Cisco switch and it successfully populated both.

 

Regards,

Ty

Hi Niklas,

 

Thanks for your reply. I just realized that I should have made it clear what I meant by "filled up the discovery_device_neighbors table". Here is what I did.

 

1. Ran discovery on the network switch with debug mode on.

2. Discovery ran all the way and it populated the discovery_device_neighbors table in the "Temporary Variables" section with (seemingly) neighbors.

3. (Since you mentioned) I checked the Device Neighbors CI and actually there is no CI with that network device name.

 

So, please let me rephase my question. What could cause this discrepancy between discovery's discovery_device_neighbors temporary variable and Device Neighbors CI? I ran discovery on a Cisco switch and managed to populate both.

 

Regards,

Ty

Ty Hahn
Kilo Expert

It turns out that we need to turn the glide.discovery.bgp_router_disable property to false. By default, Discovery does not populate neighbors if the network switch's bgp is on (assuming that bgp-enabled switch has too many neighbors to make it valuable discovery item.) We turn on the bgp for most of network switches and switching off the property indeed fixed my issue.