# Ansible raw module cisco error

**URL:** <https://forum.ansible.com/t/ansible-raw-module-cisco-error/24872>\
**Category:** Ansible Project\
**Created:** [July 2, 2017, 1:07pm UTC](https://forum.ansible.com/t/ansible-raw-module-cisco-error/24872 "2017-07-02T13:07:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Zheng](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@David\_Zheng](https://forum.ansible.com/u/David_Zheng)\
**Post date:** [July 2, 2017, 1:07pm UTC](https://forum.ansible.com/t/ansible-raw-module-cisco-error/24872/1 "2017-07-02T13:07:49Z")

</div>

I have issue with issue command via raw module against cisco device

ansible r1 -m raw -a “show vlan brief”  
SSH password:  
r1 | SUCCESS | rc=0 \>\>

Line has invalid autocommand “show vlan brief”

But “show ver/show clock” works fine

---

<div class="post-metadata">

**Author:** ![lei\_wang](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@lei\_wang](https://forum.ansible.com/u/lei_wang)\
**Post date:** [July 20, 2017, 8:35am UTC](https://forum.ansible.com/t/ansible-raw-module-cisco-error/24872/2 "2017-07-20T08:35:59Z")

</div>

hi i have used the raw module "“show vlan brief” also works fine too,

but i have some h3c switch the raw modules does not work fine do you have any ideas ?

在 2017年7月3日星期一 UTC+8下午8:51:51，David Zheng写道：

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [July 20, 2017, 2:04pm UTC](https://forum.ansible.com/t/ansible-raw-module-cisco-error/24872/3 "2017-07-20T14:04:58Z")

</div>

Have you tried using paramiko as the connection plugin?

Many of these appliances don't have a 'standard' ssh service and the  
OpenSSH client (most common one installed) can have issues with it.  
Paramiko is a python ssh implementation and is a lot more forgiving  
with some of these appliances.
