Link Layer API calls response below, { "node": { "derivedId": "stack3745054670298304029", "type": "stack" }, "device": { "serial": "Q2WW-4455-H7F8", "name": "XX-XX-XX-XX-MS-02-3" }, "discovered": { "lldp": null, "cdp": { "portId": "TenGigabitEthernet2/0/15", "nativeVlan": 100 } LLDP/CDP API calls response below for respective serial Number- "cdp": { "sourcePort": "47", "platform": "cisco C9500-40X", "deviceId": "XX-XX-XX-XX-SWC-01.ey.net", "address": "10.165.253.1", "portId": "TenGigabitEthernet2/0/15", "nativeVlan": 100, "version": "Cisco IOS Software [Gibraltar], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.12.1, RELEASE SOFTWARE (fc4)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2019 by Cisco Systems, Inc.\nCompiled Tue 30-Jul-19 19:26 by mcpre", "capabilities": "Router, Switch, IGMP conditional filtering" }, "deviceMac": "4c:a6:34:55:ee:06", "device": { "url": "" } I am saying on running the Link layer API call i am not getting detailed output but rather unfinished output when compare to CDP/LLDP API output. However limitation of using CDP/LLDP API call is that it is per serial number so if we have multiple switches in a org then it could be challenging with rate limiting Pov.
... View more