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 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...
Hello,I'm trying to get get interface shwo ip int GigabitEthernet0/0/4 params via a HTTP Get method, and I do always get a response 404 NOT Found. In the request I used the URI : https://10.10.10.9:55443/api/v1/interfaces/GigabitEthernet0%2F0%2F2(I c...
Hello Sir, Could you please give me some support on this issue ? I do install "requests" module in my python virtual environment but when I tried to import requests , it told me"No module named requests". I am very confused. Thank you for your help...
When I was doing DevNet DNAC part, for example, get device-list https://sandboxdnac.cisco.com/api/v1/network-device run the test script as the git provide, it shows: "SyntaxError: Cannot use import statement outside a module" Need a help to how to u...
Hi, I have this config applied to the router (IOS XE 16.9.3):csr1000v#sh run | se bgp router bgp 65111 bgp log-neighbor-changes network 10.1.1.1 mask 255.255.255.255 network 10.1.1.2 mask 255.255.255.255 network 10.1.1.3 mask 255.255.255.255 red...
This is simple Python code to get `show hostname` output in Cisco IOS.script.pyfrom netmiko import ConnectHandler cisco_881 = { 'device_type': 'cisco_ios', 'host': 'host', 'username': 'u', 'password': 'p' } net_connect = ConnectHandler(**cisco_881)...
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 |
---|---|---|
01-28-2024 10:24 PM | ||
12-23-2023 10:21 AM | ||
11-19-2023 02:36 AM | ||
03-20-2023 06:31 AM | ||
02-28-2023 12:33 AM |