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