esxi Displaying the ARP and Neighbor Discovery cache for VMkernel network interfaces

 

To review the ARP and ND cache for the VMkernel network interfaces on an ESX or ESXi host, use the local or remote esxcli command. This command is available at the local console of the ESX/ESXi host, and usable remotely from the vSphere Command Line Interface (vCLI) or from the vSphere Management Assistant (vMA) appliance. For installation and/or usage instruction, see the relevant documentation.

  1. Open a console session to the location where the esxcli command is available.
  2. Display the list of known network neighbors in the ARP and ND cache for all VMkernel network interfaces using one of the commands:
    • On ESXi 4.1:

      esxcli [--server hostname --username root --password rootpassword] network neighbor list
       
    • On ESXi 5.0:

      esxcli [--server hostname --username root --password rootpassword] network ip neighbor list
       
    Note: If running locally on the ESX/ESXi host console, no server hostname or authentication is required for the esxclicommand.

    The output appears similar to:

    Neighbor     Mac Address       vmknic Expiry(sec)
    --------     -----------       ------ -----------
    10.5.6.7     00:50:56:9a:00:7a vmk0   1200
    10.5.6.8     00:50:56:9a:00:57 vmk0   1197
    10.5.6.9     00:50:56:9a:00:3e vmk0   277
    10.200.1.10  00:50:56:9a:01:09 vmk1   979

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0009412872{main}( ).../index.php:0
20.15864262984Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.15864262984Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.433611453968Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.434611478472Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.436411533800Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.436811561200require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.449111960832K2ControllerItem->execute( ).../k2.php:64
90.449111960832K2ControllerItem->display( ).../BaseController.php:710
100.464812611536K2ControllerItem->display( ).../item.php:78
110.464912611536K2ControllerItem->display( ).../controller.php:19
120.471112982576Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.474313002944K2ViewItem->display( ).../ViewController.php:102
140.620415861152K2ViewItem->display( ).../view.html.php:742
150.620415861152K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.624016034088include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0009412872{main}( ).../index.php:0
20.15864262984Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.15864262984Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.433611453968Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.434611478472Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.436411533800Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.436811561200require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.449111960832K2ControllerItem->execute( ).../k2.php:64
90.449111960832K2ControllerItem->display( ).../BaseController.php:710
100.464812611536K2ControllerItem->display( ).../item.php:78
110.464912611536K2ControllerItem->display( ).../controller.php:19
120.471112982576Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.474313002944K2ViewItem->display( ).../ViewController.php:102
140.620415861152K2ViewItem->display( ).../view.html.php:742
150.620415861152K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.624016034088include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top