# Connecting to Cisco IOS device through Cisco terminal server (29xx)

**URL:** <https://forum.ansible.com/t/connecting-to-cisco-ios-device-through-cisco-terminal-server-29xx/24944>\
**Category:** Ansible Project\
**Created:** [July 10, 2017, 6:46pm UTC](https://forum.ansible.com/t/connecting-to-cisco-ios-device-through-cisco-terminal-server-29xx/24944 "2017-07-10T18:46:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolcps](https://avatars.discourse-cdn.com/v4/letter/c/a4c791/32.png) [@coolcps](https://forum.ansible.com/u/coolcps)\
**Post date:** [July 10, 2017, 6:46pm UTC](https://forum.ansible.com/t/connecting-to-cisco-ios-device-through-cisco-terminal-server-29xx/24944/1 "2017-07-10T18:46:31Z")

</div>

I would like Ansible to connect to the console port of IOS devices to provision them. I have set up a Cisco 29xx terminal server to use SSH. The issue is that in order to access the device, you must now go through two prompts. The first prompt username/password, then hit Enter to bring up the second prompt. From here it is like logging into the device as normal.

[![](https://lh3.googleusercontent.com/-aEPOB6hgYBE/WWPLP1koVkI/AAAAAAAAAJg/aPgCBezUZaUKSNVEA4Yez9vcnhc4qzDmgCLcBGAs/s1600/Capture.PNG)](https://lh3.googleusercontent.com/-aEPOB6hgYBE/WWPLP1koVkI/AAAAAAAAAJg/aPgCBezUZaUKSNVEA4Yez9vcnhc4qzDmgCLcBGAs/s1600/Capture.PNG)

Is there anyway to use the current ios modules (facts, command, config, etc) to login in this manner? Or are there any other solutions? Thanks for any assistance!

---

<div class="post-metadata">

**Author:** ![psprygada](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@psprygada](https://forum.ansible.com/u/psprygada)\
**Post date:** [July 11, 2017, 2:26pm UTC](https://forum.ansible.com/t/connecting-to-cisco-ios-device-through-cisco-terminal-server-29xx/24944/2 "2017-07-11T14:26:51Z")

</div>

This will not work with the current network modules.
