Configuring flush-routes under EIGRP
DME
YANG
Copy
POST http://<mgmt_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "eigrpEntity": { "children": [ { "eigrpInst": { "attributes": { "flushRoutes": "yes", "name": "router_1" }, "children": [ { "eigrpDom": { "attributes": { "name": "default" } } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<Sys<System xmlns="http://cisco.com/ns/yang/cisco-nx-os-device"> <eigrp-items> <inst-items> <Inst-list> <name>router_1</name> <flushRoutes>true</flushRoutes> </Inst-list> </inst-items> </eigrp-items> </System>