토요일, 3월 28, 2026
HomeHealthcareCisco Catalyst Middle Template Labs – Dynamic Automation, Half 8

Cisco Catalyst Middle Template Labs – Dynamic Automation, Half 8


Overview

On this episode of our ongoing Catalyst Middle Automation Collection, our focus is on utilizing a number of dynamic approaches to automating the community. We now have beforehand, within the sequence, concentrated our efforts on particular ideas regarding automation. Nonetheless, on this Self-Paced Standalone Lab, we’ll begin to mix varied concepts to offer you a extra in-depth have a look at what is feasible by means of automation offered by Catalyst Middle. We’ll automate the entry layer with Dynamic templates, which might auto-provision ports based mostly on PoE occasions. Throughout this lab, we’ll make the most of varied velocity templates mentioned in Lab 7 to take care of particular use circumstances in order that Catalyst Middle provisioning can allow these use circumstances through automation. This permits you, the community administrator, with the aptitude to resolve extra kinds of configuration points from Catalyst Middle and to take care of the dynamics of an enterprise community.

Not like the earlier Labs within the sequence, this lab is a self-contained lab and has no dependencies on any of the earlier labs. Whilst you can add ideas from Labs 5 and 6 to this lab, it’s designed to don’t have any pre-configuration. It makes use of varied automation strategies to indicate the whole artwork of the potential in a non-Software program Outlined Entry strategy.

Inside this sequence, we cowl the next;

  1. PnP Preparation – explains the general Plug and Play arrange steps
  2. Onboarding Templates – explains in-depth the way 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. Software Policys – explores Software Policys and SD-AVC in Catalyst Middle and their use
  5. Telemetry – explains the way to deploy Telemetry for assurance
  6. Superior Automation – explores Superior Automation strategies
  7. Dynamic Automation – a deployment lab for dynamic automation

What is going to I be taught within the Dynamic 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 pushing the boundaries of automation. We’ll cowl varied subjects about template logic to resolve a number of use circumstances throughout this lab. We cowl some earlier ideas with an in-depth concentrate on broadening their capabilities.

The idea of this lab is so that you can construct the surroundings from Discovery and PnP by means of to deployment. Permitting a protected place so that you can strive, modify, and get used to the assorted ideas and approaches.

Strategy

Preparation

The Lab is constructed for minimal intervention making use of issues like Relaxation-API run through Postman inside a set runner to shortly configure Catalyst Middle. This permits us to deploy Settings, Credentials, Uncover Units, Construct Websites, Buildings, Flooring, and assign the gadgets to these websites. It is a highly effective instance of what will be finished, as a result of it demonstrates how shortly you will get Catalyst Middle up and working using Relaxation-API utilizing only one device.

For the Microsoft Home windows surroundings, DNS and DHCP providers are applied utilizing a PowerShell script for velocity of implementation. This permits us to shortly add DHCP Scopes and DNS Entries for the required providers within the lab surroundings.

However wait there’s extra…

Templates

We use templates inside the lab to configure all of the {hardware} gear, in preparation for the Plug and Play onboarding of the entry change, after which deploy the DayN Composite template to fully configure the change in essentially the most dynamic manner potential permitting for using low-impact mode depending on what sort of system is plugged into the change. All templates and initiatives for Catalyst Middle within the lab are downloaded as JSON information and imported permitting for minimal arrange time.

There are such a lot of superior configurations provided inside the lab that point needs to be spent after set as much as delve into and perceive all of them. Upon getting mastered all these ideas you have to be on the level the place you may take care of most automation duties demanded in fashionable enterprise networks.

Subjects

The varied subjects we’ll contact on and deploy inside the lab include the next:

  1. Integrating Catalyst Middle and Id Providers Engine through PxGrid
  2. Utilizing Relaxation-API to configure Catalyst Middle through Postman Command Runner
  3. Using Discovery to onboard community gadgets
  4. Provisioning Common and Composite Templates to Found Units
  5. Pattern PowerShell scripts to simplify DHCP and DNS deployment
  6. Plug and Play (PnP) Onboarding of Units
  7. Common and Composite Templates for Routers and Switches
  8. Autoconf and Embedded Occasion Supervisor
  9. IBNS 2.0 configuration
  10. Working with  Id Service Engine (ISE) Profiling and Insurance policies

Use Circumstances

We’ll cowl the Subjects above in a number of use circumstances to indicate the aptitude and adaptability of the templating engine inside Catalyst Middle. On this lab we make the most of Velocity language. Equally, we will make the most of the Jinja2 language though not on this lab. These have been the subjects within the earlier lab we lined that are related:

  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 makes use of these subjects;

