Configuring EIGRP default metric
DME
YANG
Copy
POST http://<mgmt_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "eigrpEntity": { "children": [ { "eigrpInst": { "attributes": { "name": "router_1" }, "children": [ { "eigrpDom": { "attributes": { "name": "default" }, "children": [ { "eigrpDomAf": { "attributes": { "type": "ipv4-ucast" }, "children": [ { "eigrpDefMetric": { "attributes": { "defBw": "100", "defDelay": "3", "defLoad": "100", "defMtu": "150", "defRel": "10" } } } ] } } ] } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device"> <eigrp-items> <inst-items> <Inst-list> <name>router_1</name> <dom-items> <Dom-list> <name>default</name> <af-items> <DomAf-list> <type>ipv4-ucast</type> <defmetric-items> <defBw>100</defBw> <defDelay>3</defDelay> <defRel>10</defRel> <defLoad>100</defLoad> <defMtu>150</defMtu> </defmetric-items> </DomAf-list> </af-items> </Dom-list> </dom-items> </Inst-list> </inst-items> </eigrp-items> </System>