cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1973
Views
9
Helpful
4
Replies

clear arp table every 5 seconds

jjoseph01
Level 3
Level 3

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?

4 Replies 4

Vivek Ganapathi
Level 4
Level 4

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

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
HTH,
Niko

Oh yes, forgot this completely. EEM's are awesome

Thank you guys for your replies.  I dont know much about EEM, but Ill look into this and learn what I can.  Thanks again.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card