I'm using netmiko to run traceroute through a Cisco device and set the expect_string='[0-9]{1,3} \* \* \*'. This successfully returns the output once the traceroute stops getting a response, but I can't run the next command until the traceroute finishes trying all 30 hops. I tried to send \x003, but that didn't work.
How can I interrupt the traceroute command through netmiko?
No comments:
Post a Comment