CINXE.COM
Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8
<!doctype html> <html lang="en-US" class="no-touch js "> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--<link rel="profile" href="https://gmpg.org/xfn/11"> --> <meta name="blogsPostDate" content="2024-06-21 10:20:31"/><meta name="blogsPostTags" content="catc,autoconf,catalyst-center,catalyst-center-automation-series,cisco-catalyst-center,cisco-dna,cisco-dna-center,dna-center-automation-series,ibns-2-0,network-automation,postman,rest-api"/><meta name="blogsPostCat" content="Networking"/><meta name="article:category" content="Networking"/> <meta name="wordCount" content="2275" /> <meta name="readTime" content="546" /> <!-- loading cdc-template web component scripts --> <script type='text/javascript' src="//www.cisco.com/etc/designs/cdc/clientlibs/responsive/js/web-component-foundation.min.js"></script> <script> /** * Invokes appropriate private methods based on input parameters based on needs of web component architecture * @param {Array} wcAssets array of strings that correlate to the names of web components or array of objects containing asset name and corresponding locale/path * @param {String} localePath specifies where web component should be retrieved from (expected format: en/us or en_au for all other locales); false if wcAssets, is array of objects * @param {Boolean} isWem [Optional] specifies if assets are being loaded on a WEM environment * @param {Boolean} needTargetter [Optional] specifies need for targetter bundle to be loaded (generally needed on external sites) * @param {Boolean} isRelative [Optional] specifies if asset path(s) should be relative * @param {String} env [Optional] specifies enviornment to append to relative path (should not be used with isRelative) * @param {Boolean} hasEnvOverride [Optional] specifies if environment needs to be overridden (should be used with env) */ cdc.wcAncillaryAssetAllocator.init(['cdc-template-blogs'], 'en/us', false, true, false, 'prod'); if (window.cdc === undefined) { window.cdc = {}; } if (cdc.cdcMasthead === undefined) { cdc.cdcMasthead = {}; } if (cdc.cdcMasthead.additional === undefined) { cdc.cdcMasthead.additional = {}; } cdc.cdcMasthead.additional.env = 'prod'; </script> <script type="text/javascript"> if ( typeof cdc === "undefined")cdc = {}; if ( typeof cdc.util === "undefined")cdc.util = {}; cdc.util.ensureNamespace = function (namespaceStr) { if (!namespaceStr) { return; var parts = namespaceStr.split("."); var o = window; var i; var aPart; for (i = 0; i < parts.length; i++) aPart = parts[i]; if (typeof (o[aPart]) != "object"){ o[aPart] = {}; } o = o[aPart]; } }; cdc.dm = {}; cdc.dm.util = {}; cdc.dm.util.ensureNamespace = cdc.util.ensureNamespace; </script> <meta name="author" content="Keith Baldwin" /><meta name="blogsPostAuthor" content="Keith Baldwin" /><meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <script type="text/javascript" src="//www.cisco.com/c/dam/cdc/t/ctm-core.js"></script> <!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v19.11) - https://yoast.com/wordpress/plugins/seo/ --> <title>Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8</title> <meta name="description" content="In this episode, we concentrate on dealing with dynamic evolving networks utilizing Autoconf, and EEM, to deploy low-impact mode for AAA." /> <link rel="canonical" href="https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8" /> <meta property="og:description" content="In this episode, we concentrate on dealing with dynamic evolving networks utilizing Autoconf, and EEM, to deploy low-impact mode for AAA." /> <meta property="og:url" content="https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8" /> <meta property="og:site_name" content="Cisco Blogs" /> <meta property="article:published_time" content="2024-06-21T17:20:31+00:00" /> <meta property="article:modified_time" content="2024-11-20T20:11:04+00:00" /> <meta property="og:image" content="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Doctor.jpg" /> <meta property="og:image:width" content="1000" /> <meta property="og:image:height" content="617" /> <meta property="og:image:type" content="image/jpeg" /> <meta name="author" content="Keith Baldwin" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:description" content="In this episode, we concentrate on dealing with dynamic evolving networks utilizing Autoconf, and EEM, to deploy low-impact mode for AAA." /> <meta name="twitter:label1" content="Written by" /> <meta name="twitter:data1" content="Keith Baldwin" /> <meta name="twitter:label2" content="Est. reading time" /> <meta name="twitter:data2" content="11 minutes" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"Article","@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#article","isPartOf":{"@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8"},"author":{"name":"Keith Baldwin","@id":"https://blogs.cisco.com/#/schema/person/603ec4d0ed0e29b46cc2bd34c8bbfdc2"},"headline":"Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8","datePublished":"2024-06-21T17:20:31+00:00","dateModified":"2024-11-20T20:11:04+00:00","mainEntityOfPage":{"@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8"},"wordCount":2315,"publisher":{"@id":"https://blogs.cisco.com/#organization"},"image":{"@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#primaryimage"},"thumbnailUrl":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Doctor.jpg","keywords":["#CATC","Autoconf","Catalyst Center","Catalyst Center Automation Series","Cisco Catalyst Center","Cisco DNA","Cisco DNA Center","DNA Center Automation Series","IBNS 2.0","network automation","postman","rest api"],"articleSection":["Networking"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8","url":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8","name":"Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8","isPartOf":{"@id":"https://blogs.cisco.com/#website"},"primaryImageOfPage":{"@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#primaryimage"},"image":{"@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#primaryimage"},"thumbnailUrl":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Doctor.jpg","datePublished":"2024-06-21T17:20:31+00:00","dateModified":"2024-11-20T20:11:04+00:00","description":"In this episode, we concentrate on dealing with dynamic evolving networks utilizing Autoconf, and EEM, to deploy low-impact mode for AAA.","breadcrumb":{"@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#primaryimage","url":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Doctor.jpg","contentUrl":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Doctor.jpg","width":1000,"height":617,"caption":"Performing Configuration via Templates and API Automation"},{"@type":"BreadcrumbList","@id":"https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Cisco Blogs","item":"https://blogs.cisco.com/"},{"@type":"ListItem","position":2,"name":"Networking","item":"https://blogs.cisco.com/networking"},{"@type":"ListItem","position":3,"name":"Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8"}]},{"@type":"WebSite","@id":"https://blogs.cisco.com/#website","url":"https://blogs.cisco.com/","name":"Cisco Blogs","description":"","publisher":{"@id":"https://blogs.cisco.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://blogs.cisco.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https://blogs.cisco.com/#organization","name":"Cisco Systems","url":"https://blogs.cisco.com/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://blogs.cisco.com/#/schema/logo/image/","url":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2020/10/Cisco_Logo_no_TM_Sky_Blue-RGB.png","contentUrl":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2020/10/Cisco_Logo_no_TM_Sky_Blue-RGB.png","width":912,"height":482,"caption":"Cisco Systems"},"image":{"@id":"https://blogs.cisco.com/#/schema/logo/image/"}},{"@type":"Person","@id":"https://blogs.cisco.com/#/schema/person/603ec4d0ed0e29b46cc2bd34c8bbfdc2","name":"Keith Baldwin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://blogs.cisco.com/#/schema/person/image/","url":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/06/keith-baldwin.jpg","contentUrl":"https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/06/keith-baldwin.jpg","caption":"Keith Baldwin"},"description":"Keith is a Solutions Engineer covering a role in Campus Automation CoE for Enterprise Networking within North America at Cisco Systems. He is responsible for solution design of Enterprise Networking within the Sales Engineering Practice. Primarily focused on Software Defined Access with DNA Center as it applies to a multi domain and segmented environments and how to apply automation and programmability within the Enterprise through orchestration. Keith concentrates his talents on network automation and programmability, and the use of Python driven REST-APIs to deploy and automate. Additionally building working demonstrations that show the art of the possible and assisting customers in transforming the network infrastructure to something that is simple, supple, scalable, and secure. Keith holds a number of Cisco Certifications including a CCDE and CCIE's in Routing & Switching and Wireless and has helped contribute to those programs as well as the Cisco Business Architecture program. CCDE: 20170057 CCIE (RS&W): 35439","sameAs":["https://cs.co/DNAC-TEMPLATES","https://www.linkedin.com/in/keithandrewbaldwin"],"url":"https://blogs.cisco.com/author/kebaldwi"}]}</script> <!-- / Yoast SEO Premium plugin. --> <link rel='dns-prefetch' href='//www.cisco.com' /> <link rel='dns-prefetch' href='//s.w.org' /> <link rel="alternate" type="application/rss+xml" title="Cisco Blogs » Feed" href="https://blogs.cisco.com/feed" /> <link rel="alternate" type="application/rss+xml" title="Cisco Blogs » Comments Feed" href="https://blogs.cisco.com/comments/feed" /> <script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/blogs.cisco.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.9.2"}}; /*! This file is auto-generated */ !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script> <style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://blogs.cisco.com/wp-includes/css/dist/block-library/style.min.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='wp-components-css' href='https://blogs.cisco.com/wp-includes/css/dist/components/style.min.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='wp-block-editor-css' href='https://blogs.cisco.com/wp-includes/css/dist/block-editor/style.min.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='wp-nux-css' href='https://blogs.cisco.com/wp-includes/css/dist/nux/style.min.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='wp-reusable-blocks-css' href='https://blogs.cisco.com/wp-includes/css/dist/reusable-blocks/style.min.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='wp-editor-css' href='https://blogs.cisco.com/wp-includes/css/dist/editor/style.min.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='mux_video_block_style-css' href='https://blogs.cisco.com/wp-content/plugins/ilab-media-tools/public/blocks/mediacloud-mux.blocks.style.css' type='text/css' media='all' /> <style id='global-styles-inline-css' type='text/css'> body{--wp--preset--color--black: #000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--cisco-midnight-blue: #0d274d;--wp--preset--color--cisco-ocean-blue: #1e4471;--wp--preset--color--cisco-sky-blue: #00bceb;--wp--preset--color--cisco-green: #6abf4b;--wp--preset--color--cisco-orange: #fbab18;--wp--preset--color--cisco-red: #e2231a;--wp--preset--color--dark-gray: #495057;--wp--preset--color--medium-gray: #9e9ea2;--wp--preset--color--light-gray: #ced4da;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--duotone--dark-grayscale: url('#wp-duotone-dark-grayscale');--wp--preset--duotone--grayscale: url('#wp-duotone-grayscale');--wp--preset--duotone--purple-yellow: url('#wp-duotone-purple-yellow');--wp--preset--duotone--blue-red: url('#wp-duotone-blue-red');--wp--preset--duotone--midnight: url('#wp-duotone-midnight');--wp--preset--duotone--magenta-yellow: url('#wp-duotone-magenta-yellow');--wp--preset--duotone--purple-green: url('#wp-duotone-purple-green');--wp--preset--duotone--blue-orange: url('#wp-duotone-blue-orange');--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} </style> <link rel='stylesheet' id='category-css-css' href='https://blogs.cisco.com/wp-content/plugins/cisco-category-page-enhancement/css/category-css.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='multiauthor_custom_front_style-css' href='https://blogs.cisco.com/wp-content/plugins/cisco-multiple-authors/css/multiauthor.css?ver=1.1' type='text/css' media='all' /> <link rel='stylesheet' id='parent-style-css' href='https://blogs.cisco.com/wp-content/themes/ciscowordpress/style.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='child-style-css' href='https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/style.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='ciscowordpress-style-css' href='https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/style.css?ver=5.9.2' type='text/css' media='all' /> <style id='ciscowordpress-style-inline-css' type='text/css'> @media only screen and (min-width: 930px){ ul#featured_categories li{ width: calc(100%/ ); }} </style> <link rel='stylesheet' id='cui-standard-css' href='https://www.cisco.com/web/fw/cisco-ui/1.3.5/dist/css/cui-standard.min.css?ver=5.9.2' type='text/css' media='all' /> <link rel='stylesheet' id='style_login_widget-css' href='https://blogs.cisco.com/wp-content/plugins/miniorange-oauth-oidc-single-sign-on/resources/css/style_login_widget.css?ver=5.9.2' type='text/css' media='all' /> <script type='text/javascript' src='https://blogs.cisco.com/wp-content/plugins/cisco-multiple-authors/js/custom-multiauthor.js?ver=5.9.2' id='multiauthor_custom_js-js'></script> <script type='text/javascript' src='https://blogs.cisco.com/wp-content/themes/ciscowordpress/js/card-dropdown.js?ver=5.9.2' id='ciscowordpress-card-tag-dropdown-js'></script> <link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://blogs.cisco.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://blogs.cisco.com/wp-includes/wlwmanifest.xml" /> <meta name="generator" content="WordPress 5.9.2" /> <link rel='shortlink' href='https://blogs.cisco.com/?p=398460' /> <link rel="alternate" type="application/json+oembed" href="https://blogs.cisco.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fblogs.cisco.com%2Fnetworking%2Fcisco-dna-center-template-labs-dynamic-automation-part-8" /> <link rel="alternate" type="text/xml+oembed" href="https://blogs.cisco.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fblogs.cisco.com%2Fnetworking%2Fcisco-dna-center-template-labs-dynamic-automation-part-8&format=xml" /> <link rel="icon" href="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2024/09/cropped-Cisco-logo-thumb-sky-blue-150x150.jpg" sizes="32x32" /> <link rel="icon" href="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2024/09/cropped-Cisco-logo-thumb-sky-blue-300x300.jpg" sizes="192x192" /> <link rel="apple-touch-icon" href="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2024/09/cropped-Cisco-logo-thumb-sky-blue-300x300.jpg" /> <meta name="msapplication-TileImage" content="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2024/09/cropped-Cisco-logo-thumb-sky-blue-300x300.jpg" /> </head> <body class="post-template-default single single-post postid-398460 single-format-standard no-sidebar"> <div id="page" class="site"> <cdc-template-micro lang="en" search-set-context="blogs"> <a class="skip-link screen-reader-text" href="#content">Skip to content</a> <header id="masthead" class="site-header"> </header><!-- #masthead --> <div id="content" class="site-content"> <div id="primary" class="content-area"> <main id="main" class="site-main"> <p id="breadcrumbs"><span><span><a href="https://blogs.cisco.com/">Cisco Blogs</a> / <span><a href="https://blogs.cisco.com/networking">Networking</a> / <span class="breadcrumb_last" aria-current="page">Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8</span></span></span></span></p> <div class="blog-post-header"> </div> <article id="post-398460" class="post-398460 post type-post status-publish format-standard has-post-thumbnail hentry category-networking tag-catc tag-autoconf tag-catalyst-center tag-catalyst-center-automation-series tag-cisco-catalyst-center tag-cisco-dna tag-cisco-dna-center tag-dna-center-automation-series tag-ibns-2-0 tag-network-automation tag-postman tag-rest-api"> <div class="main-content"> <header class="entry-header"> <div class="entry-meta"> June 21, 2024 <a id="post-comments" href="https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8#respond">Leave a Comment</a> <hr> </div><!-- .entry-meta --> </header><!-- .entry-header --> <div class="blog-post-header"> <div class="thumbnail-avatar"> <div class="post-thumbnail" style="background-image:url(https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/IL20220427194626-Doctor-600x200.jpg);"> <img src="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/06/keith-baldwin-150x150.jpg" width="102" height="102" alt="Avatar" class="avatar avatar-102 wp-user-avatar wp-user-avatar-102 photo avatar-default"> </div> </div> <div class="blog-cat-post-author-container"> <a href=https://blogs.cisco.com/networking><h5>Networking</h5></a> <h1 class="entry-title">Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8</h1><p class="wordcount"><span class="black">9 min read</span></p> <p> <a href="https://blogs.cisco.com/author/kebaldwi" title="Posts by Keith Baldwin" rel="author">Keith Baldwin</a> </p> </div> </div> <!-- .blog-post-header --> <div class="entry-content"> <h2>Overview</h2> <p>In this episode of our <span data-preserver-spaces="true">ongoing <a href="https://blogs.cisco.com/tag/catalyst-center-automation-series">Catalyst Center Automation Series</a></span>, our focus is on using multiple dynamic approaches to automating the network. We have previously, in the series, concentrated our efforts on specific concepts concerning automation. Still, in this Self-Paced Standalone Lab, we will start to combine various ideas to give you a more in-depth look at what is possible through automation provided by Catalyst Center. We will automate the access layer with Dynamic templates, which can auto-provision ports based on PoE events. During this lab, we will utilize various velocity templates discussed in Lab 7 to deal with specific use cases so that Catalyst Center provisioning can enable those use cases via automation. This enables you, the network administrator, with the capability to solve more types of configuration issues from Catalyst Center and to deal with the dynamics of an enterprise network.</p> <p>Unlike the previous Labs in the series, this lab is a self-contained lab and has no dependencies on any of the previous labs. While you can add concepts from Labs 5 and 6 to this lab, it is designed to have no pre-configuration. It utilizes various automation techniques to show the complete art of the possible in a non-Software Defined Access approach.</p> <p>Within this series, we cover the following;</p> <ol> <li><a href="https://blogs.cisco.com/networking/dnactemplatespnppreparation-pt2">PnP Preparation</a> – explains the overall Plug and Play set up steps</li> <li><a href="https://blogs.cisco.com/networking/dnactemplatesonboarding-pt3">Onboarding Templates</a> – explains in-depth how to deploy Day 0 templates</li> <li><a href="https://blogs.cisco.com/networking/dnactemplatesdayn-pt4">Day N Templates</a> – dives into Day N template constructs with both regular and composite templates and use cases</li> <li><a href="https://blogs.cisco.com/networking/dnactemplatesappvisibility-pt5">Application Policys</a> – explores Application Policys and SD-AVC in Catalyst Center and their use</li> <li><a href="https://blogs.cisco.com/networking/dnactemplatestelemetry-pt6">Telemetry</a> – explains how to deploy Telemetry for assurance</li> <li><a href="https://blogs.cisco.com/networking/dnactemplatesadvautomation-pt7">Advanced Automation</a> – explores Advanced Automation techniques</li> <li><a href="https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8">Dynamic Automation</a> – a deployment lab for dynamic automation</li> </ol> <h2 style="text-align: center;"><em>What will I learn in the Dynamic Automation Lab?</em></h2> <p>This is an enablement type module within th<span data-preserver-spaces="true">e <a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS/LAB-1-Wired-Automation">Wired Automation</a> lab</span>, and it allows customers to reach beyond what they currently understand by trying new concepts, really pushing the boundaries of automation. We will cover various topics about template logic to solve multiple use cases during this lab. We cover some previous concepts with an in-depth focus on broadening their capabilities.</p> <p>The concept of this lab is for you to build the environment from Discovery and PnP through to deployment. Allowing a safe place for you to try, modify, and get used to the various concepts and approaches.</p> <h2 style="text-align: center;"><em>Approach</em></h2> <h2>Preparation</h2> <p>The Lab is built for minimal intervention making use of things like <em>Rest-API</em> run via <em>Postman</em> within a collection runner to quickly configure Catalyst Center. This allows us to deploy Settings, Credentials, Discover Devices, Build Sites, Buildings, Floors, and assign the devices to those sites. This is a powerful example of what can be done, because it demonstrates how quickly you can get Catalyst Center up and running utilizing <em>Rest-API</em> using just one tool.</p> <p>For the Microsoft Windows environment, DNS and DHCP services are implemented using a <em>PowerShell script</em> for speed of implementation. This allows us to quickly add DHCP Scopes and DNS Entries for the required services in the lab environment.</p> <h2 style="text-align: center;"><em>But wait there is more…</em></h2> <h2>Templates</h2> <p>We use templates within the lab to configure all the hardware equipment, in preparation for the <em>Plug and Play</em> onboarding of the access switch, and then deploy the DayN Composite template to completely configure the switch in the most dynamic way possible allowing for the use of <em>low-impact </em>mode dependent on what type of device is plugged into the switch. All templates and projects for Catalyst Center in the lab are downloaded as JSON files and imported allowing for minimal set up time.</p> <p>There are so many advanced configurations offered within the lab that time should be spent after set up to delve into and understand them all. Once you have mastered all these concepts you should be at the point where you can deal with most automation tasks demanded in modern enterprise networks.</p> <h2>Topics</h2> <p>The various topics we will touch on and deploy within the lab consist of the following:</p> <ol> <li>Integrating Catalyst Center and Identity Services Engine via <em>PxGrid</em></li> <li>Using <em>Rest-API </em>to configure Catalyst Center via <em>Postman Command Runner</em></li> <li>Utilizing <em>Discovery</em> to onboard network devices</li> <li><em>Provisioning Regular and Composite Templates </em>to <em>Discovered Devices</em></li> <li>Sample PowerShell scripts to simplify DHCP and DNS deployment</li> <li><em>Plug and Play (PnP) Onboarding </em>of Devices</li> <li><em>Regular and Composite Templates </em>for <em>Routers</em> and <em>Switches</em></li> <li>Autoconf and Embedded Event Manager</li> <li>IBNS 2.0 configuration</li> <li>Working with <em> Identity Service Engine (ISE) Profiling and Policies</em></li> </ol> <h2>Use Cases</h2> <p>We will cover the Topics above in several use cases to show the capability and flexibility of the templating engine within Catalyst Center. In this lab we utilize Velocity language. Similarly, we can utilize the Jinja2 language although not in this lab. These were the topics in the previous lab we covered which are relevant:</p> <ol> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/blob/master/LABS/LAB-1-Wired-Automation/module6-advanced.md#step-1---renaming-interfaces---use-case">Renaming interfaces</a></li> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/blob/master/LABS/LAB-1-Wired-Automation/module6-advanced.md#step-2---building-stacks---use-case">Building Stacks</a></li> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/blob/master/LABS/LAB-1-Wired-Automation/module6-advanced.md#step-3---assigning-port-configuration---use-case">Assigning port configuration</a></li> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/blob/master/LABS/LAB-1-Wired-Automation/module6-advanced.md#step-4---autoconf-port-configuration---use-case">Autoconf port configuration</a></li> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/blob/master/LABS/LAB-1-Wired-Automation/module6-advanced.md#step-5---non-sda-ibns20-port-configuration---use-case">Non SDA IBNS 2.0 port configuration</a></li> </ol> <h2 style="text-align: center;"><em>With that, the lab utilizes these topics;</em></h2> <p>We will gain a practical understanding of the steps associated with setting up a Catalyst Center and an environment to support complex, advanced, regular templates to deliver device configuration during these labs. The labs aim to aid engineers in rapidly beginning using Catalyst Center automation and help them work towards a global template strategy. Additionally, these labs will give customers a permanent place to try out the regular and composite templates and include configurations for various use cases. Finally, this environment will enable engineers to reduce the time and effort needed to instantiate the network.</p> <h2 style="text-align: center;"><em>Additional things covered in the lab;</em></h2> <h3>Autoconf</h3> <p>In these labs, we use <em>Autoconf</em>, a solution that manages port configurations for data or voice VLAN, quality of service (QoS) parameters, storm control, and MAC-based port security on end devices to deploy configuration in an automated way in the access layer of a network. Device classification is enabled when you enable the <em>Autoconf</em> feature using the <code>autoconf enable</code> global configuration mode command. The device detection acts as an event trigger, which in turn applies the appropriate automatic template to the interface. When the <em>Autoconf</em> feature is enabled using the <code>autoconf enable</code> command, the default <em>Autoconf</em> service policy is applied to all the interfaces. For more information about <strong><a href="https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9400/software/release/16-12/configuration_guide/nmgmt/b_1612_nmgmt_9400_cg/configuring_autoconf.pdf" rel="nofollow">Autoconf</a></strong>. <em>Autoconf</em> and service-policies at this time cannot co-exist on the same interface and so for interfaces which have templates statically assigned to the interface with service-policy attachment for authentication we may employ other methods to make the interface Dynamic.</p> <figure id="attachment_398764" aria-describedby="caption-attachment-398764" style="width: 800px" class="wp-caption aligncenter"><img class="wp-image-398764" title="Autoconf" src="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Autoconf-v2.gif" alt="Autoconf" width="800" height="450" srcset="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Autoconf-v2.gif 1920w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Autoconf-v2-300x169.gif 300w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Autoconf-v2-768x432.gif 768w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Autoconf-v2-1024x576.gif 1024w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/Autoconf-v2-1536x864.gif 1536w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption id="caption-attachment-398764" class="wp-caption-text">Figure 1. Autoconf</figcaption></figure> <h3>EEM scripts</h3> <p><em>EEM scripts</em> use some kind of event to trigger them. Within the <em>EEM script</em>, you can reconfigure interfaces, send event notifications via email and much more. In this lab we use <em>EEM scripts</em> to reconfigure interfaces on a down event to a base closed authentication template, and modify them to low impact mode when a PoE Power up event is detected. The uses for such a script are numerous, and this lab covers one specific use case but an imaginative mind can come up with many other uses for such a feature.</p> <figure id="attachment_398765" aria-describedby="caption-attachment-398765" style="width: 800px" class="wp-caption aligncenter"><a href="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/EEM-v2.gif" target="_blank" rel="noopener"><img loading="lazy" class="wp-image-398765" title="EEM Scripts" src="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/EEM-v2.gif" alt="EEM Scripts" width="800" height="450" srcset="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/EEM-v2.gif 1920w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/EEM-v2-300x169.gif 300w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/EEM-v2-768x432.gif 768w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/EEM-v2-1024x576.gif 1024w, https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/04/EEM-v2-1536x864.gif 1536w" sizes="(max-width: 800px) 100vw, 800px" /></a><figcaption id="caption-attachment-398765" class="wp-caption-text">Figure 2. EEM Scripts</figcaption></figure> <h3>Self-Destructing EEM scripts</h3> <p><em>Self-Destructing EEM scripts</em> are those that delete themselves on termination. Within the <em>EEM script</em>, code removes the <em>EEM applet</em> from the configuration, and then writes the configuration to NVRAM. The uses for such a script are numerous, and this lab covers one specific use case but an imaginative mind can come up with many other uses for such a feature.</p> <h3>IBNS 2.0 Configuration</h3> <p>While not covering all the aspects of IBNS 2.0, we cover the configuration that we may implement in order to allow for automating host onboarding within a <strong>non-SD-Access campus network</strong>. These concepts while not built into a formal UI within Catalyst Center for legacy networks allow organizations that wish to automate their infrastructure the chance to automate.</p> <p>The format of the code within all these sections of the lab is in an easy copy-to-paste window allowing you to import them into Catalyst Center simply by pasting them into the editor.</p> <h2 style="text-align: center;"><em>Starting…</em></h2> <p>Within DCLOUD, several sandbox-type labs are available. These self-contained environments are there to allow you to use them as you please within the time scheduled. In addition, this allows us a place to start practicing various concepts without fear of impacting production environments.</p> <p><span data-preserver-spaces="true">As a result, we hope to demystify some of the complexities of setting up automation and help guide customers through the caveats. Therefore, to aid customers in the transition toward automation, we have put together a set of small helpful labs within a GitHub repository. In this way, these self-guided labs provide a glimpse into the fundamentals of building velocity templates and offer examples that you can download and expand from. In addition, the</span><span data-preserver-spaces="true"> sample templates and JSON files supplied are for easy import into Catalyst Centers’ template editor for quicker adoption. Lastly, some scripts are ready-made excerpts of code that allow you to build the environment to test.<br /> </span></p> <p><span data-preserver-spaces="true">Within the <a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS/LAB-1-Wired-Automation">Wired Automation</a> lab, in the Advanced Automation module, we step by step delve into advanced automation methods and ways to utilize them to solve various use cases. Second, we provide answers and explanations to many of the questions that come up during automation workshops. We hope that you find the information both helpful and informative.</span></p> <h2 style="text-align: center;"><em>Where can I test and try these labs?</em></h2> <h2>DCLOUD Lab Environment</h2> <p>To help customers succeed with Cisco Catalyst Center automation, you may utilize the above labs as they have been designed to work within DCLOUD’s Cisco Enterprise Networks Hardware Sandbox Labs in either:</p> <ol> <li><a href="https://dcloud2-sjc.cisco.com/content/demo/387560?returnPathTitleKey=content-view" rel="nofollow">Cisco Enterprise Networks Hardware Sandbox West DC</a></li> <li><a href="https://dcloud2-rtp.cisco.com/content/demo/1110413?returnPathTitleKey=content-view" rel="nofollow">Cisco Enterprise Networks Hardware Sandbox East DC</a></li> </ol> <p>The DCLOUD labs allow you to run these labs and gives an environment to try the various code samples. You may choose to develop and export your code for use in production environments. Also, this gives you an environment where you can safely POC/POV methods and steps without harming your production environments. The DCLOUD environment also negates the need for shipping equipment, lead times, and licensing issues needed to get moving rapidly. Please do adhere to the best practices for the DCLOUD environment when using it.</p> <h2>Lab Connectivity</h2> <p>The environment allows for a web-based browser client for VPN-less connectivity. Additionally, there is AnyConnect VPN client connectivity for those who prefer it. Choose the Cisco Enterprise Network Sandbox. Additionally, you may choose from our San Jose and RTP Facilities labs by either selecting US East or US West. To access this or other content, demonstrations, and labs in DCLOUD, please directly work with your Cisco or Partner Account Team. Your Account teams will schedule the session and share it for you to use. Once booked, follow the guide within GitHub to complete the tasks adhering to the best practices of the DCLOUD environment.</p> <h2>Content</h2> <p><span data-preserver-spaces="true">The <a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS/LAB-1-Wired-Automation">Wired Automation</a> labs, Advanced Automation module content is located within the existing <a href="https://developer.cisco.com/codeexchange/github/repo/kebaldwi/DNAC-TEMPLATES?utm_source=devblog&utm_medium=kebaldwi&utm_campaign=codeexchange-page&utm_term=fy21-q4-0000&utm_content=dnatemplatesgetstarted02-ww">DNAC-TEMPLATES</a> repository to give a one-stop-shop for all the necessary tools, scripts, templates, and code samples. Within it are seven labs, which build upon the tutorials to test the methods in a lab environment. The repository was featured in a previous post on Cisco Blogs about <a href="https://blogs.cisco.com/developer/dnatemplatesgetstarted01">Catalyst Center Templates</a> earlier in May 2021.</span></p> <h2 style="text-align: center;"><em>Additional Information</em></h2> <h2><strong>Catalyst Center</strong><strong> Template Labs</strong></h2> <p>The previously named <a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS#dnac-template-labs-">DNAC Template LABS</a> within the <span data-preserver-spaces="true"><a href="https://developer.cisco.com/codeexchange/github/repo/kebaldwi/DNAC-TEMPLATES?utm_source=devblog&utm_medium=kebaldwi&utm_campaign=codeexchange-page&utm_term=fy21-q4-0000&utm_content=dnatemplatesgetstarted02-ww">DNAC-TEMPLATES</a></span> GitHub repository aims to guide you through the typical steps required to enable the various automation tasks delivered by Catalyst Center. This lab will give examples of templates used in Catalyst Center that we can modify for our use and test on equipment within the LAB environment. Additional information within the lab provides a well-rounded explanation of Automation methods with Templates. Lastly, the lab allows for customers to use Catalyst Center workflows to practice deploying Onboarding, DayN Templates, and Application Policy automation on both Wired and Wireless Platforms.</p> <p>The goal of this lab is for it to be a practical guide to aid engineers to rapidly begin using Catalyst Center automation and help them work towards a deployment strategy. Additionally, this lab will give customers a permanent place to try out the configurations for various use cases. Finally, this environment will enable engineers to reduce the time and effort needed to instantiate the network.</p> <p>As a result, you will gain experience in setting up Plug and Play onboarding and templates and utilizing all features. Additionally, you will use advanced templating methods and troubleshooting tools. These may help during faultfinding to determine what is failing in a deployment.</p> <h2><strong>Catalyst Center Labs</strong></h2> <p>Please use this menu to navigate the various sections of this GitHub repository. Within the multiple folders are examples and explanation readme files for reference. There are now two sets of labs, and these are being continually expanded upon.</p> <div class="markdown-heading" dir="auto"> <h2 class="heading-element">New <strong>Catalyst Center Lab Content</strong></h2> <p>Please use this menu to navigate the various sections of this GitHub repository. Within the multiple folders are examples and explanation readme files for reference. There are now two sets of labs, and these are being continually expanded upon.</p> <p dir="auto">This newer and more modular lab approach is designed to deal with and includes concepts from the legacy labs in a newer more modular format.</p> <ol> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS/LAB-1-Wired-Automation">Lab 1 Wired Automation</a> – Covers green and brown field use cases <strong>(allow 4.0 hrs)</strong></li> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS/Lab-2-Wireless-Automation">Lab 2 Wireless Automation</a> – Covers traditional wireless automation <strong>(allow 4.0 hrs)</strong></li> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS/LAB-4-Rest-API-Orchestration/">Lab 4 Rest-API Orchestration</a> – Covers automation of Cisco Catalyst Center via Postman with Rest-API <strong>(allow 2.0 hrs)</strong></li> <li><a href="https://github.com/kebaldwi/DNAC-TEMPLATES/tree/master/LABS/LAB-7-CICD-Orchestration/">Lab 7 CICD Orchestration</a> – Covers <a href="https://www.python.org/" rel="nofollow">Python</a> with <a href="https://www.jenkins.io/" rel="nofollow">JENKINS</a> orchestration via REST-API <strong>(allow 4.0 hrs)</strong></li> </ol> <p>We will share additional labs and content in an ongoing effort to fulfill all your automation needs with Catalyst Center.</p> </div> <p style="text-align: center;" data-preserver-spaces="true">In conclusion, if you found this set of labs and repository helpful,</p> <p style="text-align: center;" data-preserver-spaces="true">please fill in comments and <a href="https://app.smartsheet.com/b/form/f75ce15c2053435283a025b1872257fe" rel="nofollow">feedback</a> on how it could be improved.</p> <hr /> <p style="text-align: center;"><i>We’d love to hear what you think. Ask a question or leave a comment below.<br /> And stay connected with Cisco on social!</i></p> <p style="text-align: center;">Check out our <a href="https://video.cisco.com/channel/networking">Cisco Networking video channel</a></p> <p style="text-align: center;"><a href="https://feedburner.google.com/fb/a/mailverify?uri=CiscoBlogNetworking">Subscribe to the Networking blog</a></p> <div id="share_bar_desktop"> <span class = "share_title">Share</span> <div class="twitter"> <div class = "box"> <a class = "share" href="https://twitter.com/intent/tweet?url=https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8&text=Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8&via=Cisco" target='_blank' data-config-metrics-group='social_shares' data-config-metrics-title='twitter_shares' data-config-metrics-item='twitter_share'> <img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_X_white.svg" alt="share on twitter"></a> </div> </div> <div class="facebook"> <div class = "box"> <a class = "share" href = "http://www.facebook.com/sharer/sharer.php?u=https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8&title=Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8" data-config-metrics-group='social_shares' data-config-metrics-title='facebook_shares' data-config-metrics-item='facebook_share' onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_fb_white.svg" alt="share on facebook"></a> </div> </div> <div class="linkedin"> <div class = "box"> <a class = "share" href = "https://www.linkedin.com/cws/share?url=https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8" data-title=" " data-config-metrics-group='social_shares' data-config-metrics-title='linkedin_shares' data-config-metrics-item='linkedin_share' onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_li_white.svg" alt="share on linkedin"></a> </div> </div> <div class = "mail"> <div class = "box"> <a class="share" href="mailto:?subject=Cisco Blog: Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8&body=I saw this post on Cisco Blogs and thought you might like to read it.%0A%0ACisco Catalyst Center Template Labs – Dynamic Automation, Part 8%0A%0Ahttps://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8%0A%0A****Disclaimer****%0A%0ACisco is not responsible for the content of this email, and its contents do not necessarily reflect Cisco’s views or opinions. Cisco has not verified the email address or name of the sender." data-config-metrics-group='social_shares' data-config-metrics-title='email_shares' data-config-metrics-item='email_share'> <img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_email_white.svg"> </a> </div> </div> <div class = "clear"></div> </div> <br> <div class = "share_text">Share:</div> <div id="share_bar_mobile"> <div class="twitter"> <div class = "box"> <a class = "share" href="https://twitter.com/intent/tweet?url=https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8&text=Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8&via=Cisco" target='_blank' data-config-metrics-group='social_shares' data-config-metrics-title='twitter_shares' data-config-metrics-item='twitter_share'> <img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_X_white.svg" alt="share on twitter"></a> </div> </div> <div class="facebook"> <div class = "box"> <a class = "share" href = "http://www.facebook.com/sharer/sharer.php?u=https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8&title=Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8" data-config-metrics-group='social_shares' data-config-metrics-title='facebook_shares' data-config-metrics-item='facebook_share' onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_fb_white.svg" alt="share on facebook"></a> </div> </div> <div class="linkedin"> <div class = "box"> <a class = "share" href = "https://www.linkedin.com/cws/share?url=https://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8" data-title=" " data-config-metrics-group='social_shares' data-config-metrics-title='linkedin_shares' data-config-metrics-item='linkedin_share' onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=600,width=600');return false;"><img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_li_white.svg" alt="share on linkedin"></a> </div> </div> <div class = "mail"> <div class = "box"> <a class="share" href="mailto:?subject=Cisco Blog: Cisco Catalyst Center Template Labs – Dynamic Automation, Part 8&body=I saw this post on Cisco Blogs and thought you might like to read it.%0A%0ACisco Catalyst Center Template Labs – Dynamic Automation, Part 8%0A%0Ahttps://blogs.cisco.com/networking/cisco-dna-center-template-labs-dynamic-automation-part-8%0A%0A****Disclaimer****%0A%0ACisco is not responsible for the content of this email, and its contents do not necessarily reflect Cisco’s views or opinions. Cisco has not verified the email address or name of the sender." data-config-metrics-group='social_shares' data-config-metrics-title='email_shares' data-config-metrics-item='email_share'> <img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_email_white.svg"> </a> </div> </div> <div class = "clear"></div> </div> <br> </div><!-- .entry-content --> <div class="author-section"> <div><h2>Authors</h2></div> <div class="auth-row"> <div class="blog-row author-bio"> <div class="item-thirds-1 author-bio-box" > <div class="author-image" > <a href="https://blogs.cisco.com/author/kebaldwi"><img src="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2022/06/keith-baldwin-150x150.jpg" width="150" height="150" alt="Avatar" class="avatar avatar-150wp-user-avatar wp-user-avatar-150 alignnone photo avatar-default"> </a> </div> <div class="author-info"> <h3><a href="https://blogs.cisco.com/author/kebaldwi"> Keith Baldwin</a> </h3> <h4 class="title">Solutions Engineer </h4> <h4>Campus Automation CoE for Enterprise Networking</h4> <a href="https://www.linkedin.com/in/keithandrewbaldwin" rel="nofollow" target="_blank"><img class="share_image" src="https://blogs.cisco.com/wp-content/themes/ciscowordpress-child/svg/share_li_navy.svg" alt="share on facebook"></a> </div> </div><!--end author image and name--> </div><!-- .author-bio --> </div> </div> <footer class="entry-footer"> </footer><!-- .entry-footer --> </article> <div id="tags-container">Tags: <a href="https://blogs.cisco.com/tag/catc" rel="tag">#CATC</a> <a href="https://blogs.cisco.com/tag/autoconf" rel="tag">Autoconf</a> <a href="https://blogs.cisco.com/tag/catalyst-center" rel="tag">Catalyst Center</a> <a href="https://blogs.cisco.com/tag/catalyst-center-automation-series" rel="tag">Catalyst Center Automation Series</a> <a href="https://blogs.cisco.com/tag/cisco-catalyst-center" rel="tag">Cisco Catalyst Center</a> <a href="https://blogs.cisco.com/tag/cisco-dna" rel="tag">Cisco DNA</a> <a href="https://blogs.cisco.com/tag/cisco-dna-center" rel="tag">Cisco DNA Center</a> <a href="https://blogs.cisco.com/tag/dna-center-automation-series" rel="tag">DNA Center Automation Series</a> <a href="https://blogs.cisco.com/tag/ibns-2-0" rel="tag">IBNS 2.0</a> <a href="https://blogs.cisco.com/tag/network-automation" rel="tag">network automation</a> <a href="https://blogs.cisco.com/tag/postman" rel="tag">postman</a> <a href="https://blogs.cisco.com/tag/rest-api" rel="tag">rest api</a> <hr id="comment-break-line"> </div> </main><!-- #main --> </div><!-- #primary --> <div class="blog-row cui cta"> <div class="item-halves-1"> <div class="cta-container"> <div class="cta-image"> <img src="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2021/11/IL20211110162602-Cisco-Networking-2-150x150.jpg"> </div> <!-- end CTA image --> <div class="cta-description"> <h2>Get More from Cisco Networking</h2> <p>Customer stories, technical demos and more await!</p> <div class="btn--parent"> <button class="btn--primary1" onclick="window.location.href = 'https://video.cisco.com/category/videos/networking';"> <!--<span class="buttontext"></span>--> Check out our Networking video channel </button> </div> <!-- end CTA button --> </div> <!-- end CTA description--> <!-- DS916 --> <!-- DS916 --> </div> <!-- end CTA container --> </div> <!--end item half--> <div class="item-halves-2"> <div class="cta-container"> <div class="cta-image"> <img src="https://storage.googleapis.com/blogs-images-new/ciscoblogs/1/2020/02/f7553bb4-av28722-150x150-1.jpg"> </div> <!-- end CTA image --> <div class="cta-description"> <h2>Multidomain Architecture</h2> <p>Learn how to integrate your networking domains and get more out of an enterprise-wide, intent-based network.</p> <div class="btn--parent"> <button class="btn--primary1" onclick="window.location.href = 'https://www.cisco.com/go/multidomain';"> <!--<span class="buttontext"></span>--> Discover multidomain integration </button> </div> <!-- end CTA button --> </div> <!-- end CTA description--> <!-- DS916 --> <!-- DS916 --> </div> <!-- end CTA container --> </div> <!--end item half--> </div><!--end of CTA row --> </div><!-- #content --> <!-- Open Social Footer --> <div id="social-footer" class="blog-row"> <ul class="social-footer-item item-full"> <h5> CONNECT WITH US </h5> <ul id="social-icons-list"> <li> <a href="https://www.linkedin.com/company/cisco/" target="_blank" rel=”noopener noreferrer” tabindex="0" alt="Go to Cisco's LinkedIn"><svg width="32" height="32" viewBox="0 0 32 32" role="img" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="m24.80382,24.53603l-3.70694,0l0,-5.62559c0,-1.34209 -0.02431,-3.06801 -1.92709,-3.06801c-1.92986,0 -2.22361,1.46262 -2.22361,2.97171l0,5.72189l-3.70347,0l0,-11.56902l3.55417,0l0,1.58181l0.05069,0c0.49445,-0.90976 1.70486,-1.86868 3.50903,-1.86868c3.75347,0 4.44722,2.39528 4.44722,5.51111l0,6.34478zm-15.74236,-13.1495c-1.19097,0 -2.15139,-0.934 -2.15139,-2.08552c0,-1.15084 0.96042,-2.08485 2.15139,-2.08485c1.18611,0 2.14931,0.93401 2.14931,2.08485c0,1.15152 -0.9632,2.08552 -2.14931,2.08552l0,0zm1.85486,13.1495l0,-11.56902l-3.71111,0l0,11.56902l3.71111,0zm15.73403,-20.65724l-21.30556,0c-1.01736,0 -1.84444,0.78249 -1.84444,1.74815l0,20.74545c0,0.96499 0.82708,1.74882 1.84444,1.74882l21.30556,0c1.02014,0 1.84931,-0.78383 1.84931,-1.74882l0,-20.74545c0,-0.96566 -0.82917,-1.74815 -1.84931,-1.74815l0,0z" fill="#fff" fill-rule="evenodd"></path></svg></a></li> <li> <a href="https://twitter.com/Cisco/" target="_blank" rel=”noopener noreferrer” tabindex="0" alt="Go to Cisco's Twitter"><svg width="32" height="32" viewBox="0 0 32 32" role="img" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <path d="M25.2019 2H30.1087L19.3887 13.8605L32 30H22.1254L14.3913 20.2115L5.54174 30H0.631901L12.0981 17.3138L0 2H10.1252L17.1162 10.9471L25.2019 2ZM23.4797 27.1569H26.1987L8.64785 4.69374H5.73013L23.4797 27.1569Z" fill="#fff"/> </svg></a></li> <li> <a href="https://www.facebook.com/cisco/" target="_blank" rel=”noopener noreferrer” tabindex="0" alt="Go to Cisco's Facebook"><svg width="32" height="32" viewBox="0 0 32 32" role="img" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="m26.62006,4l-22.2403,0c-0.7622,0 -1.37976,0.59894 -1.37976,1.33804l0,21.56635c0,0.73891 0.61756,1.33803 1.37976,1.33803l11.97343,0l0,-9.38796l-3.25793,0l0,-3.65868l3.25793,0l0,-2.69815c0,-3.13113 1.97213,-4.83613 4.85266,-4.83613c1.37975,0 2.56571,0.09955 2.91135,0.14415l0,3.2722l-1.99788,0.00091c-1.56654,0 -1.86993,0.72183 -1.86993,1.7812l0,2.33582l3.7362,0l-0.48652,3.65868l-3.24968,0l0,9.38796l6.37067,0c0.76191,0 1.37975,-0.59912 1.37975,-1.33803l0,-21.56635c0,-0.7391 -0.61784,-1.33804 -1.37975,-1.33804" fill="#fff"></path></svg></a></li> <li> <a href="https://www.instagram.com/cisco/?hl=en" target="_blank" rel=”noopener noreferrer” tabindex="0" alt= "Go to Cisco's Instagram"><svg width="32" height="32" viewBox="0 0 32 32" role="img" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="#fff"><path d="m22.23823,2.07724l-12.4768,0c-4.23706,0 -7.68419,3.44729 -7.68419,7.68435l0,12.4768c0,4.23723 3.44713,7.68436 7.68419,7.68436l12.4768,0c4.23739,0 7.68452,-3.4473 7.68452,-7.68436l0,-12.4768c0.00016,-4.23706 -3.44713,-7.68435 -7.68452,-7.68435zm5.21409,20.16115c0,2.87494 -2.33899,5.21377 -5.21393,5.21377l-12.47696,0c-2.87478,0.00016 -5.2136,-2.33883 -5.2136,-5.21377l0,-12.4768c0,-2.87477 2.33882,-5.21376 5.2136,-5.21376l12.4768,0c2.87494,0 5.21393,2.33899 5.21393,5.21376l0,12.4768l0.00016,0z"></path><path d="m15.99999,8.82524c-3.9564,0 -7.17508,3.21868 -7.17508,7.17508c0,3.95624 3.21868,7.17476 7.17508,7.17476c3.9564,0 7.17509,-3.21852 7.17509,-7.17476c0,-3.9564 -3.21869,-7.17508 -7.17509,-7.17508zm0,11.87908c-2.59395,0 -4.70449,-2.11021 -4.70449,-4.70416c0,-2.59412 2.11038,-4.7045 4.70449,-4.7045c2.59412,0 4.7045,2.11038 4.7045,4.7045c0,2.59395 -2.11054,4.70416 -4.7045,4.70416z"></path><path d="m23.47599,6.73035c-0.476,0 -0.9436,0.1927 -1.27976,0.53035c-0.33781,0.336 -0.532,0.80376 -0.532,1.28141c0,0.47617 0.19435,0.94377 0.532,1.28141c0.336,0.336 0.80376,0.53036 1.27976,0.53036c0.47765,0 0.94377,-0.19436 1.28141,-0.53036c0.33765,-0.33764 0.53036,-0.80541 0.53036,-1.28141c0,-0.47765 -0.19271,-0.94541 -0.53036,-1.28141c-0.336,-0.33765 -0.80376,-0.53035 -1.28141,-0.53035z"></path></g></svg></a></li> <li> <a href="https://www.youtube.com/user/Cisco/welcome" target="_blank" rel=”noopener noreferrer” tabindex="0" alt="Go to Cisco's Youtube"><svg width="32" height="32" viewBox="0 0 32 32" role="img" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="m12.73901,19.93335l-0.00144,-8.54172l8.47104,4.28574l-8.4696,4.25598zm18.59878,-10.02146c0,0 -0.30631,-2.09493 -1.24635,-3.01746c-1.19214,-1.21081 -2.52842,-1.21682 -3.14122,-1.28769c-4.38704,-0.30753 -10.96784,-0.30753 -10.96784,-0.30753l-0.01363,0c0,0 -6.58064,0 -10.96784,0.30753c-0.61283,0.07087 -1.94862,0.07688 -3.14119,1.28769c-0.93998,0.92253 -1.24586,3.01746 -1.24586,3.01746c0,0 -0.31352,2.46013 -0.31352,4.92024l0,2.30635c0,2.46008 0.31352,4.92018 0.31352,4.92018c0,0 0.30588,2.09496 1.24586,3.01749c1.19257,1.21085 2.7591,1.17254 3.45682,1.29945c2.50808,0.23321 10.65906,0.30539 10.65906,0.30539c0,0 6.58758,-0.00962 10.97462,-0.31712c0.6128,-0.07089 1.94908,-0.07687 3.14122,-1.28772c0.94004,-0.92253 1.24635,-3.01749 1.24635,-3.01749c0,0 0.31306,-2.4601 0.31306,-4.92018l0,-2.30635c0,-2.46011 -0.31306,-4.92024 -0.31306,-4.92024l0,0z" fill="#fff"></path></svg></a></li> </ul> </ul> </div> <!-- Close Social Footer --> </cdc-template-micro> <!-- close cdc-template--> </div><!-- #page --> <script type="text/javascript" src="//www.cisco.com/c/dam/cdc/t/ctm.js"></script> <script> function convert_to_url(obj) { return Object .keys(obj) .map(k => `${encodeURIComponent(k)}=${encodeURIComponent(obj[k])}`) .join('&'); } function pass_to_backend() { if(window.location.hash) { var hash = window.location.hash; var elements = {}; hash.split("#")[1].split("&").forEach(element => { var vars = element.split("="); elements[vars[0]] = vars[1]; }); if(("access_token" in elements) || ("id_token" in elements) || ("token" in elements)) { if(window.location.href.indexOf("?") !== -1) { window.location = (window.location.href.split("?")[0] + window.location.hash).split('#')[0] + "?" + convert_to_url(elements); } else { window.location = window.location.href.split('#')[0] + "?" + convert_to_url(elements); } } } } pass_to_backend(); </script> <script type='text/javascript' src='https://blogs.cisco.com/wp-content/themes/ciscowordpress/js/navigation.js?ver=20151215' id='ciscowordpress-navigation-js'></script> <script type='text/javascript' src='https://blogs.cisco.com/wp-content/themes/ciscowordpress/js/skip-link-focus-fix.js?ver=20151215' id='ciscowordpress-skip-link-focus-fix-js'></script> </body> </html> <!-- Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/ Served from: blogs.cisco.com @ 2024-11-27 03:15:11 by W3 Total Cache -->