03-11-2025 10:28 AM
I have been using pyATS in our network to back up device configurations using the "learn" feature. However, I am experiencing an issue with a switch stack of eight when trying to retrieve the configs. I have validated my testbed file and can connect to the device via SSH, but I keep receiving the following error message:
"Failed to connect to <hostname>.
Failed while bringing the device to 'any' state."
Solved! Go to Solution.
03-12-2025 02:43 AM
Since this is a stack, does the name KC_Stack_MDF on the testbed matches the hostname of the device? If not, they should match or you should use the option to learn the hostname when connecting. I don't use the cli of pyATS, but I guess in the docs should be.
03-12-2025 02:43 AM
Since this is a stack, does the name KC_Stack_MDF on the testbed matches the hostname of the device? If not, they should match or you should use the option to learn the hostname when connecting. I don't use the cli of pyATS, but I guess in the docs should be.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide