vBrainstorm is a idea house for Virtualization idea's and thoughts. This is the place to post questions, or views on technology. - Think Virtual Thinking!
esxcli
command introduced in vSphere 5.5 to clear the ARP table. ESXi 3.x, 4.x, and ESXi 5.0/5.1 do not include any mechanism to clear the ARP table.esxcli network ip neighbor remove
command to clear the ARP cache table.
esxcli network ip neighbor remove [options]
Where options
includes:-i string
or --interface-name=string
string
is the name of the VMkernel network interface from which the neighbor entry must be removed. If this option is not specified, the neighbor is removed from all interfaces.-a address
or --neighbor-addr=address
address
is the IPv4/IPv6 address of the neighbor. This is mandatory.-N instance
or --netstack=instance
instance
is the network stack instance. If unspecified, the default netstack instance is used.-v number
or --version=number
number
is the IP version and can either be 4 or 6. This is mandatory.10.131.0.103
:# esxcli network ip neighbor list
Neighbor Mac Address Vmknic Expiry State Type
------------ ----------------- ------ ------- ----- -----
10.131.0.103 00:1c:c4:a9:6f:fc vmk0 908 sec Unknown
10.131.0.179 00:1e:0b:bf:7a:50 vmk0 1062 sec Unknown
10.131.0.103
, run one of these commands:# esxcli network ip neighbor -v 4 -a 10.131.0.103
# esxcli network ip neighbor --version=4 --neighbor-addr=10.131.0.103
# esxcli network ip neighbor list
Neighbor Mac Address Vmknic Expiry State Type
------------ ----------------- ------ ------- ----- -----
10.131.0.179 00:1e:0b:bf:7a:50 vmk0 750 sec Unknown