I am trying to create a script that configures an interface based on what description you have configured it as. For example if I set "description PRINT" on a interface I want the interface to get configured as a trunk interface. I have managed to complete both the EEM applet and the python script but it is not working as I want it to. The python script need to know the interface to be able to configure, I have done this by writing %s as you can see below. But when I write the action for the EEM applet where it says "guestshell run python /flash/confscript1.py" I need to write a interface, for example GigabitEthernet1/0/1. I can for example write GigabitEthernet1/0/1 instead of GigabitEthernet* and it works to configure that interface. However I want it to be able to configure any interface and not just one specific. Is there any simple way to do this?
1. Log into CLI of DNAC:
ssh maglev@< DNAC appliance IP> -p 2222
2. Run this curl command to get token to get member id:
curl -X POST -u admin:<admin user password> -H -V https://<CLUSTER-IP>/api/system/v1/identitymgmt/token
Enterprise Switching Business Unit is glad to announce Beta release 16.12.2 for all Catalyst 9200/9300/9400/9500/9600 and Catalyst 3650/3850 Platforms. This release is made available to allow users to test, evaluate and share fee...
Purpose of the document
This document describes the general recommendations or best practices when designing and deploying the Cisco SD-Access technology. The document assumes that the reader has a general overview of Cisco's SD-Access for Distributed C...
Do you currently have hands-on networking experience? If you do, we'd love to hear from you!
Your feedback will be reviewed and analyzed by our team to directly influence a networking management and monitoring product.
Take the 20-min or les...