Neighbor Discovery

Clearing Global Statistics

Clearing Global Statistics
POST http://<mgmt0_IP>/api/mo/sys/action.json
                   {
                         "actionLSubj": {
                             "attributes": {
                                 "dn": "sys/action/lsubj-[sys/nd]"

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

                                        }
                                   }]
                         }
                   }


CLI Commands

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

clear ipv6 icmp global 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/nd]"

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

                                        }
                                   }]
                          }
                     }


CLI Commands

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

clear ipv6 icmp 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

Clearing Statistics for a Specified Interface

Clearing Statistics for a Specified Interface
POST http://<mgmt0_IP>/api/mo/sys/action.json

                     {
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/nd]"
                    }
                    "children" : [{
                        "ndInstClearIntfStatLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/nd]/ndInstClearIntfStatLTask",
                                 "interface" : "eth1/1",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }


CLI Commands

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

clear ipv6 icmp interface statistics 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

Clearing Statistics for All Intefaces

Clearing Statistics for All Intefaces
                 {
                         "actionLSubj": {
                             "attributes": {
                                 "dn": "sys/action/lsubj-[sys/nd]"
                             }
                             "children" : [{
                                 "ndInstClearIntfStatLTask" : {
                                     "attributes" : {
                                          "adminSt" : "start",
                                          "dn" : "sys/action/lsubj-[sys/nd]/ndInstClearIntfStatLTask",
                                          "freq": "one-shot"
                                          }
                                 }
                             }]
                         }
                 }


CLI Commands

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

clear ipv6 icmp interface 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 an IPv6 Neighbor (No Arguments)

Clearing an IPv6 Neighbor (No Arguments)
POST http://<mgmt0_IP>/api/mo/sys/action.json

                 {
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/nd]"
                    }
                    "children" : [{
                        "ndInstClearIpv6NeighborLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/nd]/ndInstClearIpv6NeighborLTask",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }
            }


CLI Commands

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

clear ipv6 neighbor

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 an IPv6 Neighbor (With Arguments)

Clearing an IPv6 Neighbor (With Arguments)
POST http://<mgmt0_IP>/api/mo/sys/action.json
               {
                "actionLSubj": {
                    "attributes": {
                        "dn": "sys/action/lsubj-[sys/nd]"
                    }
                    "children" : [{
                        "ndInstClearIpv6NeighborLTask" : {
                            "attributes" : {
                                 "adminSt" : "start",
                                 "dn" : "sys/action/lsubj-[sys/nd]/ndInstClearIpv6NeighborLTask",
                                       "interface": "",
                                       "nbrAddr": "",
                                       "forceDelete": "disabled",
                                       "vrf": "",
                                 "freq": "one-shot"
                                 }
                        }
                    }]
                }


CLI Commands

The CLI commands are equivalent to the payload examples displayed in the pane on the right. `clear ipv6 neighbor ?
 <CR>
 A:B::C:D IPv6 address format: aaaa:bbbb:cccc:dddd:eeee:ffff:gggg:hhhh,aaaa::bbbb
 binding Clear dynamic IPv6 neighbor bindings ethernet Ethernet IEEE 802.3z
  force-delete Clear the cache entries without refresh
 loopback Loopback interface
 mgmt Management interface
 port-channel Port Channel interface
 vlan Vlan interface
 vrf Display per-VRF information

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