03-27-2009 08:32 AM - edited 03-04-2019 04:07 AM
we are switching over new server Domain Controller cards
What is the best way to clear the arp table?
I do a show ip arp..and a table of
IP's and macs.
I issue a clear arp command..but the
table reamins
I issue a clear-arp cache command..but the table remains?
Also what about the clear ip arp command?
Solved! Go to Solution.
03-27-2009 11:59 AM
Richard
I checked on a router and there is a single command clear arp-cache. So you can execute clear arp and it works (because arp is an abreviation of arp-cache) and of course you can do clear arp-cache. When I try to put a space inbetween arp and cache clear arp cache I get an error for invalid syntax.
HTH
Rick
03-27-2009 08:36 AM
What platform and version of IOS are you running?
03-27-2009 08:49 AM
Hi Richard,
When you did a "clear arp-cache" command. Is that host(Existing AD) still alive? Are there any connections to that host? Please follow these steps.
HTH,
Toshi
03-27-2009 08:51 AM
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)SEE2, REL
ASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
03-27-2009 10:02 AM
Richard
It can be a bit confusing about clear arp because as you state in your original post it appears that the arp table is still there. But if you look carefully you will see that this is not really the case. When you issue the clear arp command the Cisco will purge the entries in its arp table and it will immediately issue arp requests for every address that was in the table. Assuming that the same devices are still alive on the network then they will all respond and a table will be built that looks like the original table. But if some device has powered down then its entry will disappear from the arp table. And if a device has a different NIC then its IP will still be in the table but it will have a different MAC (if you look carefully you can see these differences, but to casual observation the table looks just the same).
HTH
Rick
03-27-2009 11:22 AM
Rick,
I can't explain in that way.
5P!
Thanks
Toshi
03-27-2009 11:54 AM
great! thx..
is there a diff in the clear arp
and clear arp cache command?
03-27-2009 11:59 AM
Richard
I checked on a router and there is a single command clear arp-cache. So you can execute clear arp and it works (because arp is an abreviation of arp-cache) and of course you can do clear arp-cache. When I try to put a space inbetween arp and cache clear arp cache I get an error for invalid syntax.
HTH
Rick
03-27-2009 12:38 PM
great thx..
sometimes the obvious answers are the easiest ones :-)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide