Ethernet Port Manager
Clearing L1 Counters
Clearing L1 Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys/intf/phys-[eth1/1]]"
}
"children" : [{
"l1PhysIfClearCountersLTask" : {
"attributes" : {
"adminSt" : "start",
"dn" : "sys/action/lsubj-[sys/intf/phys-
[eth1/1]]/l1PhysIfClearCountersLTask",
"freq": "one-shot"
}
}
}]
}
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
clear counters interface eth 1/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
Clearing Management Counters
Clearing Management Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys/mgmt-[mgmt0]]"
}
"children" : [{
"mgmtMgmtIfClearCountersLTask" : {
"attributes" : {
"adminSt" : "start",
"dn" : "sys/action/lsubj-[sys/mgmt-
[mgmt0]]/mgmtMgmtIfClearCountersLTask",
"freq": "one-shot"
}
}
}]
}
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
clear counters interface mgmt 0
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
Clearing Subinterface Counters
Clearing Subinterface Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys/intf/encrtd-[eth1/1.1]]"
}
"children" : [{
"l3EncRtdIfClearCountersLTask" : {
"attributes" : {
"adminSt" : "start",
"dn" : "sys/action/lsubj-[sys/intf/encrtd-
[eth1/1.1]]/l3EncRtdIfClearCountersLTask",
"freq": "one-shot"
}
}
}]
}
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
clear counters interface eth1/1.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
Clearing Tunnel Counters
Clearing Tunnel Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys/intf/tunnelif-[tunnel1]]"
}
"children" : [{
"tunnelIfClearCountersLTask" : {
"attributes" : {
"adminSt" : "start",
"dn" : "sys/action/lsubj-[sys/intf/tunnelif-
[tunnel1]]/tunnelIfClearCountersLTask",
"freq": "one-shot"
}
}
}]
}
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
clear counters interface tunnel 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
Clearing Loopback Counters
Clearing Loopback Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys/intf/lb-[lo1]]"
}
"children" : [{
"l3LbRtdIfClearCountersLTask" : {
"attributes" : {
"adminSt" : "start",
"dn" : "sys/action/lsubj-[sys/intf/lb-
[lo1]]/l3LbRtdIfClearCountersLTask",
"freq": "one-shot"
}
}
}]
}
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
clear counters interface loopback 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
Clearing Port-Channel Counters
Clearing Port-Channel Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys/intf/aggr-[po50]]"
}
"children" : [{
"pcAggrIfClearCountersLTask" : {
"attributes" : {
"adminSt" : "start",
"dn" : "sys/action/lsubj-[sys/intf/aggr-
[po50]]/pcAggrIfClearCountersLTask",
"freq": "one-shot"
}
}
}]
}
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
clear counters interface po50
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
Clearing SVI Counters
Clearing SVI Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
"actionLSubj": {
"attributes": {
"dn": "sys/action/lsubj-[sys/intf/svi-[vlan1]]"
}
"children" : [{
"sviIfClearCountersLTask" : {
"attributes" : {
"adminSt" : "start",
"dn" : "sys/action/lsubj-[sys/intf/svi-
[vlan1]]/sviIfClearCountersLTask",
"freq": "one-shot"
}
}
}]
}
}
CLI Commands
The CLI commands are equivalent to the payload examples displayed in the pane on the right.
clear counters interface vlan 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