LLDP
The below API's are used to configure and manage the LLDP, which allows network management applications to extend their awareness of the network by discovering devices that are direct neighbours
Get LLDP neighbors information
Request URL | /api/info/lldp/neighbors |
Description | Use this API to get the LLDP-neighbor information in the system |
Method | GET |
Request Body | NA |
Response Body | { "time_stamp": "08:04:21 12:30:55Z", "Ethernet8_1": { "rid": "2", "age": "0 day, 00:13:54", "port": { "id": { "type": "local", "value": "etp3" }, "descr": "Ethernet8_1" }, "via": "LLDP", "chassis": { "sonic": { "id": { "type": "mac", "value": "04:3f:72:da:74:ee" }, "ttl": "120", "descr": "Debian GNU/Linux 9 (stretch) Linux 4.9.0-11-2-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64", "capability": [ { "enabled": true, "type": "Bridge" }, { "enabled": true, "type": "Router" }, { "enabled": false, "type": "Wlan" }, { "enabled": false, "type": "Station" } ], "mgmt-ip": "192.168.0.12" } } } } |
Status code |
|