# \#cisco

**URL:** https://forum.ansible.com/tag/cisco/180.md?page=1

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 2

---

## [Cisco.ios VLAN trunk config error](https://forum.ansible.com/t/cisco-ios-vlan-trunk-config-error/39924)

<div class="topic-metadata">

**Author:** [@toasttheft](https://forum.ansible.com/u/toasttheft)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 12:27pm UTC](https://forum.ansible.com/t/cisco-ios-vlan-trunk-config-error/39924 "2025-01-30T12:27:19Z")

</div>

Hi, I’m trying to configure a Cisco Catalyst 1000 switch. but I’m receiving an error that isn’t clear. I am able to create VLANs on the switch using the examples from the documentation. Now I’m trying to configure a sw…

---

## [Get data from Cisco Catalyst Center using Ansible](https://forum.ansible.com/t/get-data-from-cisco-catalyst-center-using-ansible/39784)

<div class="topic-metadata">

**Author:** [@pusaklazoss](https://forum.ansible.com/u/pusaklazoss)\
**Replies:** 1\
**Last updated:** [January 23, 2025, 2:41pm UTC](https://forum.ansible.com/t/get-data-from-cisco-catalyst-center-using-ansible/39784 "2025-01-23T14:41:25Z")

</div>

I am trying to get some info out of Cisco Catalyst center using Ansible. I followed This tutorial.. As far as I can tell everything is installed correctly. Im using Cisco sandbox for the Catalyst center and VPN is conn…

---

## [How to Determine Cisco Devices' Capability to Accept FQDN/Host Name as Logging Source?](https://forum.ansible.com/t/how-to-determine-cisco-devices-capability-to-accept-fqdn-host-name-as-logging-source/39630)

<div class="topic-metadata">

**Author:** [@kerb0t](https://forum.ansible.com/u/kerb0t)\
**Replies:** 0\
**Last updated:** [January 15, 2025, 4:53pm UTC](https://forum.ansible.com/t/how-to-determine-cisco-devices-capability-to-accept-fqdn-host-name-as-logging-source/39630 "2025-01-15T16:53:52Z")

</div>

Hi everyone, I’m looking for an efficient way to identify which Cisco devices in my inventory can accept a Fully Qualified Domain Name (FQDN) or host name as a logging source. My inventory includes both IOS and NXOS dev…

---

## [Getting authentication issue while connection to Cisco Switch](https://forum.ansible.com/t/getting-authentication-issue-while-connection-to-cisco-switch/39335)

<div class="topic-metadata">

**Author:** [@GowthamLok](https://forum.ansible.com/u/GowthamLok)\
**Replies:** 1\
**Last updated:** [January 2, 2025, 3:10pm UTC](https://forum.ansible.com/t/getting-authentication-issue-while-connection-to-cisco-switch/39335 "2025-01-02T15:10:43Z")

</div>

I am trying to connect to a cisco switch using ansible creds(username and password that are being fetched from PAM) while trying to execute a command sh version, I’m getting authentication issue. Both user name and passw…

---

## [Ansible\_python\_interpreter issues](https://forum.ansible.com/t/ansible-python-interpreter-issues/9664)

<div class="topic-metadata">

**Author:** [@venom619](https://forum.ansible.com/u/venom619)\
**Replies:** 9\
**Last updated:** [October 4, 2024, 5:41pm UTC](https://forum.ansible.com/t/ansible-python-interpreter-issues/9664 "2024-10-04T17:41:22Z")

</div>

Hello, I keep getting the following errors when I run my cisco playbook: Failed to import the required Python library (ansible-pylibssh) on itbckt-01’s Python /usr/bin/python3.12. Please read the module documentation a…

---

## [Ansible Automation Platform Air Gapped Trial- Cisco Modules Timing Out](https://forum.ansible.com/t/ansible-automation-platform-air-gapped-trial-cisco-modules-timing-out/7207)

<div class="topic-metadata">

**Author:** [@HYDRA](https://forum.ansible.com/u/HYDRA)\
**Replies:** 5\
**Last updated:** [September 25, 2024, 5:34pm UTC](https://forum.ansible.com/t/ansible-automation-platform-air-gapped-trial-cisco-modules-timing-out/7207 "2024-09-25T17:34:43Z")

</div>

I am new to ansible and just set up AAP for a trial in my on-prem network. I have a VM that my controller is on, and a second VM which houses my Hub. For a while I was having successful playbooks using the cisco.ios modu…

---

## [Automate IOS device local password change](https://forum.ansible.com/t/automate-ios-device-local-password-change/8666)

<div class="topic-metadata">

**Author:** [@Jonathan](https://forum.ansible.com/u/Jonathan)\
**Replies:** 0\
**Last updated:** [September 20, 2024, 10:19pm UTC](https://forum.ansible.com/t/automate-ios-device-local-password-change/8666 "2024-09-20T22:19:11Z")

</div>

Hey all, I just wanted to share a playbook that I found entirely too useful recently. The playbook generates a new unique 16 char ascii password (it does this for each device in the host file), and then the playbook use…

---

## [Cisco.ios.ios\_config module reporting odd local path error](https://forum.ansible.com/t/cisco-ios-ios-config-module-reporting-odd-local-path-error/8074)

<div class="topic-metadata">

**Author:** [@Moridn](https://forum.ansible.com/u/Moridn)\
**Replies:** 3\
**Last updated:** [August 26, 2024, 9:37pm UTC](https://forum.ansible.com/t/cisco-ios-ios-config-module-reporting-odd-local-path-error/8074 "2024-08-26T21:37:50Z")

</div>

I have a weird issue that I have been on 3-4 forums so far and no one (so far) has any idea what could be the issue. I have an existing playbook that suddenly seems to be having an odd problem out of the blue. It was wo…

---

## [Simulators of network equipment for existing Ansible network modules?](https://forum.ansible.com/t/simulators-of-network-equipment-for-existing-ansible-network-modules/7872)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 4\
**Last updated:** [August 16, 2024, 3:09pm UTC](https://forum.ansible.com/t/simulators-of-network-equipment-for-existing-ansible-network-modules/7872 "2024-08-16T15:09:46Z")

</div>

Is there such a thing as a free to use, preferably packaged for Debian, simulator of a, say, Cisco or Juniper router I could use for demonstrations purposes for corresponding and existing Ansible modules? I teach Ansibl…

---

## [Netcommon.cli\_command using ssh keys](https://forum.ansible.com/t/netcommon-cli-command-using-ssh-keys/7350)

<div class="topic-metadata">

**Author:** [@bgoulet00](https://forum.ansible.com/u/bgoulet00)\
**Replies:** 3\
**Last updated:** [July 30, 2024, 7:58pm UTC](https://forum.ansible.com/t/netcommon-cli-command-using-ssh-keys/7350 "2024-07-30T19:58:48Z")

</div>

i know the username and private key are good as i use them to connect to the same target in a terminal emulator. i am not able to get this working with ansible though. here are the vars from my host file vars: ans…

---

## [Ansible can't connect to IOS switches using ssh (previously working)](https://forum.ansible.com/t/ansible-cant-connect-to-ios-switches-using-ssh-previously-working/7515)

<div class="topic-metadata">

**Author:** [@Jonathan](https://forum.ansible.com/u/Jonathan)\
**Replies:** 2\
**Last updated:** [July 28, 2024, 4:57pm UTC](https://forum.ansible.com/t/ansible-cant-connect-to-ios-switches-using-ssh-previously-working/7515 "2024-07-28T16:57:01Z")

</div>

Hey all, I got a bit of a head scratcher. Long story short, I had to redeploy my Ubuntu VM bcuz hyper-v sucks. Anyways, I was hoping the only thing I would have difficulty with was re-creating my hosts.ini file and my…

---

## [Cisco IOS collection unable to display config diff](https://forum.ansible.com/t/cisco-ios-collection-unable-to-display-config-diff/7256)

<div class="topic-metadata">

**Author:** [@Jonathan](https://forum.ansible.com/u/Jonathan)\
**Replies:** 1\
**Last updated:** [July 18, 2024, 3:36pm UTC](https://forum.ansible.com/t/cisco-ios-collection-unable-to-display-config-diff/7256 "2024-07-18T15:36:18Z")

</div>

Hello all, I’m new to using Ansible, and this forum so please let me know if I’m doing something wrong here. The results below are from a lab I have set up to develop my companies Ansible capabilities. The goal: To use…

---

## [SSH issue to a Cisco 2960X on RHEL9 and Python 3.9](https://forum.ansible.com/t/ssh-issue-to-a-cisco-2960x-on-rhel9-and-python-3-9/7247)

<div class="topic-metadata">

**Author:** [@jdetwiler16](https://forum.ansible.com/u/jdetwiler16)\
**Replies:** 1\
**Last updated:** [July 17, 2024, 4:05pm UTC](https://forum.ansible.com/t/ssh-issue-to-a-cisco-2960x-on-rhel9-and-python-3-9/7247 "2024-07-17T16:05:31Z")

</div>

Hi all! I just upgraded Python on a test agent server (RHEL9) to 3.9.18 and suddenly I’m getting the below error about encryption key mismatches between the agent and the switch (Cisco 2960X). The same exact playbook ru…

---

## [Serious collection requirement violation of cisco.mso: undeclared dependency on cisco.nd (which isn't part of Ansible community package)](https://forum.ansible.com/t/serious-collection-requirement-violation-of-cisco-mso-undeclared-dependency-on-cisco-nd-which-isnt-part-of-ansible-community-package/7039)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 13\
**Last updated:** [July 15, 2024, 10:01pm UTC](https://forum.ansible.com/t/serious-collection-requirement-violation-of-cisco-mso-undeclared-dependency-on-cisco-nd-which-isnt-part-of-ansible-community-package/7039 "2024-07-15T22:01:39Z")

</div>

While working on an ansible-test extension (validate-modules: reject option/alias names equal up to casing belonging to different options by felixfontein · Pull Request #83530 · ansible/ansible · GitHub) I noticed that a…

---

## [Video Demo: Branch network lifecycle with Cisco Meraki](https://forum.ansible.com/t/video-demo-branch-network-lifecycle-with-cisco-meraki/6548)

<div class="topic-metadata">

**Author:** [@IPvSean](https://forum.ansible.com/u/IPvSean)\
**Replies:** 0\
**Last updated:** [June 14, 2024, 8:21pm UTC](https://forum.ansible.com/t/video-demo-branch-network-lifecycle-with-cisco-meraki/6548 "2024-06-14T20:21:20Z")

</div>

I recorded this demo at Cisco Live 2024 where Nick Thompson (WWT) provided 3 x use-cases with using Ansible and Cisco Meraki. In this demo, Nick showcases a combination of Event-Driven Ansible, application telemetry, an…

---

## [Cisco CDP neighbor configure descriptions](https://forum.ansible.com/t/cisco-cdp-neighbor-configure-descriptions/5783)

<div class="topic-metadata">

**Author:** [@shicks](https://forum.ansible.com/u/shicks)\
**Replies:** 7\
**Last updated:** [May 16, 2024, 12:15am UTC](https://forum.ansible.com/t/cisco-cdp-neighbor-configure-descriptions/5783 "2024-05-16T00:15:06Z")

</div>

I am trying to use the cdp neighbor information gathered in cisco.ios.ios\_facts to configure the descriptions on the interfaces that are relevant to the neighbors. in the following code, I can iterate through the interf…

---

## [Manipulate cisco snmp user cli data](https://forum.ansible.com/t/manipulate-cisco-snmp-user-cli-data/5092)

<div class="topic-metadata">

**Author:** [@bgoulet00](https://forum.ansible.com/u/bgoulet00)\
**Replies:** 10\
**Last updated:** [April 30, 2024, 10:12pm UTC](https://forum.ansible.com/t/manipulate-cisco-snmp-user-cli-data/5092 "2024-04-30T22:12:04Z")

</div>

i’m looking to delete all existing snmp users from a device. the results of ‘show snmp users’ comes back in a format i can’t figure out how to work with. if this data could be converted to a list of dictionaries, 1 dic…

---

## [How to get Ansible playbook to terminate When one task fails](https://forum.ansible.com/t/how-to-get-ansible-playbook-to-terminate-when-one-task-fails/5021)

<div class="topic-metadata">

**Author:** [@Cysco\_Colloh](https://forum.ansible.com/u/Cysco_Colloh)\
**Replies:** 18\
**Last updated:** [April 23, 2024, 2:28pm UTC](https://forum.ansible.com/t/how-to-get-ansible-playbook-to-terminate-when-one-task-fails/5021 "2024-04-23T14:28:58Z")

</div>

Hello Team. I have an Ansible playbook where am trying to automate VLAN mapping on my network. Cureently, script is able to create and map VLAN on respective interfaces as set in the inventory. If one switch in the inv…

---

## [Setting VTP primary using cisco.ios.ios\_command module](https://forum.ansible.com/t/setting-vtp-primary-using-cisco-ios-ios-command-module/4443)

<div class="topic-metadata">

**Author:** [@jdetwiler16](https://forum.ansible.com/u/jdetwiler16)\
**Replies:** 4\
**Last updated:** [March 20, 2024, 2:48am UTC](https://forum.ansible.com/t/setting-vtp-primary-using-cisco-ios-ios-command-module/4443 "2024-03-20T02:48:28Z")

</div>

Hi all! I’m somewhat new to Ansible and looking for some help getting the Cisco ios\_command module to work in my favor to set a device as VTP primary in VTPv3. I’ve tried seemingly every combination under the sun I can …

---

## [Can't connect to Cisco router using network\_cli but ssh from raw module works fine](https://forum.ansible.com/t/cant-connect-to-cisco-router-using-network-cli-but-ssh-from-raw-module-works-fine/4281)

<div class="topic-metadata">

**Author:** [@jneiberger](https://forum.ansible.com/u/jneiberger)\
**Replies:** 5\
**Last updated:** [March 11, 2024, 11:49pm UTC](https://forum.ansible.com/t/cant-connect-to-cisco-router-using-network-cli-but-ssh-from-raw-module-works-fine/4281 "2024-03-11T23:49:11Z")

</div>

% ansible --version ansible \[core 2.16.4\] config file = /Users/john/scripts/ansible-testing/ansible.cfg configured module search path = \['/Users/john/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'\] …

---

## [Getting error while running a play from AWX 23.2.0](https://forum.ansible.com/t/getting-error-while-running-a-play-from-awx-23-2-0/1192)

<div class="topic-metadata">

**Author:** [@swattik](https://forum.ansible.com/u/swattik)\
**Replies:** 6\
**Last updated:** [October 5, 2023, 3:06pm UTC](https://forum.ansible.com/t/getting-error-while-running-a-play-from-awx-23-2-0/1192 "2023-10-05T15:06:34Z")

</div>

Have installed AWX 23.2.0 and synced with my Git Repo, but getting below error while running a play. I’ve installed Ansible 2.9.x and Python 3.8.x on my Base OS which is Ubuntu 20.04. and from there I can run the same pl…

---

## [Cisco.aci.aci access port to interface policy leaf profile: doesn't work to update FEX ports](https://forum.ansible.com/t/cisco-aci-aci-access-port-to-interface-policy-leaf-profile-doesnt-work-to-update-fex-ports/939)

<div class="topic-metadata">

**Author:** [@craymond422](https://forum.ansible.com/u/craymond422)\
**Replies:** 2\
**Last updated:** [September 20, 2023, 6:06pm UTC](https://forum.ansible.com/t/cisco-aci-aci-access-port-to-interface-policy-leaf-profile-doesnt-work-to-update-fex-ports/939 "2023-09-20T18:06:53Z")

</div>

This playbook will update ports on a Leaf interface profile but doesn’t work when attempting to update ports on a FEX connected to a leaf: Here’s the playbook: - name: "Bind Interface Selectors to Leaf Interface Polic…

[Previous page](https://forum.ansible.com/tag/cisco/180.md?match_all_tags=true&tags%5B%5D=cisco)
