Configuring a Flow Monitor for IPv4 Ingress Traffic
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys.json
{ "topSystem": { "children": [ { "interfaceEntity": { "children": [ { "sviIf": { "attributes": { "id": "vlan1" } } } ] } }, { "analyticsHwTelemetry": { "children": [ { "netflowNetflow": { "children": [ { "netflowInst": { "attributes": { "mode": "netflow" }, "children": [ { "netflowFwdInstTarget": { "attributes": { "id": "151060481" }, "children": [ { "netflowRsMonitorAtt": { "attributes": { "tDn": "sys/hwtelemetry/netflow/inst-netflow/monitor-mon_1" } } } ] } } ] } } ] } } ] } } ] } }
Response
{ imdata:[] }
Copy
<System> <intf-items> <svi-items> <If-list> <id>vlan1</id> </If-list> </svi-items> </intf-items> <hwtelemetry-items> <netflow-items> <inst-items> <Inst-list> <mode>netflow</mode> <fwdinst-items> <FwdInstTarget-list> <id>151060481</id> <rsmonitorAtt-items> <RsMonitorAtt-list> <tDn>/System/hwtelemetry-items/netflow-items/inst-items/Inst-list[mode='netflow']/monitor-items/Monitor-list[name='mon_1']</tDn> </RsMonitorAtt-list> </rsmonitorAtt-items> </FwdInstTarget-list> </fwdinst-items> </Inst-list> </inst-items> </netflow-items> </hwtelemetry-items> </System>