06-30-2015 04:52 AM - edited 03-08-2019 12:46 AM
Hello,
I'd like to record, or rather log, the number of dhcp leases issued by the router every 30 mins or so. I don't need to record the mac-addresses or any other details, just want to be able to pull a txt or csv into excel and "graph" it. I could of course ssh to the router every 30 mins or so and perform a "sh ip dhcp pool" and write it down, but there's more to life...
I'm not a scriping guru or anything like that so any guidance on how I could possibly automate this would be appriciated.
Thanks and regards.
Stu.
06-30-2015 08:53 AM
Hi you could try modify one of these already built EEM examples for what you need rather than build one from scratch that might work for you and you can have them email it to yourself
some good examples in this link below
https://supportforums.cisco.com/document/117596/cisco-eem-basic-overview-and-sample-configurations
06-30-2015 10:49 PM
Thanks Mark, I'll take a look...
Stu.
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