Overview
On this, the final episode of our ongoing Catalyst Heart Automation Collection, our focusĀ is on superior automation strategies which permit us to resolve numerous use instances inside a community from Catalyst Heart. Throughout this lab, we’ll talk about tips on how to modify numerous velocity templates to cope with particular use instances in order that Catalyst Heart provisioning can allow these use instances by way of automation. This allows you, the community administrator, the flexibility to resolve extra varieties of configuration points from Catalyst Heart and to cope with the dynamics of an enterprise community.
Inside this collection, we cowl the next;
- PnP Preparation ā explains the general Plug and Play arrange steps
- Onboarding Templates ā explains in-depth tips on how to deploy Day 0 templates
- Day N Templates ā dives into Day N template constructs with each common and composite templates and use instances
- Software Policys ā explores Software Policys and SD-AVC in Catalyst Heart and their use
- Telemetry ā explains tips on how to deploy Telemetry for assurance
- Superior Automation ā explores Superior Automation methods
- Dynamic Automation ā a deployment lab for dynamic automation
What is going to I study within the Superior Automation Lab?
That is an enablement sort module inside the Wired Automation lab and it permits clients to achieve past what they presently perceive by attempting new ideas, actually push the boundaries of automation. Throughout this lab, we’ll cowl numerous subjects with regard to template logic to resolve numerous use instances. We cowl some earlier ideas with an in-depth deal with broadening their capabilities.
The idea of this lab is so that you can rebuild the common templates to solidify your understanding of templates, and so that you could be substitute them into the composite to check with. Totally different strategies for the various use instances might be given explaining each the professionals and cons alongside the way in which. Broaden your capabilities with this lab and take your skills to the following stage. Youāre solely inhibited by your personal creativeness.
Subjects
The assorted subjects we’ll contact on within the lab include the next:
- Self-deleting EEM scripts
- Working with Arrays and Strategies in Velocity
- Utilizing Conditional Statements for Configuration
- Velocity and Allow versus Interactive mode
- Assigning port configuration in a stack
- Autoconf vs Smartports
- IBNS 2.0 configuration
Use Instances
We are going to cowl the Subjects above in quite a few use instances to point out the aptitude and suppleness of the templating engine inside Catalyst Heart. Whereas we’ll make the most of Velocity language the identical will be achieved within the Jinja2 language.
- Renaming interfaces
- Constructing Stacks
- Assigning port configuration
- Autoconf port configuration
- Non SDA IBNS 2.0 port configuration
With that, the lab covers these subjects in-depth;
We are going to achieve a sensible understanding of the steps related to organising Catalyst Heart and an atmosphere to help complicated, superior, common templates to ship gadget configuration throughout these labs. The labs purpose to assist engineers in quickly starting utilizing Catalyst Heart automation and assist them work in direction of a world template technique. Moreover, these labs will give clients a everlasting place to check out the common and composite templates and embrace configurations for numerous use instances. Lastly, this atmosphere will allow engineers to cut back the effort and time wanted to instantiate the community.
Further issues lined within the lab;
Autoconf
In these labs, we’ll use Autoconf which is an answer that can be utilized to handle port configurations for knowledge or voice VLAN, high quality of service (QoS) parameters, storm management, and MAC-based port safety on finish gadgets which might be deployed within the entry layer of a community. System classification is enabled whenever you allow the Autoconf characteristic utilizing the autoconf allow
international configuration mode command. The gadget detection acts as an occasion set off, which in flip applies the suitable automated template to the interface. When the Autoconf characteristic is enabled utilizing the autoconf allow
command, the default Autoconf service coverage is utilized to all of the interfaces. For extra details about Autoconf.
Self-Destructing EEM scripts
Self-Destructing EEM scripts are those who delete themselves on termination. Inside the EEM script, it has code that removes the EEM applet from the configuration, after which the configuration is written to NVRAM previous to terminating. The makes use of for such a script are quite a few, and this lab covers one particular use case however an imaginative thoughts can provide you with many different makes use of for such a characteristic.
IBNS 2.0 Configuration
Whereas not overlaying all of the elements of IBNS 2.0, we cowl the configuration that we might implement in an effort to permit for automating host onboarding inside a non-SD-Entry campus community. These ideas whereas not constructed into a proper UI inside Catalyst Heart for legacy networks permit organizations that want to automate their infrastructure the prospect to automate.
The format of the code inside all these sections of the lab is in a simple copy-to-paste window permitting you to import them into Catalyst Heart just by pasting them into the editor.
How can I get began?
Inside DCLOUD, a number of sandbox-type labs can be found. These self-contained environments are there to assist you to use them as you please inside the time scheduled. As well as, this permits us a spot to begin training numerous ideas with out worry of impacting manufacturing environments.
Consequently, we hope to demystify a few of the complexities of organising automation and assist information clients by way of the caveats. Due to this fact, to assist clients within the transition towards automation, we’ve got put collectively a set of small useful labs inside a GitHub repository. On this means, these self-guided labs present a glimpse into the basics of constructing velocity templates and supply examples which you could obtain and develop from. As well as, the pattern templates and JSON recordsdata equipped are for straightforward import into Catalyst Facilitiesā template editor for faster adoption. Lastly, some scripts are ready-made excerpts of code that assist you to construct the atmosphere to check.
Inside theĀ Wired Automation lab, within the Superior Automation module, we step-by-step delve into superior automation strategies and methods to make the most of them to resolve numerous use instances. Second, we offer solutions and explanations to lots of the questions that come up throughout automation workshops. We hope that you simply discover the knowledge each useful and informative.
The place can I take a look at and take a look at these labs?
DCLOUD Lab Setting
To assist clients succeed with Cisco Catalyst Heart automation, you could make the most of the above labs as they’ve been designed to work inside DCLOUDās Cisco Enterprise Networks {Hardware} Sandbox Labs in both:
- Cisco Enterprise Networks {Hardware} Sandbox West DC
- Cisco Enterprise Networks {Hardware} Sandbox East DC
The DCLOUD labs assist you to run these labs and offers an atmosphere to strive the assorted code samples. Chances are you’ll select to develop and export your code to be used in manufacturing environments. Additionally, this provides you an atmosphere the place you possibly can safely POC/POV strategies and steps with out harming your manufacturing environments. The DCLOUD atmosphere additionally negates the necessity for transport tools, lead instances, and licensing points wanted to get transferring quickly. Please do adhere to one of the best practices for the DCLOUD atmosphere when utilizing it.
Lab Connectivity
The atmosphere permits to be used with a web-based browser consumer for VPN-less connectivity, entry in addition to AnyConnect VPN consumer connectivity for individuals who favor it. Chances are you’ll select from labs hosted out of our San Jose Services by deciding on US West. Select the Cisco Enterprise Community Sandbox. To entry this or some other content material, together with demonstrations, labs, and coaching in DCLOUD please work along with your Cisco Account group or Cisco Accomplice Account Group straight. Your Account groups will schedule the session and share it so that you can use. As soon as booked comply with the information inside GitHub to finish the duties adhering to one of the best practices of the DCLOUD atmosphere.
Content material
The Wired Automation labs, Superior Automation moduleĀ content material is situated inside the present DNAC-TEMPLATES repository to provide a one-stop-shop for all the mandatory instruments, scripts, templates, and code samples. Inside it are seven labs, which construct upon the tutorials to check the strategies in a lab atmosphere. The repository was featured in a earlier put up on Cisco Blogs about Catalyst Heart Templates earlier in Could 2021.
Further Data
Catalyst Heart Template Labs
The beforehand named DNAC Template LABS inside the DNAC-TEMPLATESĀ GitHub repository purpose to information you thru the everyday steps required to allow the assorted automation duties delivered by Catalyst Heart. This lab will give examples of templates utilized in Catalyst Heart that we will modify for our use and take a look at on tools inside the LAB atmosphere. Further data inside the lab offers a well-rounded rationalization of Automation strategies with Templates. Lastly, the lab permits for purchasers to make use of Catalyst Heart workflows to observe deploying Onboarding, DayN Templates, and Software Coverage automation on each Wired and Wi-fi Platforms.
The aim of this lab is for it to be a sensible information to assist engineers to quickly start utilizing Catalyst Heart automation and assist them work in direction of a deployment technique. Moreover, this lab will give clients a everlasting place to check out the configurations for numerous use instances. Lastly, this atmosphere will allow engineers to cut back the effort and time wanted to instantiate the community.
Consequently, you’ll achieve expertise in organising Plug and Play onboarding and templates and using all options. Moreover, you’ll use superior templating strategies and troubleshooting instruments. These might assist throughout faultfinding to find out what’s failing in a deployment.
Catalyst Heart Labs
Please use this menu to navigate the assorted sections of this GitHub repository. Inside the a number of folders are examples and rationalization readme recordsdata for reference. There are actually two units of labs, and these are being regularly expanded upon.
New Catalyst Heart Lab Content material
Please use this menu to navigate the assorted sections of this GitHub repository. Inside the a number of folders are examples and rationalization readme recordsdata for reference. There are actually two units of labs, and these are being regularly expanded upon.
This newer and extra modular lab strategy is designed to cope with and contains ideas from the legacy labs in a more moderen extra modular format.
- Lab 1 Wired AutomationĀ ā Covers inexperienced and brown area use instancesĀ (permit 4.0 hrs)
- Lab 2 Wi-fi AutomationĀ ā Covers conventional wi-fi automationĀ (permit 4.0 hrs)
- Lab 4 Relaxation-API OrchestrationĀ ā Covers automation of Cisco Catalyst Heart by way of Postman with Relaxation-APIĀ (permit 2.0 hrs)
- Lab 7 CICD OrchestrationĀ ā CoversĀ PythonĀ withĀ JENKINSĀ orchestration by way of REST-APIĀ (permit 4.0 hrs)
We are going to share extra labs and content material in an ongoing effort to meet all of your automation wants with Catalyst Heart.
In conclusion, when you discovered this set of labs and repository useful,
please fill in feedback and suggestionsĀ on the way it might be improved.
Weād love to listen to what you suppose. Ask a query or go away a remark beneath.
And keep related with Cisco on social!
Try ourĀ Cisco Networking video channel
Subscribe to the Networking weblog
Share: