# IOS\_BGP Cisco issue

**URL:** <https://forum.ansible.com/t/ios-bgp-cisco-issue/30642>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [June 25, 2019, 4:47am UTC](https://forum.ansible.com/t/ios-bgp-cisco-issue/30642 "2019-06-25T04:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Ikram](https://avatars.discourse-cdn.com/v4/letter/m/82dd89/32.png) [@Michael\_Ikram](https://forum.ansible.com/u/Michael_Ikram)\
**Post date:** [June 25, 2019, 4:47am UTC](https://forum.ansible.com/t/ios-bgp-cisco-issue/30642/1 "2019-06-25T04:47:22Z")

</div>

Hi There,

I have a problem when I try to use ios\_bgp module below is the details:

Ansible Version  
ansible 2.8.1  
config file = /etc/ansible/ansible.cfg  
configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’]  
ansible python module location = /usr/lib/python2.7/dist-packages/ansible  
executable location = /usr/bin/ansible  
python version = 2.7.15+ (default, Nov 27 2018, 23:36:35) [GCC 7.3.0]

Playbook:  
root@ubuntu:/etc/ansible# cat BGP.yml

---

<div class="post-metadata">

**Author:** ![nchakrab](https://avatars.discourse-cdn.com/v4/letter/n/919ad9/32.png) [@nchakrab](https://forum.ansible.com/u/nchakrab)\
**Post date:** [June 25, 2019, 6:23am UTC](https://forum.ansible.com/t/ios-bgp-cisco-issue/30642/2 "2019-06-25T06:23:21Z")

</div>

Hi Michael,

ios\_bgp only supports connection: network\_cli. You are using connection: local with provider dict, hence its failing.

Thanks!
