Configuring Auto-Detection for the DCBX Version
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "lldpEntity": { "children": [ { "lldpInst": { "children": [ { "lldpIf": { "attributes": { "id": "eth1/3", "portDCBXPVer": "auto" } } }, { "lldpIf": { "attributes": { "id": "eth1/2", "portDCBXPVer": "auto" } } } ] } } ] } }, { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/3" } } }, { "l1PhysIf": { "attributes": { "id": "eth1/2" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <lldp-items> <inst-items> <if-items> <If-list> <id>eth1/3</id> <portDCBXPVer>auto</portDCBXPVer> </If-list> <If-list> <id>eth1/2</id> <portDCBXPVer>auto</portDCBXPVer> </If-list> </if-items> </inst-items> </lldp-items> <intf-items> <phys-items> <PhysIf-list> <id>eth1/3</id> </PhysIf-list> <PhysIf-list> <id>eth1/2</id> </PhysIf-list> </phys-items> </intf-items> </System>