Replies: 2 comments 2 replies
-
@exlr8in You need to post your code also. |
Beta Was this translation helpful? Give feedback.
1 reply
-
You are not properly handing your first command: copy = ("copy running-config flash:7777777")
copy_output = connection.send_command(copy, expect_string=r'Destination filename', read_timeout=15)
print(copy_output) That command prompts you for more information:
So you would need to code Netmiko to handle all of that additional prompting. Here is one solution for that: https://pynet.twb-tech.com/blog/netmiko4-send-multiline.html There is also |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions