Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

clear arp table every 5 seconds

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

clear arp table every 5 seconds

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

Cisco Employee

clear arp table every 5 seconds

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

clear arp table every 5 seconds

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

New Member

clear arp table every 5 seconds

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

796
Views
9
Helpful
4
Replies