# Ho to config my network switch device?

**URL:** <https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404>\
**Category:** Ansible Project\
**Created:** [May 11, 2016, 9:42am UTC](https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404 "2016-05-11T09:42:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aries](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@aries](https://forum.ansible.com/u/aries)\
**Post date:** [May 11, 2016, 9:42am UTC](https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404/1 "2016-05-11T09:42:32Z")

</div>

Hi

My network switch has ssh, no Python.

Can I use Ansible via SSH to config my switch? (use CLI command)

Thanks

---

<div class="post-metadata">

**Author:** ![Kai\_Stian\_Olstad](https://avatars.discourse-cdn.com/v4/letter/k/e19adc/32.png) [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Post date:** [May 12, 2016, 5:33pm UTC](https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404/2 "2016-05-12T17:33:53Z")

</div>

Yes, check out the raw module  
[https://docs.ansible.com/ansible/raw\_module.html](https://docs.ansible.com/ansible/raw_module.html)

---

<div class="post-metadata">

**Author:** ![Ian\_Cote](https://avatars.discourse-cdn.com/v4/letter/i/c67d28/32.png) [@Ian\_Cote](https://forum.ansible.com/u/Ian_Cote)\
**Post date:** [May 12, 2016, 10:09pm UTC](https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404/3 "2016-05-12T22:09:59Z")

</div>

What make of switch? Ansible 2.1 has support for a lot of switch vendors - see [http://docs.ansible.com/ansible/list\_of\_network\_modules.html](http://docs.ansible.com/ansible/list_of_network_modules.html)  
The switch does not need python installed and this gives a bit of additional functionality. I’ve had success so far withe the cisco ios and some success (with one issue, I have a post here on it) with juniper. I have some cumulus switches coming soon to test as well.

-ian

---

<div class="post-metadata">

**Author:** ![aries](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@aries](https://forum.ansible.com/u/aries)\
**Post date:** [May 16, 2016, 8:01am UTC](https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404/4 "2016-05-16T08:01:29Z")

</div>

Hi ian:

I want to create a new device for network module.  
The base module are command, config and template. I will reference IOS network module.

How to implement the network module?

Is it a custom module?

Thanks

Ian Cote於 2016年5月13日星期五 UTC+8上午6時10分00秒寫道：

---

<div class="post-metadata">

**Author:** ![Johannes\_Kastl](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Post date:** [May 16, 2016, 4:57pm UTC](https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404/5 "2016-05-16T16:57:40Z")

</div>

Maybe you get some more answers to your questions, if you ask more  
spefically. Or if you actually answer the question, that you get  
asked. Like the one Ian asked.

What kind of switch? Why do you have to start from scratch? Nothing  
you can build upon? Is there an existing module that is just missing  
some features? Stuff like that...

Johannes

---

<div class="post-metadata">

**Author:** ![aries](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@aries](https://forum.ansible.com/u/aries)\
**Post date:** [May 18, 2016, 3:25am UTC](https://forum.ansible.com/t/ho-to-config-my-network-switch-device/21404/6 "2016-05-18T03:25:41Z")

</div>

H Johannes:

It is white box switch.

Johannes Kastl於 2016年5月17日星期二 UTC+8上午12時57分54秒寫道：
