Hello, how can we configure a multi-line banner in ZTP Python script running in IOS-XE Guestshell? I am using Python cli module and configuring a single line banner has no problem. Example of multi-line banner configuration that doesn't work: fro...
Hello, how can we configure a multi-line banner in ZTP Python script running in IOS-XE Guestshell? I am using Python cli module and configuring a single line banner has no problem. Example of multi-line banner configuration that doesn't work: fro...
Currently I am taking bgp route backup using paramiko (python script) by running show ip bgp and show ip route commands on the switches and the output is stored in linux server. How to use that as the testbed file for genie and then compare with cur...
Hi everyone Does anybody else facing issues when using ncclient's get_config method with a subtree filter? On most XE-boxes I get empty data for my calls: <snip> with manager.connect(host=device,port=830,username=user,password=password,hostkey_veri...
Hi dear community,May i ask you to review the code below and advise how to prevent the router from downloading new software if it is already in flash:# Check if IOS is already present in the flash - name: Check if IOS is already present on the flash ...
Hi,Beside the IOS-XE release notes, are there a place where is stored the full documention about Guestshell, i mean the full list of available commands depending on the platform on which guestshell is executed ?Thanks in advance,Jerems
Hi dear community,Can someone please assist me in fixing the following error messages in the python3 interpreter in Guestshell ? Router#guestshell run sudo python3 Python 3.6.8 (default, Aug 24 2020, 18:22:40) [GCC 8.3.1 20191121 (Red Hat 8.3.1-5)] o...
Hi dear community,I wondered if it was possible within the same python script to download, install and import a python librairy that is not yet part of the librairies available within the guestshell environment on a Cisco router.I aim to trigger a py...
Hi DevNet Folks,Following my NXOS upgrade playbook I shared last time; I have now created a playbook for IOSXE which has been tested against Cat9K and Cat8500. Thanks to Suresh Vina for testing against Cat9K.I have used the following to build this pl...
I'd like to share with you this simple and handy script I've written recently without weird and complex symbols and codes.I hope you find it useful too.here is how it works:1- Import the Netmiko package/module for network automation.2- Input the mgmt...
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...
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...
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...
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 |
|---|---|---|
| 06-29-2026 06:49 AM | ||
| 02-28-2023 12:33 AM | ||
| 02-01-2023 02:12 AM | ||
| 05-17-2022 11:10 AM | ||
| 04-26-2022 08:56 AM |