# Telnet to network devices

**URL:** <https://forum.ansible.com/t/telnet-to-network-devices/32359>\
**Category:** Ansible Project\
**Created:** [March 1, 2020, 10:26am UTC](https://forum.ansible.com/t/telnet-to-network-devices/32359 "2020-03-01T10:26:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashish\_Sagar](https://avatars.discourse-cdn.com/v4/letter/a/4491bb/32.png) [@Ashish\_Sagar](https://forum.ansible.com/u/Ashish_Sagar)\
**Post date:** [March 1, 2020, 10:26am UTC](https://forum.ansible.com/t/telnet-to-network-devices/32359/1 "2020-03-01T10:26:15Z")

</div>

Folks,

I am aware that native ansible doesn’t support telnet. Do we have any alternate to test playbooks while telnet to network devices in lab environment ?

Thanks  
Ashish

---

<div class="post-metadata">

**Author:** ![Claudia\_de\_Luna](https://avatars.discourse-cdn.com/v4/letter/c/ecccb3/32.png) [@Claudia\_de\_Luna](https://forum.ansible.com/u/Claudia_de_Luna)\
**Post date:** [March 1, 2020, 3:06pm UTC](https://forum.ansible.com/t/telnet-to-network-devices/32359/2 "2020-03-01T15:06:22Z")

</div>

Hi Ashish,

Have you tried the Telnet module?

The docs actually include IOS examples:

[https://docs.ansible.com/ansible/latest/modules/telnet\_module.html](https://docs.ansible.com/ansible/latest/modules/telnet_module.html)

Sample Playbook:

`

root@f23399314267:/ansible\_local/cisco\_ios# cat telnet.yml
