-
I know this issue arises in various forums but could anyone offer some guidance on why nornir/netmiko cannot enter enable mode on IOS-XE please? Does this code attaches the 'secret' in the right place?
I didn't pass any commands to enter enable mode, but I thought nornir/netmiko would figure out that it needs to execute the 'enable' command automatically? The error coming back is: If I use a username/password which ISE policy sends directly to enable mode, I don't get the above error.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
=> Most likely situation is that Nornir/Netmiko has the secret but is having trouble recognising the enable prompt, or ISE is too slow to authorise enable mode. Let me see if there's a way to debug this via Netmiko. |
Beta Was this translation helpful? Give feedback.
-
Here is an abridged version of the inventory:
And this is the code initialising nornir and setting some more defaults:
|
Beta Was this translation helpful? Give feedback.
-
The answer is provided by Kirk above (for some reason there's no answer button showing. |
Beta Was this translation helpful? Give feedback.
The answer is provided by Kirk above (for some reason there's no answer button showing.