06-28-2010 11:57 AM
I'm using EEM to check the results of traceroutes and in the event I do not see an IP range in the traceroute results, I take a particular action. I am able to specify a particular address in set hop_found(192.168.108.153) and search for it. My issue is that I do not care about the last 2 octets of the IP address. Meaning, if I see the 192.168 as a next hop, I consider it a successful tracert. How can I specify only 192.168 to be searched for in the traceroute output.
Below is working code.
Solved! Go to Solution.
06-28-2010 11:55 PM
I think I understand that you just want to match the first two octets in a traceroute hop. If that is the case, then this code should work for you.
06-28-2010 11:55 PM
06-29-2010 04:29 AM
Joe,
Hey.....that's it. Exactly what I was looking for. I appreciate the help.
Mark
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