02-20-2012 06:22 AM - edited 03-07-2019 05:02 AM
Hi all. I am in need to have the arp table cleared every 5 seconds or so on a 2800 router. I was wondering how I might be able to accomplish this. Anyone have any ideas on how to do this?
02-20-2012 06:36 AM
Not sure, why would you want to do this. Nevertheless, there is no such command to do it on a router. But you can use schedule a batch job to execute automatically every 5 seconds. You can accomplish this with some TCL script or use of Ciscoworks, HPNA or Kiwi cat tools. I have never used Kiwi Cat tools though for this.
Thanks
Vivek
02-20-2012 08:11 AM
Hello,
Easiast way I guess to write EEM script. I guess it should look like this:
event manager applet CLEA_ARP
event timer watchdog time 5.0
action 1.0 cli command "clear ip arp"
So you just configuring this in conf t mode. Though better to test that in a lab before applying to production.
More configs can be found here:
http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_eem_policy_cli.html
Hope this helps,
Nik
02-20-2012 08:19 AM
Oh yes, forgot this completely. EEM's are awesome
02-20-2012 08:30 AM
Thank you guys for your replies. I dont know much about EEM, but Ill look into this and learn what I can. Thanks again.
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