Messages on C9300 console, and a tcpdump on the www server, confirm that the switch is downloading ztp.py - repeatedly! It's a short script, the whole thing fits in one packet payload. The pcap shows ztp.py being downloaded 8 times, finally end...
Messages on C9300 console, and a tcpdump on the www server, confirm that the switch is downloading ztp.py - repeatedly! It's a short script, the whole thing fits in one packet payload. The pcap shows ztp.py being downloaded 8 times, finally end...
I am kind of confused here about API names.I see references in various places on the internet about a DNA "Assurance API" and I do see some endpoints named ".../assurance/...", like:* /api/assurance/v1/siteHierarchy* /api/assurance/v1/host/They even ...
I tried to get device interface informaiton to use restconf.I could do it.But very slowly. code is there ---def getinfo(host): url = "https://{h}:443/restconf/data/Cisco-IOS-XE-native:native/interface".format(h=host) # RESTCONF media types for ...
I am trying to create a simple "show run"/"show tech" ansible playbook and when i run it the output to the file is truncated. So I am not getting the whole config in the txt file. What is the trick to fixing this? Is it a terminal line issue or a pag...
Hey all, I'm having this issue with making REST GET calls. When I make a call in Postman or Python to this device, it works fine: https://host/restconf/data/ietf-interfaces:interfaces/ { "name": "FiveGigabitEthernet1/0/1", "type": "...
Hello,I am trying to create a network device group via API in ISE. The problem is I get the attached error when trying to create a network device group with a period. However it is possible to create a NDG with a period in the ISE web interface.
Hello, I am trying to send a 'show version' command to my Cisco ASA using Ansible, but I am encountering the following errors and I don't know why. The same thing works for my Cisco router though. Below are some details that might be helpful. Cisco A...
"Ansible playbooks are packaged and installed on IOS XE devices for automatic execution when an IOS device reboots."I saw the above statement in a test and it is the correct answer. But I cannot find anywhere about how to install ansible playbooks on...
Hey all,Can anyone recommend any good ansible resources with examples? I'm struggling to find anything decent that actually works. It's taken me a very long time just to get some basic show commands to run. And I've had to use deprecated methods as t...
Hi,I notice that Prime API "InventoryDetails" have this device Uptime field. It return the value "upTime": "+000000028 08:21:32.538000000". 1. Can I know what format is this? Epoch?2. How do I convert (Python or Excel) this time string "+000000028 08...
I'm currently developing a script for automating the process of bringing up a new location i DNA-C. The following steps are completed:Discover device(s) on the locationCreate site hierarchyAssign device(s) to the created siteSoftware image distributi...
Hey all,It looks like I'm hitting the limit of my REST API call, see below."kind": "collection#NetworkObj","selfLink": "https://x.x.x.x/api/objects/networkobjects/","rangeInfo": {"offset": 0,"limit": 100,"total": 110},Is there a workaround for this? ...
Hello and thanks for taking the time to read over my post. I'm trying to reference a Velocity variable ($Data_Vlan) inside another variable($Access_Port_Config). I'm not sure the best way to accomplish this task. I've not been able to figure it out y...
Hi,I am just getting started to fiddle with API, so maybe that is pretty silly question, but is there a way to use API to search device via serial number only? I can only get serial number by having inventory ID first and then looking into chassis in...
The following python script connects you via telnet protocol to the specified telnet server. It works fine as long as the telnet server prompts for "Username: " and "Password: ". However, If the telnet server does not ask for credentials, this python...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
| Subject | Author | Posted |
|---|---|---|
| 04-05-2025 10:12 AM | ||
| 01-28-2024 10:24 PM | ||
| 12-23-2023 10:21 AM | ||
| 11-19-2023 02:36 AM | ||
| 03-20-2023 06:31 AM |