Professional Documents
Culture Documents
Catalyst Center Automation
Catalyst Center Automation
-
#CiscoLive
Cisco Webex App
https://ciscolive.ciscoevents.com/
ciscolivebot/#BRKCOC-2041
Questions?
Use Cisco Webex App to chat
with the speaker after the session
How
1 Find this session in the Cisco Live Mobile App
BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 2
Agenda
• Introduction
• Software Image Management
• Configuration Management
• Conclusion
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
About This Session
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Session Structure
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Two Parts of the Same Whole
* Tedious
* Not Intellectually Interesting
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
The Virtues of Boring*
*Boring
- Production Rollouts are rock-solid, rapid, and reliable.
- They happen without unnecessary suspense, mystery, or puzzles.
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
System Stability Versus System Agility
Stability Agility
Freeze the network as it is now Introduce change into the network
• No additional users or devices • Bugs
• No incidents or issues • Incidents | Outages
• No new features or capabilities • Growth | Scale | New Capabilities
• Licensing fees regardless • Licensing fees regardless
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Our Network
-
System Scale
• Theaters - 3
• Regions – 12
• Countries – 73
• Cities - 183
• Buildings - 277
• Devices – 15,687
• Routers – 359
• Switches – 2,617
• WLCs - 289
• Access Points – 12,422
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Our Controller Footprint
Production
Non-Production
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Controller Inventory Snapshot
Americas EMEAR
APJC SD-Access
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Controller Inventory Snapshot
Americas EMEAR
APJC SD-Access
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Controller Based
Automation
The Why
-
1. Why
2. How
3. Results
Controller-Based Automation
4. Lessons Learned
5. Roadmap
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Start where you are.
Use what you have.
Do what you can.
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
1. Why
2. How
3. Results
Controller-Based Automation
4. Lessons Learned
5. Roadmap
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
What is
Automation?
-
Automation – A Definition
• A layer of abstraction.
• Abstraction of ….. ??
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Automation – A Definition
• A layer of abstraction.
• Abstraction of ….. ??
• Complexity
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Certified Complex
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Automation – A Definition
• A layer of abstraction that reduces complexity.
• The easy button. ☺
Easy
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Levels of Abstraction
Getting to the Easy Button Easy
• Terminal
• Multi-tabbed Terminal
• GUI
• Click, Click, Click in the GUI
• GUI Workflows
• Scripting
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Software Image
Management
(SWIM)
-
1. Why
2. How
3. Results
The Why
• Control consistency of software image version across the network
• Reduction of time necessary to perform image upgrades
• Reduction in human errors
• Detailed status and feedback
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
1. Why
Download | Upload
Identify Devices not in
the Image Into the Mark Image as Golden
Software Compliance
Controller
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
1. Why
2. How
3. Results
SWIM Metrics
4. Lessons Learned
5. Roadmap
* Tedious
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
1. Why
2. How
3. Results
Lessons Learned
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Atomic SWIM
-
🗹 Automatic
🗹 Atomic
Atomic – A Definition 🗹 SWIM
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
1. Why
Start
Image Activation
(Includes Prechecks and Software Compliance Check
Incident Creation)
Image Distribution
(Includes Prechecks and
Incident Creation)
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Automatic Atomic SWIM
High-Level Flow
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Automatic Atomic SWIM
Low-Level Flow
Check for Change Image Upgrade
Request Conflict Readiness Check
SUCCESS!
Open Incident Device Updated
-
#CiscoLive © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
1. Why
2. How
Atomic SWIM Activations by Device Model 3.
4.
Results
Lessons Learned
5. Roadmap
4
102 (8%)
3
181 (13%)
1
617 (46%)
Total Devices
1338
2
438 (33%)
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Spoiler Alert
-
Using Automation to Address a Security Vulnerability
1. Use Catalyst Center Templates to close the vulnerability
ip http active-session-modules none
ip http secure-active-session-modules none
2. Use Command Runner via API to check for locally configured users.
show running-config | include username
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
1. Why
2. How
3. Results
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
1. Why
Actual Logs 2.
3.
4.
How
Results
Lessons Learned
5. Roadmap
-
#CiscoLive © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public
Key Takeaways
-
To Err is Human.
To Err catastrophically at
speed and scale is… (only
(only possible
possible through)
through)
…automation.
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
1. Why
2. How
3. Results
Controller-Lead Automation
4. Lessons Learned
5. Roadmap
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Configuration
Management
-
Catalyst Center Configuration Management
The Why
Build
Enhance/rewrite features of
legacy config management tool
Buy
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Catalyst Center Configuration Management
What if Option 1
• Legacy code
• Text-based templates
• Time-consuming
• Toil
Build
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Catalyst Center Configuration management
What if Option 2
• Intent
• Template
programmability
• Standardization and
Speed
Reduce Toil
Buy •
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Catalyst Center Configuration Management
The Winner
Buy
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Configuration standardization with Catalyst Center
9800 Wireless LAN Controller (WLC) – Day 0 config via PnP
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Configuration standardization with Catalyst Center
9800 Wireless LAN Controllers – Day N config
Attach templates
Define network Assign profile to Provision DAY N
and model configs
settings, templates, sites with 9800 templates to 9800
to Wireless Network
and Model Configs WLCs WLCs
Profile
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Catalyst Center Configuration Management
The How
• Automate config standardization at scale
• Onboard and provision Day 0 configs via Plug and Play
• Configure Intent, and provision Day N Templates via Network Profile
*In Progress
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Config Compliance with Catalyst Center
• Config Backups
What is configured on the device?
• Config Drift
What configuration changed on the device?
• Config Compliance*
Does my device have desired configuration?
*In Progress
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Extending Catalyst Center Configuration Capabilities
• Python-based and API driven extension of Catalyst Center features
• GitOps approach to "democratize" access to device configs and history
• Longer data retention of config change history
• Correlation with CMDB/ITSM*
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Extending Catalyst Center Config Backup Capability
Update backup
Extract backup config
and copy attributes of
device running Commit to git devices
configs in file
system
Config CMDB
backup
repository
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Extending Catalyst Center Config Backup Capability
From Insights to Actions
ci_name : <switch1>
class : IP Switch
last_backup : 2024-05-31
backup_url : <link_to_config_backup_git_repo>
backup_error_msg*:
service_offering : <workplace_network>
If old backup timestamp, open incident with the service offering for resolution
*If success, Backup error message is empty; If failure, has the error encountered while attempting to backup
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Extending Catalyst Center Config Drift Capability
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Extending Catalyst Center Config Drift Capability
Example – Controller conflict
08/28/2022
<wlc1>.cisco.com
08/29/2022
<wlc1>.cisco.com
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Extending Catalyst Center Config Drift Capability
Example – Controller conflict
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Extending Catalyst Center Config Drift Capability
Example – Configuring port security on security cameras
<switch1>.cisco.com
Change Category: ['Security camera’]
interface <intf_name>
+switchport port-security mac-address sticky <mac_address>
23274
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Config Compliance with Catalyst Center
• Config Backups
What is configured on the device?
Is the backup latest?
• Config Drift
What configuration changed on the device?
Why did the configuration change?
• Config Compliance*
Does my device have desired configuration?
How do I automate compliance?
*In Progress
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Cisco IT Configuration Journey with Catalyst Center
Atomic Config and
Intent Compliance
Config
Compliance
Config
Standardization
Wireless
Config Generation
Wireless
Config Standardization
Routing and Switching
Config Generation
Routing and
Switching
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Cisco IT Configuration Journey with Catalyst Center
Atomic Config and
Intent Compliance
Config
Compliance
Config
Standardization
Wireless
Config Generation
Wireless
Config Standardization
Routing and Switching
Config Generation
Routing and
Switching
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Configuration Management
Before and After Catalyst Center
Before Catalyst Center After Catalyst Center
• 🗹 Painful • 🗹 Simple and Programmable
Manual configuration via device CLI or text-based Use Velocity or Jinja for seamless configurations
templates
• 🗹 Speed and Scale
• 🗹 Time-consuming
100 WLCs configured in less than an hour
Configuration took time; troubleshooting took time
• 🗹 Event-driven automation*
• 🗹 Repetitive
Provision configs “only” in the event of an
Spray the same configs on boxes all the time unexpected change
*In Progress
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Conclusion
• Cisco IT has a network growing both in scale and in scope.
• Catalyst Center has capabilities to seamlessly automate device software
and configuration management at scale.
• This gives us time to work on new value-added initiatives such as:
• Atomic SWIM
• Extended Config Archive and Config Drift
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
“Keep Calm and Automate Everything”
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Visit the Cisco Showcase
for related demos
-
BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Complete Your Session Evaluations
Earn 100 points per survey completed and compete on the Cisco Live
Challenge leaderboard.
-
#CiscoLive BRKCOC-2041 © 2024 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Thank you
-
#CiscoLive