Configuring Flow Exporters
Configuring a Flow Exporter
Configuring a Flow Exporter
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1"
}}}]}}]}}
{
imdata:[]
}
<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>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Flow Exporter
Deleting a Flow Exporter
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"status": "deleted"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list xc:operation="delete">
<name>Flow_Exprt_1</name>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
no flow exporter Flow_Exprt_1
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring Version 9 Export
Configuring Version 9 Export
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"ver": "v9",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<ver>v9</ver>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
version 9
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring the Exporter Stats Resend Time in Seconds
Configuring the Exporter Stats Resend Time in Seconds
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"statsTimeout": "123",
"ver": "v9",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<statsTimeout>123</statsTimeout>
<ver>v9</ver>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
version 9
option exporter-stats timeout 123
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting the Exporter Stats Resend Time in Seconds
Deleting the Exporter Stats Resend Time in Seconds
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"ver": "v9",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<ver>v9</ver>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
version 9
no option exporter-stats timeout
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring the Interface Table Resend Time in Seconds
Configuring the Interface Table Resend Time in Seconds
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"interfaceTimeout": "123",
"name": "Flow_Exprt_1",
"ver": "v9",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<interfaceTimeout>123</interfaceTimeout>
<ver>v9</ver>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
version 9
option interface-table timeout 123
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting the Interface Table Resend Time in Seconds
Deleting the Interface Table Resend Time in Seconds
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"ver": "v9",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<ver>v9</ver>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
version 9
no option interface-table timeout
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring the Flow Exporter Template Data Timeout Period
Configuring the Flow Exporter Template Data Timeout Period
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"templateTimeout": "123",
"ver": "v9",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<templateTimeout>123</templateTimeout>
<ver>v9</ver>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
version 9
template data timeout 123
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting the Flow Exporter Template Data Timeout Period
Deleting the Flow Exporter Template Data Timeout Period
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"ver": "v9",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<ver>v9</ver>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
version 9
no template data timeout
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring a Description
Configuring a Description
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"descr": "Some description text 123",
"name": "Flow_Exprt_1",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<descr>Some description text 123</descr>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
description Some description text 123
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting a Description
Deleting a Description
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1"
}}}]}}]}}
{
imdata:[]
}
<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>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
no description
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring an IPv4 Export Destination
Configuring an IPv4 Export Destination
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"dstAddr": "1.2.3.4",
"name": "Flow_Exprt_1",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<dstAddr>1.2.3.4</dstAddr>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
destination 1.2.3.4
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring an IPv6 Export Destination
Configuring an IPv6 Export Destination
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"dstAddr": "1:2::3:4",
"name": "Flow_Exprt_1",
"vrfName": "VRF_1"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<dstAddr>1:2::3:4</dstAddr>
<vrfName>VRF_1</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
destination 1:2::3:4 use-vrf VRF_1
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting an Export Destination
Deleting an Export Destination
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"dstAddr": "0.0.0.0",
"name": "Flow_Exprt_1",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<dstAddr>0.0.0.0</dstAddr>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
no destination
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring DSCP for Flow Exporter Datagrams
Configuring DSCP for Flow Exporter Datagrams
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"dscp": "2",
"name": "Flow_Exprt_1",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<dscp>2</dscp>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
dscp 2
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting DSCP for Flow Exporter Datagrams
Deleting DSCP for Flow Exporter Datagrams
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1"
}}}]}}]}}
{
imdata:[]
}
<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>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
no dscp
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring the Source Address for IGMPv3 Channel
Configuring the Source Address for IGMPv3 Channel
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1",
"srcIf": "eth1/2",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<srcIf>eth1/2</srcIf>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
source ethernet 1/2
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting the Source Address for IGMPv3 Channel
Deleting the Source Address for IGMPv3 Channel
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1"
}}}]}}]}}
{
imdata:[]
}
<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>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
no source
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Configuring UDP as the Transport Protocol
Configuring UDP as the Transport Protocol
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"dstPort": "123",
"name": "Flow_Exprt_1",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<netflow-items>
<inst-items>
<Inst-list>
<mode>netflow</mode>
<collector-items>
<Collector-list>
<name>Flow_Exprt_1</name>
<dstPort>123</dstPort>
<vrfName>default</vrfName>
</Collector-list>
</collector-items>
</Inst-list>
</inst-items>
</netflow-items>
</hwtelemetry-items>
</System>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
transport udp 123
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html
Deleting UDP as the Transport Protocol
Deleting UDP as the Transport Protocol
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/netflow.json
{
"netflowNetflow": {
"children": [
{
"netflowInst": {
"attributes": {
"mode": "netflow"
},
"children": [
{
"netflowCollector": {
"attributes": {
"name": "Flow_Exprt_1"
}}}]}}]}}
{
imdata:[]
}
<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>
Note: This example was added in Release 9.2(2).
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right. Click the DME tab in the top-left corner of the right pane to view the JSON payload. Click the YANG tab to view the XML payload.
flow exporter Flow_Exprt_1
no transport udp
For other CLI options, see the Cisco Nexus 9000 Series NX-OS Command Reference:
http://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-command-reference-list.html
For detailed information about classes and attributes in the payload, see the NX-API DME Model Reference:
https://developer.cisco.com/media/dme/index.html
For information about using the payloads, see the Cisco Nexus 9000 Series NX-OS Programmability Guide:
https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-programming-reference-guides-list.html