I apologize if this is a simple issue to fix, but I wasn't able to find the answer to this after which is why I'm posting here.
I'm trying to use the .send_command to delete files from flash on cisco ios. Here is the output I have
>>> output = net_connect.send_command('delete flash:cat3k_caa-base.SPA.03.03.02SE.pkg') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/xxxx/.local/lib/python2.7/site-packages/netmiko/base_connection.py", line 1051, in send_command search_pattern)) IOError: Search pattern never detected in send_command_expect: XXX\XXX\XXX\#
I think the send_command is expecting to see the hostname which I edited out to (XXX\XXX\XXX)after sending a command, but the issue with the delete command is that it prompts for confirmation. Does anyone know how to get around this?