Skip to content
Advertisement

Failed to enter configuration mode in Netmiko while trying to use send_config_set

I’m new to Python and Netmiko. I;m trying to use netmiko to login to aruba switches. while i pass on some commands using send_config_set, it is erroring out saying “failed to enter configuration mode” am i missing anything here.

JavaScript

can someone help me with this pls?

JavaScript

I tried to run netmiko debug and looks like netmiko is issuing the commands correctly. Netmiko logs are:

JavaScript

Advertisement

Answer

You can use the sample code I wrote below. It will be enough to update the prompt section.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement