Enabling PTP on an Interface
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "ptpPtpEntity": { "children": [ { "ptpPtpIf": { "attributes": { "id": "eth1/3", "ptp": "yes" } } } ] } }, { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/3" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <ptp-items> <if-items> <PtpIf-list> <id>eth1/3</id> <ptp>true</ptp> </PtpIf-list> </if-items> </ptp-items> <intf-items> <phys-items> <PhysIf-list> <id>eth1/3</id> </PhysIf-list> </phys-items> </intf-items> </System>