Reply

Network Insight & Neighbours

New Member
Posts: 3
7969     0

Hello,

 

We've just deployed a network insight appliance in our lab enviroment, and was wondering how the device neighbour is handled, specifically through the API.

When I request the neighbours of a device, I only seem to get the end-hosts on that device, and not the neighbouring routers/switches.

 

Is this expected behaviour, or am I missing something? The end goal for this usecase is to see what other switch/router is on the other side of the interface for router, switched and sub-interfaces.

 

Thank you in advance!

Re: Network Insight & Neighbours

Superuser
Posts: 115
7970     0

Can you share a screenshot and the API call you are using so I can test it in my lab

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: Network Insight & Neighbours

New Member
Posts: 3
7970     0

Re: Network Insight & Neighbours

New Member
Posts: 3
7970     0

Screenshots as well, if needed.

 

API call 1.PNGAPI call 2.PNG

Re: Network Insight & Neighbours

Techie
Posts: 2
7970     0

Am facing the same problem. Hope anyone here can help me too. Thanks in advance. Regards,

 

Re: Network Insight & Neighbours

Superuser
Posts: 115
7970     0

Screenshots not working Smiley Sad

Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com

Re: Network Insight & Neighbours

Superuser
Posts: 115
7970     0

Looks like this was not working on my switch but my Router gave me some more information

 

