Enabling LLDP Reception on an Interface
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/<DN>
{ "topSystem": { "children": [ { "lldpEntity": { "children": [ { "lldpInst": { "children": [ { "lldpIf": { "attributes": { "adminRxSt": "enabled", "id": "eth1/3" } } }, { "lldpIf": { "attributes": { "adminRxSt": "enabled", "id": "eth1/2" } } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <lldp-items> <inst-items> <if-items> <If-list> <id>eth1/3</id> <adminRxSt>enabled</adminRxSt> </If-list> <If-list> <id>eth1/2</id> <adminRxSt>enabled</adminRxSt> </If-list> </if-items> </inst-items> </lldp-items> </System>