ARP Actions

Clearing IP ARP Statistics

Clearing IP ARP Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/arp/inst]"
                    }
                    "children" : [{
                        "arpInstIpArpStatsLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstIpArpStatsLTask",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }

{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp statistics

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 Adjacent Entries Without Refresh

Clearing Adjacent Entries Without Refresh
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                    "actionLSubj": {
                        "attributes": {
                            "dn": "sys/action/lsubj-[sys/arp/inst]"
                        }
                        "children" : [{
                            "arpInstIpArpLTask" : {
                                "attributes" : {
                                     "adminSt" : "start",
                                     "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstIpArpLTask",
                                       "forceDelete" : "enabled",
                                       "ipAddr" : "1.1.1.1",
                                     "freq": "one-shot"
                                     }
                            }
                        }]
                    }
                  }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp 1.1.1.1 force-delete

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 ARP Table and Statistics

Clearing ARP Table and Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                         "actionLSubj": {
                             "attributes": {
                                 "dn": "sys/action/lsubj-[sys/arp/inst]"

                    }
                    "children" : [{
                        "arpInstIpArpLTask" : {
                            "attributes" : {
                                "adminSt" : "start",
                                "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstIpArpLTask",
                                "freq": "one-shot"
                                }
                        }
                    }]



                         }
                   }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp

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 Event History

Clearing Event History
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                     "attributes": {
                         "dn": "sys/action/lsubj-[sys/arp/inst]"
                     }
                     "children" : [{
                         "arpInstEventHistoryLTask" : {
                             "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstEventHistoryLTask",
                                 "event" : "cli",
                                 "dumpToFile" : "enabled",
                                 "freq": "one-shot"
                                 }
                         }
                     }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp event-history cli dump-to-file

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 SupCache Stats

Clearing SupCache Stats
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/arp/inst]"
                    }
                    "children" : [{
                        "arpInstSupCacheStatsLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstSupCacheStatsLTask",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp suppression-cache statistics

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 Controller Statistics

Clearing Controller Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
    "actionLSubj": {
        "attributes": {
            "dn": "sys/action/lsubj-[sys/arp/inst]"
        }
        "children" : [{
            "arpInstControllerStatsLTask" : {
                "attributes" : {
                     "adminSt" : "start",
                     "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstControllerStatsLTask",
                     "freq": "one-shot"
                     }
                    }
               }]
     }
}
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp controller-statistics

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 Multihoming Statistics

Clearing Multihoming Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/arp/inst]"
                    }
                    "children" : [{
                        "arpInstMultihomingStatsLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstMultihomingStatsLTask",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp multihoming-statistics

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 Multihoming Statistics (VRF Management)

Clearing Multihoming Statistics (VRF Management)
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/arp/inst]"
                    }
                    "children" : [{
                        "arpInstMultihomingStatsLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstMultihomingStatsLTask",
                                 "interface" : "eth1/1",
                                 "vrf" : "management",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp multihoming-statistics ethernet 1/1 vrf management

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 Statistics

Clearing Tunnel Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/arp/inst]"
                    }
                    "children" : [{
                        "arpInstTunnelStatsLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstTunnelStatsLTask",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp tunnel-statistics

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 vPC Statistics

Clearing vPC Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
 "actionLSubj": {
     "attributes": {
         "dn": "sys/action/lsubj-[sys/arp/inst]"
                    }
                    "children" : [{
                        "arpInstVpcStatsLTask" : {
                            "attributes" : {
                                "adminSt" : "start",
                                "dn" : "sys/action/lsubj-[sys/arp/inst]/arpInstVpcStatsLTask",
                                "freq": "one-shot"
                                }

                                        }
                                   }]
                         }
                   }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip arp vpc-statistics

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

CDP Actions

Clearing CDP Counters

Clearing CDP Counters
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/cdp/inst/if-[eth1/32]]"
                    }
                    "children" : [{
                        "cdpIfClearIfLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/cdp/inst/if-[eth1/32]]/cdpIfClearIfLTask",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear cdp counters

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

VRRP Actions

Clearing VRRP Statistics

Clearing VRRP Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
            "actionLSubj": {
                "attributes": {
                    "dn": "sys/action/lsubj-[sys/vrrp/inst]"
                }
                    "children" : [{
                        "vrrpInstClearVrrpStatsLTask" : {
                            "attributes" : {
                                "adminSt" : "start",
                                "dn" : "sys/action/lsubj-[sys/vrrp/inst]/vrrpInstClearVrrpStatsLTask",
                                      "id" : "1",
                                "freq": "one-shot"
                                }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear vrrp statistics vr 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 VRRP Statistics for an Ethernet Interface

Clearing VRRP Statistics for an Ethernet Interface
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/vrrp/inst]"
                    }
                    "children" : [{
                        "vrrpInstClearVrrpStatsLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/vrrp/inst]/vrrpInstClearVrrpStatsLTask",
                  "if" : "eth1/1",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear vrrp statistics interface ethernet 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

ISIS Actions

Clearing Adjacent

Clearing Adjacent
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/isis/inst-[name]/dom-[name]/if-[id]/adj-[type]-adj-[sysId]]"
                    }
                    "children" : [{
                        "isisAdjEpClearLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/isis/inst-[name]/dom-[name]/if-[id]/adj-[type]-adj-[sysId]]/isisAdjEpClearLTask",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear isis adjacency eth1/1 vrf foo

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

Adjacency Actions

Clearing Adjacency Statistics (IPv4)

Clearing Adjacency Statistics (IPv4)
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
                         "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/adjacency/inst]"
                    }
                    "children" : [{
                        "adjacencyInstIpAdjStatsLTask" : {
                            "attributes" : {
                                "adminSt" : "start",
                                "dn" : "sys/action/lsubj-[sys/adjacency/inst]/adjacencyInstIpAdjStatsLTask",
                                "freq": "one-shot"
                                }
                        }
                    }]
                }
            }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ip adjacency statistics

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 Adjacency Statistics (IPv6)

Clearing Adjacency Statistics (IPv6)
POST http://<mgmt0_IP>/api/mo/sys/action.json
{
         "actionLSubj": {
             "attributes": {
                 "dn": "sys/action/lsubj-[sys/adjacency/inst]"
                    }
                    "children" : [{
                        "adjacencyInstIpv6AdjStatsLTask" : {
                            "attributes" : {
                                "adminSt" : "start",
                                "dn" : "sys/action/lsubj-[sys/adjacency/inst]/adjacencyInstIpv6AdjStatsLTask",
                                "freq": "one-shot"
                                }

                                        }
                                   }]
                         }
                   }
{    
    "imdata":[]
}


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right.

clear ipv6 adjacency statistics

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