Configuring Interface EIGRP Process
DME
YANG
Copy
POST http://<mgmt_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "eigrpEntity": { "children": [ { "eigrpInst": { "attributes": { "name": "1" }, "children": [ { "eigrpDom": { "attributes": { "name": "default" }, "children": [ { "eigrpIf": { "attributes": { "id": "eth1/1" }, "children": [ { "eigrpIfAf": { "attributes": { "type": "ipv4-ucast" } } } ] } } ] } } ] } } ] } }, { "interfaceEntity": { "children": [ { "l1PhysIf": { "attributes": { "id": "eth1/1" } } } ] } } ] } }
Response
{ imdata:[] }
Copy
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="101"> <edit-config> <target> <running/> </target> <config> <System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device"> <eigrp-items> <inst-items> <Inst-list> <name>1</name> <dom-items> <Dom-list> <name>default</name> <if-items> <If-list> <id>eth1/1</id> <af-items> <IfAf-list> <type>ipv4-ucast</type> </IfAf-list> </af-items> </If-list> </if-items> </Dom-list> </dom-items> </Inst-list> </inst-items> </eigrp-items> </System> </config> </edit-config> </rpc>