Configuring an LDP Router-Id (Ethernet)
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "mplsldpLDP": { "attributes": { "adminSt": "enabled" }, "children": [ { "mplsldpRouterId": { "attributes": { "if": "eth1/2" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <ldp-items> <adminSt>enabled</adminSt> <routerid-items> <if>eth1/2</if> </routerid-items> </ldp-items> </System>