[
    {
        "_ref": "discovery:device/Li5kZXZpY2UkMzc5NDA3MDQ1NTg1NjM1MTI4Ny8xOTIuMTY4LjEuMjU0LzAvY29yZS1kZW1v:core-demo/Company%201",
        "neighbors": [
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkMzk3MDM5:m1.infoblox.com",
                "address": "2001:db8:a42:cafe:100::3",
                "name": "m1.infoblox.com"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA0Mzg1:m2.infoblox.com",
                "address": "2001:db8:a42:cafe:100::4",
                "name": "m2.infoblox.com"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA0Mzg2:Wan-Router3",
                "address": "10.66.100.52",
                "name": "Wan-Router3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA0Mzkz:Wan-Router2",
                "address": "10.66.100.51",
                "name": "Wan-Router2"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA0Mzk4:gm1p1",
                "address": "192.168.1.81",
                "name": "gm1p1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA0NDA2:unknown",
                "address": "192.168.1.200",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA0NDA3:demogm1",
                "address": "192.168.1.5",
                "name": "demogm1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA3NjMx:swr-c-04",
                "address": "172.16.20.10",
                "name": "swr-c-04"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5ODI0:sql4",
                "address": "192.168.4.218",
                "name": "sql4"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5ODI1:sql3",
                "address": "192.168.4.108",
                "name": "sql3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5ODI3:oracle4",
                "address": "192.168.4.85",
                "name": "oracle4"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5ODMw:linux5",
                "address": "192.168.3.4",
                "name": "linux5"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5ODMx:unknown",
                "address": "192.168.4.21",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5ODMz:webserver9",
                "address": "192.168.4.72",
                "name": "webserver9"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5ODM3:unknown",
                "address": "192.168.4.22",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTAy:tacacs2",
                "address": "192.168.3.153",
                "name": "tacacs2"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTI3:linux6",
                "address": "192.168.3.223",
                "name": "linux6"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTI4:radius3",
                "address": "192.168.3.136",
                "name": "radius3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTI5:ftp4",
                "address": "192.168.3.248",
                "name": "ftp4"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTMw:ftp3",
                "address": "192.168.3.22",
                "name": "ftp3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTMx:oracle2",
                "address": "192.168.3.131",
                "name": "oracle2"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTMy:sql2",
                "address": "192.168.3.117",
                "name": "sql2"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTUx:webserver7",
                "address": "192.168.3.231",
                "name": "webserver7"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTU0:webserver8",
                "address": "192.168.3.251",
                "name": "webserver8"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTU1:ntp3",
                "address": "192.168.3.170",
                "name": "ntp3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTU2:mail3",
                "address": "192.168.3.82",
                "name": "mail3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTU4:mail4",
                "address": "192.168.3.237",
                "name": "mail4"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTU5:webserver5",
                "address": "192.168.3.189",
                "name": "webserver5"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTY5:linux3",
                "address": "192.168.3.115",
                "name": "linux3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTcw:ldap1",
                "address": "192.168.3.222",
                "name": "ldap1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTcx:ntp2",
                "address": "192.168.3.102",
                "name": "ntp2"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTcy:linux2",
                "address": "192.168.3.51",
                "name": "linux2"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDA5OTcz:linux1",
                "address": "192.168.3.2",
                "name": "linux1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDEwMzc0:ntp4",
                "address": "192.168.3.201",
                "name": "ntp4"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDEwMzc3:tacacs1",
                "address": "192.168.3.60",
                "name": "tacacs1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDE0ODAx:radius1",
                "address": "192.168.3.71",
                "name": "radius1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDQ0Mjc1:unknown",
                "address": "fe80::250:56ff:feba:9e88",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDQ0Mjc2:unknown",
                "address": "192.168.1.19",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDQ0ODkw:gm1NIcons.infoblox.com",
                "address": "192.168.1.80",
                "name": "gm1NIcons.infoblox.com"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDQ0ODky:gm1p3",
                "address": "192.168.1.83",
                "name": "gm1p3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDQ0OTM0:None",
                "address": "fe80::250:56ff:fe9c:cd65"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDQ0OTQ2:pt1400",
                "address": "fe80::f687:71ff:fe00:7df",
                "name": "pt1400"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDY0NjMy:swr-c-02.infoblox.com",
                "address": "10.197.7.252",
                "name": "swr-c-02.infoblox.com"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDgxMjU3:unknown",
                "address": "192.168.1.52",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDgxMjY2:unknown",
                "address": "2001:db8:a42:dead:250:56ff:fe9c:cd64",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDgxMjY3:unknown",
                "address": "192.168.1.33",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDgxMjY4:unknown",
                "address": "fe80::250:56ff:fe9c:cd64",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDg2MTE5:demorpt",
                "address": "192.168.1.6",
                "name": "demorpt"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkyNDc0:unknown",
                "address": "fe80::250:56ff:feba:60",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkyNDc3:unknown",
                "address": "192.168.1.232",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkyNTMz:None",
                "address": "192.168.1.103"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkyNTM0:None",
                "address": "fe80::250:56ff:feba:9ad1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkyNTM1:None",
                "address": "2001:db8:a42:dead:250:56ff:feba:9ad1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkzNDc2:None",
                "address": "fe80::c804:69ff:fe9a:8"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkzNDc3:None",
                "address": "192.168.1.190"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDkzNDk3:wan-br",
                "address": "fe80::c004:6ff:fe30:0",
                "name": "wan-br"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk0MjA5:unknown",
                "address": "192.168.1.238",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk0MjIy:demogm3",
                "address": "192.168.1.26",
                "name": "demogm3"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk0MjQ0:unknown",
                "address": "10.66.45.4",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk0MjQ1:unknown",
                "address": "10.66.35.4",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk0MjQ3:None",
                "address": "192.168.168.231"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk0MjU0:unknown",
                "address": "192.168.1.231",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk3NTQ3:None",
                "address": "192.168.168.238"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk3NTUw:unknown",
                "address": "10.66.35.3",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNDk3NTUx:unknown",
                "address": "10.66.45.3",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAwMDY5:None"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAwMDgz:demogm1",
                "address": "2001:db8:a42:cafe:100::10",
                "name": "demogm1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAwNjY5:None",
                "address": "fe80::250:56ff:feba:9f20"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAwNjcw:None",
                "address": "192.168.1.36"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAwNjcy:None",
                "address": "fe80::250:56ff:feba:9f21"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAwODY4:demogm1",
                "address": "192.168.1.237",
                "name": "demogm1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjEz:None",
                "address": "192.168.113.111"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjE0:None",
                "address": "192.168.113.112"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjQ2:None",
                "address": "192.168.113.113"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjQ5:None",
                "address": "192.168.113.242"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjUw:None",
                "address": "192.168.113.213"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjUz:None",
                "address": "192.168.113.191"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjU1:None",
                "address": "192.168.113.193"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjU5:None",
                "address": "192.168.113.192"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjY2:None",
                "address": "192.168.113.243"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTAxNjc4:demogm1",
                "address": "fe80::2e44:fdff:fe7c:5a6",
                "name": "demogm1"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA0NjAy:unknown",
                "address": "2001:db8:a42:dead:9c4f:7933:affe:b861",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA0ODE1:unknown",
                "address": "2001:db8:a42:dead:3cc2:57da:804b:8dac",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1MDQy:unknown",
                "address": "2001:db8:a42:dead:6c09:dce8:e7ac:ec22",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1Mjk3:unknown",
                "address": "2001:db8:a42:dead:c177:e986:717d:1d20",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1NTc3:unknown",
                "address": "2001:db8:a42:dead:fca9:12aa:c7e8:8efc",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1NTg1:unknown",
                "address": "192.168.4.43",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1NjY1:unknown",
                "address": "192.168.4.45",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1NjY2:unknown",
                "address": "192.168.4.41",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1NzUw:unknown",
                "address": "192.168.4.55",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1NzUx:unknown",
                "address": "192.168.4.62",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1Nzc0:unknown",
                "address": "192.168.4.52",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1Nzc1:mail5",
                "address": "192.168.3.253",
                "name": "mail5"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1Nzky:unknown",
                "address": "2001:db8:a42:dead:48a9:c074:46d9:5c8a",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1Nzk4:unknown",
                "address": "192.168.4.56",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1ODQy:unknown",
                "address": "192.168.4.49",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1ODc4:None",
                "address": "fe80::250:56ff:feba:a91a"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1ODc5:None",
                "address": "192.168.1.251"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1ODg5:unknown",
                "address": "192.168.4.60",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1OTE1:unknown",
                "address": "192.168.4.59",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1OTIy:unknown",
                "address": "192.168.4.40",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1OTQ3:unknown",
                "address": "192.168.3.33",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1OTQ4:unknown",
                "address": "192.168.4.47",
                "name": "unknown"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1OTUw:None",
                "address": "10.66.100.58"
            },
            {
                "_ref": "discovery:deviceneighbor/Li5uZWlnaGJvcl9kZXZpY2UkNTA1OTUy:unknown",
                "address": "192.168.4.54",
                "name": "unknown"
            }
        ]
    }
]
Follow me on LinkedIn: https://www.linkedin.com/in/sifbaksh
Twitter: https://twitter.com/sifbaksh

https://sifbaksh.com
Showing results for 
Search instead for 
Did you mean: 

Recommended for You