# Which Cisco module to configure interfaces?

**URL:** <https://forum.ansible.com/t/which-cisco-module-to-configure-interfaces/21999>\
**Category:** Ansible Project\
**Created:** [July 12, 2016, 10:15pm UTC](https://forum.ansible.com/t/which-cisco-module-to-configure-interfaces/21999 "2016-07-12T22:15:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyle\_White](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@Kyle\_White](https://forum.ansible.com/u/Kyle_White)\
**Post date:** [July 12, 2016, 10:15pm UTC](https://forum.ansible.com/t/which-cisco-module-to-configure-interfaces/21999/1 "2016-07-12T22:15:20Z")

</div>

Hello all!

I have been trying to modify my VTY interfaces on all the devices in my district, but do not know which module will be the best for this? I tried the ios\_command and ios\_config modules with no success (I think they can only modify win global config).

Could anybody please point me in the right direction?

---

<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 18, 2016, 2:39am UTC](https://forum.ansible.com/t/which-cisco-module-to-configure-interfaces/21999/2 "2016-07-18T02:39:17Z")

</div>

Kyle,

Take a look here: [https://gist.github.com/privateip/a83443dfe301255fa4648933e8ab7f61](https://gist.github.com/privateip/a83443dfe301255fa4648933e8ab7f61)

Peter
