Configuring a Flow Exporter
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{ "netflowNetflow": { "children": [ { "netflowInst": { "attributes": { "mode": "netflow" }, "children": [ { "netflowCollector": { "attributes": { "name": "Flow_Exprt_1" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <hwtelemetry-items> <netflow-items> <inst-items> <Inst-list> <mode>netflow</mode> <collector-items> <Collector-list> <name>Flow_Exprt_1</name> </Collector-list> </collector-items> </Inst-list> </inst-items> </netflow-items> </hwtelemetry-items> </System>