HelloI'm trying to use ncclient to add an SNMP server, after successfully getting the config. I really don't know where to put operation="create" or if I even need to do it.This is just a lab environment, IOS-XE v 16.12.05
HelloI'm trying to use ncclient to add an SNMP server, after successfully getting the config. I really don't know where to put operation="create" or if I even need to do it.This is just a lab environment, IOS-XE v 16.12.05
I would like to create a Python job using Jinja2 templates to create golden configs. This is easy enough, but my question is should I use one large template for the entirety of the config or split it into multiple templates (base, snmp, ntp, aaa, etc...
Has anyone successfully configured DNAC Event Notifications to Microsoft Teams via a webhook? I know I can send messages to a Microsoft Teams Channel via a webhook, and I've successfully done so through Postman. I've setup the webhook and Event Notif...
Hello Cisco community,I am trying to understand how to best proceed with validating device additions within DNAC via the SDK. Any tips or tricks would be greatly appreciated. Here's the process that I am following:Python script authenticates via auth...
Scenario:I want to use track object utilizing rtr reachability with an ipsla object to set an interface to err-disable. Unfortunately (at least on the code version we're currently on (6.5.3)) you can't err-disable a sub-interface, only a physical in...
I'm writing some scripts, and i noticed when sending special characters, namely the dash sign "-", to show commands on Cisco devices I am getting bad outputs. for example:sh_data_corr = "show data-corruption" try:corruption = ConnectHandler.send_comm...
I'm trying to get a list of all my devices in DNAC except for access points. I'm not sure how to correctly go about that though. I can't put ?family!= or ?family#. How can I get everything that isn't an access point? Here's my python BASE_URL = 'http...
Hi I am starting using automation on networking (ansible for now) and I wonder what can I learn in order to get more in depth on that. What I want to achieve is to build a complete CI/CD process that automate testing ansbile playbooks on lab and vali...
Is there a way to do a case-insensitive search using the api? Desired results would be to return devices named TEST, test, Test, etc Example code: import requests import json USER = 'REMOVED' PASSWORD = 'REMOVED' BASE_URL = 'https://dna.server.com...
Hello everyone, I am looking for a way to retrieve a detailed list of all clients from DNAC 1.2.10 via REST API. A look at the Clients API of DNAC 1.2.10 revealed only two endpoints:https://pubhub.devnetcloud.com/media/dna-center-api-1210/docs/swagge...
I am trying to automate the upgrading of an IOS XE device using REST/RESTCONF and the accompanying YANG data models. I am trying to find the yang model or RPC call that would accomplish the cleaning (deleting) of unused image files on a device's (920...
Hi,I'm attempting to write a netmiko script to create a macro on a Cisco switch.However the script doesn't seem to like the fact that a prompt is being returned. Here is the relevant portion of the script:switch1 = {'device_type':'cisco_ios','host':h...
I’m trying to ztp deploy switches via dna center with the variables comming from a database. This is a normal network, not SDA. 1. Is there a way to enable application telemetry on a device via api, ive looked around and cant seem to find anything? 2...
Currently, the available API for adding a fabric site "dna/intent/api/v1/business/sda/fabric-site" will not let you create a zone within a fabric site. It seems like a huge oversight.Please suggest if any workarounds are available other than relying ...
Hi, I pass this case study. basically it is to be able to automate the configuration of the controller of the AP's where all the AP's are configured, to configure the switch port and/or router of the branches.I leave detail in github repo https://git...
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 |