1822497 Members
2521 Online
109642 Solutions
New Discussion

clear arp cache

 
SOLVED
Go to solution
Kevin Wright
Honored Contributor

clear arp cache

is there a way to clear all the non-permanent arp entries on HPUX..I know you can use -d hostname but that is not a good solution..on Irix, you can use arp -c to clear all entries.
1 REPLY 1
Wieslaw Krajewski
Honored Contributor
Solution

Re: clear arp cache

Hi,

As far as I know there is no direct possibility to clear all entries in the arp cache. But can do it on many other "indirect" ways, for example:

arp -a | cut -d' ' -f1 | while read i
do
arp -d $i
done

Hope this helps.

Rgds
Permanent training makes master