Configuring Events Exporters
Configuring an Events Exporter
Configuring an Events Exporter
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/inbandtelemetry.json
{
"inbandTelemetryInt": {
"children": [
{
"inbandTelemetryInst": {
"attributes": {
"mode": "inbandtelemetry"
},
"children": [
{
"inbandTelemetryCollector": {
"attributes": {
"name": "exptr_1"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<inbandtelemetry-items>
<inst-items>
<TelemetryInst-list>
<mode>inbandtelemetry</mode>
<collector-items>
<TelemetryCollector-list>
<name>exptr_1</name>
</TelemetryCollector-list>
</collector-items>
</TelemetryInst-list>
</inst-items>
</inbandtelemetry-items>
</hwtelemetry-items>
</System>
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.
hardware-telemetry inband-telemetry
inband-telemetry exporter exptr_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
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting an Events Exporter
Deleting an Events Exporter
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/inbandtelemetry.json
{
"inbandTelemetryInt": {
"children": [
{
"inbandTelemetryInst": {
"attributes": {
"mode": "inbandtelemetry"
},
"children": [
{
"inbandTelemetryCollector": {
"attributes": {
"name": "exptr_1",
"status": "deleted"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<inbandtelemetry-items>
<inst-items>
<TelemetryInst-list>
<mode>inbandtelemetry</mode>
<collector-items>
<TelemetryCollector-list xc:operation="delete">
<name>exptr_1</name>
</TelemetryCollector-list>
</collector-items>
</TelemetryInst-list>
</inst-items>
</inbandtelemetry-items>
</hwtelemetry-items>
</System>
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.
hardware-telemetry inband-telemetry
no inband-telemetry exporter exptr_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
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring the Source Interface Destination for an Exporter
Configuring the Source Interface Destination for an Exporter
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/inbandtelemetry.json
{
"inbandTelemetryInt": {
"children": [
{
"inbandTelemetryInst": {
"attributes": {
"mode": "inbandtelemetry"
},
"children": [
{
"inbandTelemetryCollector": {
"attributes": {
"name": "exprtr_1",
"srcIf": "eth1/2",
"vrfName": "default"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<inbandtelemetry-items>
<inst-items>
<TelemetryInst-list>
<mode>inbandtelemetry</mode>
<collector-items>
<TelemetryCollector-list>
<name>exprtr_1</name>
<srcIf>eth1/2</srcIf>
<vrfName>default</vrfName>
</TelemetryCollector-list>
</collector-items>
</TelemetryInst-list>
</inst-items>
</inbandtelemetry-items>
</hwtelemetry-items>
</System>
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.
hardware-telemetry inband-telemetry
inband-telemetry exporter exprtr_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
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Deleting the Source Interface Destination for an Exporter
Deleting the Source Interface Destination for an Exporter
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/inbandtelemetry.json
{
"inbandTelemetryInt": {
"children": [
{
"inbandTelemetryInst": {
"attributes": {
"mode": "inbandtelemetry"
},
"children": [
{
"inbandTelemetryCollector": {
"attributes": {
"name": "exprtr_1",
"srcIf": "unspecified"
}}}]}}]}}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<inbandtelemetry-items>
<inst-items>
<TelemetryInst-list>
<mode>inbandtelemetry</mode>
<collector-items>
<TelemetryCollector-list>
<name>exprtr_1</name>
<srcIf>unspecified</srcIf>
</TelemetryCollector-list>
</collector-items>
</TelemetryInst-list>
</inst-items>
</inbandtelemetry-items>
</hwtelemetry-items>
</System>
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.
hardware-telemetry inband-telemetry
inband-telemetry exporter exprtr_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
See the NX-API DME Model Reference for detailed information about classes and attributes described in the payload:
https://developer.cisco.com/media/dme/index.html
Configuring the Destination UDP Port
Configuring the Destination UDP Port
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/inbandtelemetry.json
{
"inbandTelemetryInt": {
"children": [
{
"inbandTelemetryInst": {
"attributes": {
"mode": "inbandtelemetry"
},
"children": [
{
"inbandTelemetryCollector": {
"attributes": {
"dstPort": "53335",
"name": "exptr_1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<inbandtelemetry-items>
<inst-items>
<TelemetryInst-list>
<mode>inbandtelemetry</mode>
<collector-items>
<TelemetryCollector-list>
<name>exptr_1</name>
<dstPort>53335</dstPort>
</TelemetryCollector-list>
</collector-items>
</TelemetryInst-list>
</inst-items>
</inbandtelemetry-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.
hardware-telemetry inband-telemetry
inband-telemetry exporter exptr_1
transport udp 53335
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 Destination UDP Port
Deleting the Destination UDP Port
POST http://<mgmt0_IP>/api/mo/sys/hwtelemetry/inbandtelemetry.json
{
"inbandTelemetryInt": {
"children": [
{
"inbandTelemetryInst": {
"attributes": {
"mode": "inbandtelemetry"
},
"children": [
{
"inbandTelemetryCollector": {
"attributes": {
"dstPort": "unspecified",
"name": "exptr_1"
}
}
}
]
}
}
]
}
}
{
imdata:[]
}
<System>
<hwtelemetry-items>
<inbandtelemetry-items>
<inst-items>
<TelemetryInst-list>
<mode>inbandtelemetry</mode>
<collector-items>
<TelemetryCollector-list>
<name>exptr_1</name>
<dstPort>0</dstPort>
</TelemetryCollector-list>
</collector-items>
</TelemetryInst-list>
</inst-items>
</inbandtelemetry-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.
hardware-telemetry inband-telemetry
inband-telemetry exporter exptr_1
no transport udp 53335
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