WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud
  • Tanzu
    • Application Modernization
    • Tanzu services
    • Tanzu Community Edition
    • Tanzu Kubernetes Grid
    • vSphere with Tanzu
  • Home Lab
  • Nested Virtualization
  • Apple
You are here: Home / How to clear the ARP cache on ESXi using new ESXCLI 5.5

How to clear the ARP cache on ESXi using new ESXCLI 5.5

09.18.2013 by William Lam // 2 Comments

The ability to clear the ARP cache/table for an ESXi host is feature that has been requested from customers from time to time and usually for diagnosing network related issues. In previous releases, this was not something you could easily do and it was nice to see this feature get implemented in a new ESXCLI command that will be available as part of the vSphere 5.5 release.

The ESXCLI "network ip neighbor" namespace has been enhanced to include a new option:

You can list ARP table entries using the "list" operation and you can now clear a specific ARP entry using the "remove" operation.

To clear an ARP entry, you will need to specify the IP Address you wish to clear, the IP protocol whether it is IPv4 or IPv6 and you also have the option to specify the particular VMkernel interface. If you do not specify the particular VMKernel interface, then the entry will be removed for all interfaces.

Here is a screenshot of listing of the current ARP entries and then removing an entry for VMkernel interface 1:

This will definitely be a useful ESXCLI command to be aware of the next time you need to troubleshoot a network issue!

Note: I mentioned earlier that clearing the ARP cache was not something that you could do prior to vSphere 5.5. However, while working on this article, I actually learned it was possible to clear the ARP cache, but it was not very user friendly like the new ESXCLI 5.5 command. In a separate article, I will show you how can clear the ARP cache on earlier versions of ESXi.

If you wish to clear the ARP cache on an ESXi host prior to ESXi 5.5, please take a look at this article for more details.

More from my site

  • Additional steps required to completely disable VSAN on ESXi host
  • How to bootstrap vCenter Server onto a single VSAN node Part 2?
  • How to bootstrap vCenter Server onto a single VSAN node Part 1?
  • A killer custom Apple Mac Mini setup running VSAN
  • Does VSAN work with Free ESXi?

Categories // Uncategorized Tags // arp cache, esxcli, esxi 5.5, vSphere 5.5

Comments

  1. Ahmed Amer says

    09/19/2013 at 8:08 am

    Excellent Explanation.

    Reply

Trackbacks

  1. How to clear the ARP cache in ESXi prior to vSphere 5.5 | virtuallyGhetto says:
    02/28/2014 at 4:58 pm

    […] I wrote an article about a new ESXCLI command that will be available as part of the soon to be released vSphere 5.5 […]

    Reply

Thanks for the comment! Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Author

William Lam is a Senior Staff Solution Architect working in the VMware Cloud team within the Cloud Infrastructure Business Group (CIBG) at VMware. He focuses on Cloud Native technologies, Automation, Integration and Operation for the VMware Cloud based Software Defined Datacenters (SDDC)

Connect

  • Email
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • Vimeo

Recent

  • How to disable the Efficiency Cores (E-cores) on an Intel NUC? 03/24/2023
  • Changing the default HTTP(s) Reverse Proxy Ports on ESXi 8.0 03/22/2023
  • NFS Multi-Connections in vSphere 8.0 Update 1 03/20/2023
  • Quick Tip - How to download ESXi ISO image for all releases including patch updates? 03/15/2023
  • SSD with multiple NVMe namespaces for VMware Homelab 03/14/2023

Advertisment

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2023