We’ll achieve a sensible understanding of the steps related to establishing a Catalyst Middle and an surroundings to assist complicated, superior, common templates to ship system configuration throughout these labs. The labs purpose to help engineers in quickly starting utilizing Catalyst Middle 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 embody configurations for varied 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 use Autoconf, an answer that manages port configurations for knowledge or voice VLAN, high quality of service (QoS) parameters, storm management, and MAC-based port safety on finish gadgets to deploy configuration in an automatic manner within the entry layer of a community. Machine classification is enabled while you allow the Autoconf characteristic utilizing the autoconf allow international configuration mode command. The system detection acts as an occasion set off, which in flip applies the suitable computerized 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. Autoconf and service-policies at the moment can’t co-exist on the identical interface and so for interfaces which have templates statically assigned to the interface with service-policy attachment for authentication we could make use of different strategies to make the interface Dynamic.

Determine 1. Autoconf

EEM scripts

EEM scripts use some sort of occasion to set off them. Inside the EEM script, you may reconfigure interfaces, ship occasion notifications through electronic mail and far more. On this lab we use EEM scripts to reconfigure interfaces on a down occasion to a base closed authentication template, and modify them to low affect mode when a PoE Energy up occasion is detected. 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 give you many different makes use of for such a characteristic.

EEM Scripts
Determine 2. EEM Scripts

Self-Destructing EEM scripts

Self-Destructing EEM scripts are people who delete themselves on termination. Inside the EEM script, code removes the EEM applet from the configuration, after which writes the configuration to NVRAM. 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 give you many different makes use of for such a characteristic.

IBNS 2.0 Configuration

Whereas not protecting all of the elements of IBNS 2.0, we cowl the configuration that we could implement to be able to permit for automating host onboarding inside a non-SD-Entry campus community. These ideas whereas not constructed into a proper UI inside Catalyst Middle 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 straightforward copy-to-paste window permitting you to import them into Catalyst Middle just by pasting them into the editor.

Beginning…

Inside DCLOUD, a number of sandbox-type labs can be found. These self-contained environments are there to can help you use them as you please inside the time scheduled. As well as, this permits us a spot to start out practising varied ideas with out concern of impacting manufacturing environments.

Consequently, we hope to demystify a few of the complexities of establishing automation and assist information clients by means of the caveats. Subsequently, to help clients within the transition towards automation, we have now put collectively a set of small useful labs inside a GitHub repository. On this manner, these self-guided labs present a glimpse into the basics of constructing velocity templates and provide examples that you could obtain and develop from. As well as, the pattern templates and JSON information equipped are for straightforward import into Catalyst Facilities’ template editor for faster adoption. Lastly, some scripts are ready-made excerpts of code that can help you construct the surroundings 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 varied use circumstances. Second, we offer solutions and explanations to most of the questions that come up throughout automation workshops. We hope that you just discover the data each useful and informative.

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

DCLOUD Lab Surroundings

To assist clients succeed with Cisco Catalyst Middle automation, chances are you’ll 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 can help you run these labs and provides an surroundings to strive the assorted code samples. You might 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 transport gear, lead instances, and licensing points wanted to get transferring quickly. Please do adhere to the perfect practices for the DCLOUD surroundings when utilizing it.

Lab Connectivity

The surroundings permits for a web-based browser consumer for VPN-less connectivity. Moreover, there’s AnyConnect VPN consumer connectivity for many who desire it. Select the Cisco Enterprise Community Sandbox. Moreover, chances are you’ll select from our San Jose and RTP Amenities labs by both choosing US East or US West. To entry this or different content material, demonstrations, and labs in DCLOUD, please instantly work together with your Cisco or Associate Account Group. Your Account groups will schedule the session and share it so that you can use. As soon as booked, observe the information inside GitHub to finish the duties adhering to the perfect practices of the DCLOUD surroundings.

Content material

The Wired Automation labs, Superior Automation module content material is situated inside the present DNAC-TEMPLATES repository to offer 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 surroundings. The repository was featured in a earlier submit on Cisco Blogs about Catalyst Middle Templates earlier in Could 2021.

Extra Info

Catalyst Middle Template Labs

The beforehand named DNAC Template LABS inside the DNAC-TEMPLATES GitHub repository goals to information you thru the everyday steps required to allow the assorted automation duties delivered by Catalyst Middle. This lab will give examples of templates utilized in Catalyst Middle that we will modify for our use and check on gear inside the LAB surroundings. Extra data inside the lab supplies a well-rounded rationalization of Automation strategies with Templates. Lastly, the lab permits for purchasers to make use of Catalyst Middle workflows to apply 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 help engineers to quickly start utilizing Catalyst Middle 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 varied 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 establishing Plug and Play onboarding and templates and using all options. Moreover, you’ll use superior templating strategies and troubleshooting instruments. These could assist throughout faultfinding to find out what’s failing in a deployment.

Catalyst Middle 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 information for reference. There are actually two units of labs, and these are being frequently expanded upon.

New Catalyst Middle 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 information for reference. There are actually two units of labs, and these are being frequently expanded upon.

This newer and extra modular lab strategy is designed to take care of and contains ideas from the legacy labs in a more recent extra modular format.

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

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

In conclusion, in case 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 assume. Ask a query or depart 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
RELATED ARTICLES

Most Popular