Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hello, I need some regexp help in EEMI'm trying to extract the IP and the Metric out of a show ip route statementexample of show ip route:E 192.172.0.0 [200/3565] via 131.119.254.244, 0:02:22, Ethernet2Would like to extract 192.172.0.0 to a variab...
Thank you sir!Your explanation of the parent and sub var is what I was missing. I was able to change you regexp to also pull the subnet mask also as a test.One question. do you only use "match" in the regexp statement when matching more than one ex...
Sure, I apologize if there are any typos. I do not have access to the router from any internet facing computer so have to hand type the configs.**this applet returns the [AD/Metric] for all routes in the routing table. including the brackets. I c...
Thanks for the super fast replyaction 3.0 regexp "\\[[0-9]+/([0-9]+)\\]" "$_cli_result" metric This command returns both the distance and metric values"[200/3565]" I need to only get the "3565"