{"id":310,"date":"2013-02-21T06:42:28","date_gmt":"2013-02-21T06:42:28","guid":{"rendered":"https:\/\/shan.info\/new\/esxi-displaying-the-arp-and-neighbor-discovery-cache-for-vmkernel-network-interfaces\/"},"modified":"2013-02-21T06:42:28","modified_gmt":"2013-02-21T06:42:28","slug":"esxi-displaying-the-arp-and-neighbor-discovery-cache-for-vmkernel-network-interfaces","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/esxi-displaying-the-arp-and-neighbor-discovery-cache-for-vmkernel-network-interfaces\/","title":{"rendered":"esxi Displaying the ARP and Neighbor Discovery cache for VMkernel network interfaces"},"content":{"rendered":"<p>\n\t&nbsp;<\/p>\n<p style=\"margin: 0px 0px 18px; padding: 0px; font-size: 12px; font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; color: rgb(51, 51, 51);\">\n\tTo 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&nbsp;<a href=\"https:\/\/www.vmware.com\/support\/developer\/vcli\/\" style=\"color: rgb(51, 153, 204);\" target=\"_blank\">vSphere Command Line Interface (vCLI)<\/a>&nbsp;or from the&nbsp;<a href=\"https:\/\/www.vmware.com\/support\/developer\/vima\/\" style=\"color: rgb(51, 153, 204);\" target=\"_blank\">vSphere Management Assistant (vMA) appliance<\/a>. For installation and\/or usage instruction, see the relevant documentation.<\/p>\n<ol style=\"margin-top: 5px; color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif, 'Bitstream Vera Sans'; font-size: 12px;\">\n<li>\n\t\tOpen a console session to the location where the&nbsp;<code>esxcli<\/code>&nbsp;command is available.<\/p>\n<ul>\n<li>\n\t\t\t\tOpen a console to the ESX or ESXi host. For more information, see&nbsp;<a docid=\"1003807\" href=\"http:\/\/kb.vmware.com\/selfservice\/microsites\/search.do?cmd=displayKC&amp;docType=kc&amp;docTypeID=DT_KB_1_1&amp;externalId=1003807\" id=\"referLink_1003807\" referto=\"referto\" style=\"color: rgb(51, 153, 204);\" target=\"_blank\">Unable to connect to an ESX host using Secure Shell (SSH) (1003807)<\/a>&nbsp;or&nbsp;<a docid=\"1017910\" href=\"http:\/\/kb.vmware.com\/selfservice\/microsites\/search.do?cmd=displayKC&amp;docType=kc&amp;docTypeID=DT_KB_1_1&amp;externalId=1017910\" id=\"referLink_1017910\" referto=\"referto\" style=\"color: rgb(51, 153, 204);\" target=\"_blank\">Using Tech Support Mode in ESXi 4.1 and 5.0&nbsp;(1017910)<\/a>.<\/li>\n<li>\n\t\t\t\tInstall the vSphere Command-Line Interface command set, and open a console session where it was installed. For more information, see the&nbsp;<a href=\"https:\/\/www.vmware.com\/support\/developer\/vcli\/\" style=\"color: rgb(51, 153, 204);\" target=\"_blank\">vSphere Command Line Interface (vCLI)<\/a>&nbsp;documentation.<\/li>\n<li>\n\t\t\t\tDeploy the vSphere Management Assistant appliance, and open the console. For more information, see the<a href=\"https:\/\/www.vmware.com\/support\/developer\/vima\/\" style=\"color: rgb(51, 153, 204);\" target=\"_blank\">vSphere Management Assistant (vMA)<\/a>&nbsp;documentation.<\/li>\n<\/ul>\n<\/li>\n<li>\n\t\tDisplay the list of known network neighbors in the ARP and ND cache for all VMkernel network interfaces using one of the commands:<\/p>\n<ul>\n<li>\n\t\t\t\tOn ESXi 4.1:<\/p>\n<p>\t\t\t\t<code>esxcli [--server&nbsp;<span style=\"font-style: italic;\">hostname<\/span>&nbsp;--username&nbsp;<span style=\"font-style: italic;\">root<\/span>&nbsp;--password&nbsp;<span style=\"font-style: italic;\">rootpassword<\/span>] network neighbor list<\/code><br \/>\n\t\t\t\t&nbsp;<\/li>\n<li>\n\t\t\t\tOn ESXi 5.0:<\/p>\n<p>\t\t\t\t<code>esxcli [--server&nbsp;<span style=\"font-style: italic;\">hostname<\/span>&nbsp;--username&nbsp;<span style=\"font-style: italic;\">root<\/span>&nbsp;--password&nbsp;<span style=\"font-style: italic;\">rootpassword<\/span>] network ip neighbor list<\/code><br \/>\n\t\t\t\t&nbsp;<\/li>\n<\/ul>\n<p>\t\t<span style=\"font-weight: bold;\">Note<\/span>: If running locally on the ESX\/ESXi host console, no server hostname or authentication is required for the&nbsp;<code>esxcli<\/code>command.<\/p>\n<p>\t\tThe output appears similar to:<\/p>\n<p>\t\t<code>Neighbor&nbsp;&nbsp;&nbsp;&nbsp; Mac Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vmknic Expiry(sec)<br \/>\n\t\t--------&nbsp;&nbsp;&nbsp;&nbsp; -----------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------ -----------<br \/>\n\t\t10.5.6.7&nbsp;&nbsp;&nbsp;&nbsp; 00:50:56:9a:00:7a vmk0&nbsp;&nbsp; 1200<br \/>\n\t\t10.5.6.8&nbsp;&nbsp;&nbsp;&nbsp; 00:50:56:9a:00:57 vmk0&nbsp;&nbsp; 1197<br \/>\n\t\t10.5.6.9 &nbsp; &nbsp; 00:50:56:9a:00:3e vmk0&nbsp;&nbsp; 277<br \/>\n\t\t10.200.1.10&nbsp; 00:50:56:9a:01:09 vmk1 &nbsp; 979<\/code><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 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&nbsp;vSphere Command Line Interface (vCLI)&nbsp;or from the&nbsp;vSphere Management Assistant (vMA) appliance. For installation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"class_list":["post-310","post","type-post","status-publish","format-standard","hentry","category-vsphere-esxi"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=310"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/310\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}