cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
366
Views
0
Helpful
1
Replies

Failed while bringing device to "any" state

EntNetENG
Level 1
Level 1

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."

 

 

1 Accepted Solution

Accepted Solutions

Jesus Illescas
Cisco Employee
Cisco Employee

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.

 

 

View solution in original post

1 Reply 1

Jesus Illescas
Cisco Employee
Cisco Employee

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.