23.8 C
New York
Sunday, June 8, 2025

Cisco Catalyst Heart Template Labs – Superior Automation, Half 7


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 circumstances inside a community from Catalyst Heart. Throughout this lab, we are going to talk about learn how to modify numerous velocity templates to take care of particular use circumstances in order that Catalyst Heart provisioning can allow these use circumstances by way of automation. This permits you, the community administrator, the flexibility to resolve extra sorts of configuration points from Catalyst Heart and to take care of the dynamics of an enterprise community.

Inside this sequence, we cowl the next;

  1. PnP Preparation – explains the general Plug and Play arrange steps
  2. Onboarding Templates – explains in-depth learn how to deploy Day 0 templates
  3. Day N Templates – dives into Day N template constructs with each common and composite templates and use circumstances
  4. Utility Policys – explores Utility Policys and SD-AVC in Catalyst Heart and their use
  5. Telemetry – explains learn how to deploy Telemetry for assurance
  6. Superior Automation – explores Superior Automation methods
  7. Dynamic Automation – a deployment lab for dynamic automation

What is going to I study within the Superior Automation Lab?

That is an enablement kind module inside the Wired Automation lab and it permits prospects to succeed in past what they at present perceive by making an attempt new ideas, actually push the boundaries of automation. Throughout this lab, we are going to cowl numerous subjects with regard to template logic to resolve numerous use circumstances. We cowl some earlier ideas with an in-depth give attention to 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. Completely different strategies for the various use circumstances might be given explaining each the professionals and cons alongside the way in which. Develop your capabilities with this lab and take your skills to the following stage. You’re solely inhibited by your personal creativeness.

Matters

The assorted subjects we are going to contact on within the lab include the next:

  1. Self-deleting EEM scripts
  2. Working with Arrays and Strategies in Velocity
  3. Utilizing Conditional Statements for Configuration
  4. Velocity and Allow versus Interactive mode
  5. Assigning port configuration in a stack
  6. Autoconf vs Smartports
  7. IBNS 2.0 configuration

Use Circumstances

We’ll cowl the Matters above in various use circumstances to indicate the aptitude and adaptability of the templating engine inside Catalyst Heart. Whereas we are going to make the most of Velocity language the identical could be achieved within the Jinja2 language.

  1. Renaming interfaces
  2. Constructing Stacks
  3. Assigning port configuration
  4. Autoconf port configuration
  5. Non SDA IBNS 2.0 port configuration

With that, the lab covers these subjects in-depth;

We’ll achieve a sensible understanding of the steps related to organising Catalyst Heart and an surroundings to assist 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 worldwide template technique. Moreover, these labs will give prospects a everlasting place to check out the common and composite templates and embrace configurations for numerous use circumstances. Lastly, this surroundings will allow engineers to scale back the effort and time wanted to instantiate the community.

Extra issues lined within the lab;

Autoconf

In these labs, we are going to use Autoconf which is an answer that can be utilized to handle port configurations for information or voice VLAN, high quality of service (QoS) parameters, storm management, and MAC-based port safety on finish units which can 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 people who delete themselves on termination. Throughout 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 masking all of the features of IBNS 2.0, we cowl the configuration that we might implement so as to enable 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 enable 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 straightforward 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 help you use them as you please throughout the time scheduled. As well as, this enables us a spot to start out practising numerous ideas with out worry of impacting manufacturing environments.

Consequently, we hope to demystify among the complexities of organising automation and assist information prospects by means of the caveats. Subsequently, to assist prospects within the transition towards automation, we’ve put collectively a set of small useful labs inside a GitHub repository. On this method, these self-guided labs present a glimpse into the basics of constructing velocity templates and provide examples which you can obtain and broaden 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 help you construct the surroundings to check.

Throughout 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 circumstances. Second, we offer solutions and explanations to lots of the questions that come up throughout automation workshops. We hope that you simply discover the data each useful and informative.

The place can I take a look at and take a look at these labs?

DCLOUD Lab Setting

To assist prospects 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:

  1. Cisco Enterprise Networks {Hardware} Sandbox West DC
  2. Cisco Enterprise Networks {Hardware} Sandbox East DC

The DCLOUD labs help you run these labs and offers an surroundings to attempt the assorted code samples. Chances are you’ll select to develop and export your code to be used in manufacturing environments. Additionally, this offers you an surroundings the place you may safely POC/POV strategies and steps with out harming your manufacturing environments. The DCLOUD surroundings additionally negates the necessity for delivery tools, lead instances, and licensing points wanted to get shifting quickly. Please do adhere to the most effective practices for the DCLOUD surroundings when utilizing it.

Lab Connectivity

The surroundings permits to be used with a web-based browser shopper for VPN-less connectivity, entry in addition to AnyConnect VPN shopper connectivity for individuals who want it. Chances are you’ll select from labs hosted out of our San Jose Services by choosing 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 together with your Cisco Account crew or Cisco Associate Account Staff instantly. 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 the most effective practices of the DCLOUD surroundings.

Content material

The Wired Automation labs, Superior Automation module content material is situated throughout the current DNAC-TEMPLATES repository to offer a one-stop-shop for all the required instruments, scripts, templates, and code samples. Inside it are seven labs, which construct upon the tutorials to check the strategies in a lab surroundings. The repository was featured in a earlier submit on Cisco Blogs about Catalyst Heart Templates earlier in Might 2021.

Extra Info

Catalyst Heart Template Labs

The beforehand named DNAC Template LABS throughout the DNAC-TEMPLATES GitHub repository purpose to information you thru the standard 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 throughout the LAB surroundings. Extra info throughout the lab supplies a well-rounded rationalization of Automation strategies with Templates. Lastly, the lab permits for patrons to make use of Catalyst Heart workflows to observe deploying Onboarding, DayN Templates, and Utility Coverage automation on each Wired and Wi-fi Platforms.

The objective 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 prospects a everlasting place to check out the configurations for numerous use circumstances. Lastly, this surroundings will allow engineers to scale 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. Throughout 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. Throughout 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 take care of and consists of ideas from the legacy labs in a more recent extra modular format.

  1. Lab 1 Wired Automation – Covers inexperienced and brown subject use circumstances (enable 4.0 hrs)
  2. Lab 2 Wi-fi Automation – Covers conventional wi-fi automation (enable 4.0 hrs)
  3. Lab 4 Relaxation-API Orchestration – Covers automation of Cisco Catalyst Heart by way of Postman with Relaxation-API (enable 2.0 hrs)
  4. Lab 7 CICD Orchestration – Covers Python with JENKINS orchestration by way of REST-API (enable 4.0 hrs)

We’ll share extra labs and content material in an ongoing effort to meet all of your automation wants with Catalyst Heart.

In conclusion, should you discovered this set of labs and repository useful,

please fill in feedback and suggestions on the way it may very well be improved.


We’d love to listen to what you assume. Ask a query or go away a remark beneath.
And keep linked with Cisco on social!

Take a look at our Cisco Networking video channel

Subscribe to the Networking weblog

Share:

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles