Professional Documents
Culture Documents
BRKARC-2090
BRKARC-2090
Management Interfaces
Protected Memory
#CiscoLiveAPJC
Cisco Webex App
Questions?
Use Cisco Webex App to chat
with the speaker after the session
How
1 Find this session in the Cisco Live Mobile App
2 Click “Join the Discussion”
3 Install the Webex App or go directly to the Webex space Enter your personal notes here
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Session
Agenda Abstract
You've used the CLI commands. You've tried the Programmable API’s.
You've seen the GUI screens.... but what’s REALLY happening inside IOS XE?
• How is Cisco IOS XE similar and what differentiates it from other Cisco Operating System
architectures?
• Do you wish you could look –inside- the different software layers, and
understand how they all work together (or when they don’t, for troubleshooting)?
This session will focus on the software components (processes) within IOS XE on
the Catalyst 9000 series:
1. Recap of the basic principles and history of IOS
2. Summary of basic components of Catalyst 9000 IOS XE
3. Summary of key technologies enabled by IOS XE
4. Catalyst 9000 IOS XE architecture up to 17.6.1 release
5. Catalyst 9000 IOS XE architecture after 17.7.1 release
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
1. Brief History of IOS XE
1
2. Basic IOS XE Components
2
3. IOS XE Technologies
3
Agenda
4. C9K IOS XE upto 17.6.1
4
5. C9K IOS XE after 17.7.1
5
6.
6 Summary & References
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Cisco Catalyst 9000 Switching Portfolio
Adding the “X factor” to the industry’s leading switching family
Catalyst
9600X
Catalyst
9500X
Catalyst Catalyst
Catalyst 9400X Catalyst 9500 Series
9300X
9000 Catalyst
9600 Series
Catalyst
Switching
Catalyst
9200CX Compact 9400 Series Platform
Catalyst
Catalyst 9300 Series
9200 Series
Cisco Open
ASIC IOS XE
#CiscoLiveAPJC BRKARC-2098 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Catalyst 9000 Series – Common Building Blocks
Silicon One™
Q200 © 2020
Same IOS XE image for both UADP* and Silicon One C9K platforms
* Catalyst 9200 Series uses IOS XE Lite #CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Multi-Core CPU – Built for App Hosting
Enterprise & IOT
D
Core Core Core Core
Cisco Application Framework (CAF)
D
R
P
C
M
i LXC KVM Docker Docker
D I s
M Shared L3 Cache e c
IOS
A Custo
I I m
O O App
Control
D Plane
D Core Core Core Core Kernel Kernel
R
IOS XE Kernel
x86
CPU
x86 CPU enables hosting NFV devices, Containers and 3rd-party Apps
* Catalyst 9200 Series uses an embedded ARMv8 CPU
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Cisco IOS XE – A Modern Operating System
Cisco IOS XE
Cisco IOS16
XE&17.x
Management Interfaces
Protected Memory
Q200 ©2020
Cisco Unified
Access
Cisco Silicon One™ Flexible Pipelines
Data-Plane Investment Protection
(UADP®)
Adaptable Tables
Universal Deployment
Scalable Resources
Enhanced Scale and Buffering
History of IOS XE
CiscoCisco
IOS XE
IOS16
XE&17.x
Management Interfaces
Protected Memory
1 2 3 4 5 6
BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Brief History of Cisco IOS NOTE: Timeline is just an approximation
NX-OS
2008
IOS-XR 2004
12.2SX 12.2SE
IOS 1986 12.2S
15.5SY
12.2SG 15.0SY
IOS 9.x 10.x… 11.x... 12.x
12.2SR
Operating System IOS 9.x – 12.x IOS XE IOS 15.x IOS XE IOS XE Open IOS XE
6.0 BinOS M&T Release NOVA Polaris 16.5.1
LAN Switching, 3.x 3.x 16.1
Remote Access, Catalyst 9K
WAN Switching Cat3850
Cisco’s ASR1K, ISR
Cisco was Shipped First Cat4500 Cat3850
born ASR1000
AGS Router
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Cisco IOS XE - Architecture Evolution
Same look and feel - more powerful architecture
Cisco IOS Cisco IOS XE 3.7.x(SE) Cisco IOS XE 16.x
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
What is “Open” Cisco IOS XE?
Cisco IOS Cisco IOS XE 3.x (SE) Open Cisco IOS XE 16.x
Common
Common Infrastructure/HA
infrastructure/HA Infrastructure/HA
Management Interface
interface Management Interface
Cisco
IOS XE DB
Module Drivers
drivers Module Drivers
Config and
Operational states
Kernel Kernel
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Open IOS XE – IOS Sub Systems
STP
IOS Sub Systems
OSPF
IOSd IOS Sub Systems BGP Failure of one
IOSd
Sub-Systems
MPLS IOS XE
etc
Sub-System(s) -
keeps rest of the
system intact
IOS XE DB
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Open IOS XE – Hardware DB
Better Convergence
Decoupling Code & Data
protects the Configuration
& Operational States
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Open IOS XE – Hardware DB
Link STP OSPF
Logs
State State State
Link MST
Logs
State State
IOS XE
DB
BGP Tunnel
State State
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Open IOS XE DB – Data Models
Link MST
Logs
State State
Data Models
BGP Tunnel
State State
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Cisco Catalyst 9000 Series IOS XE Software
Basic Components
Protected Memory
1 2 3 4 5 6
BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Cisco IOS XE Architecture
Modularized Components for Software Abstraction
System Admin Platform Mgr System Admin Stack Mgr System Admin
Infra Services FED / CPP Infrastructure Services CPA / CIA Infra Services
Linux Kernel
Interfaces & Transceivers Device Interconnect (Backplane) ASICs & FPGAs
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Cisco IOS XE Software
Forwarding Process Route Process Chassis Mgmt
(FP) Complex (RP) Complex I/O Complex
Infra Services FED / CPP Infrastructure Services CPA / CIA Infra Services
Linux Kernel
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Cisco IOS XE Architecture
Forwarding Process Route Process Chassis Mgmt
(FP) Complex (RP) Complex I/O Complex
System Admin Platform Mgr System Admin Stack Mgr System Admin
Infra Services FED / CPP Infrastructure Services CPA / CIA Infra Services
1 2 3 4
Control System Managemen
Data Plane t Plane
Plane Plane
5
Infrastructure Services
6
Linux Kernel & Platform Drivers
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Forwarding Process Route Process Chassis Mgmt
(FP) Complex (RP) Complex I/O Complex
Infra Services FED / CPP Infrastructure Services CPA / CIA Infra Services
Linux Kernel
1
Control System Managemen
Data Plane
Plane Plane t Plane
Infrastructure Services
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Forwarding Process Route Process Chassis Mgmt
(FP) Complex (RP) Complex I/O Complex
Infra Services FED / CPP Infrastructure Services CPA / CIA Infra Services
Linux Kernel
2
Control System Managemen
Data Plane
Plane Plane t Plane
Infrastructure Services
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Forwarding Process Route Process Chassis Mgmt
(FP) Complex (RP) Complex I/O Complex
Infra Services FED / CPP Infrastructure Services CPA / CIA Infra Services
Linux Kernel
3
Control System Managemen
Data Plane
Plane Plane t Plane
Infrastructure Services
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Forwarding Process Route Process Chassis Mgmt
(FP) Complex (RP) Complex I/O Complex
Infra Services FED / CPP Infrastructure Services CPA / CIA Infra Services
Linux Kernel
4
Control System Managemen
Data Plane
Plane Plane t Plane
5
Infrastructure Services
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Cisco IOS XE on Catalyst 9000 Series
Hardware Forwarding Architecture
FMAN-FP App(s)
IOSd
App Interface (shim)
FMAN-RP FED 2.0
ASIC Test
MPL
L2 L3 Security QoS SDA Netflow Framework
S
Doppler C Distributed
Datapath Debug
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
C9K IOS XE – System View
Fixed Modular
Platforms Platforms
IOSd CMAN-CC IOSd CMAN-CC
FMAN-RP FMAN-RP
CMAN-RP CMAN-RP
FMAN-FP FMAN-FP
IOMD LC #n
PHY
LC #1
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
C9K IOS XE – System View
StackWise &
SVL
IOSd IOSd
Active Standby
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Cisco Catalyst 9000 Series IOS XE Software
Features of IOS XE
CiscoCisco
IOS XE
IOS16
XE&17.x
• High Availability (SSO & StackWise) IOS Control Plane CAF / IOX
IOS Sub Docker C8Kv
Install Mode
IOS Sub
(SMU & ISSU/xFSU) IOSd Systems
•
IOS
Systems
sub-systems Docker Guest Shell
Management Interfaces
Protected Memory
1 2 3 4 5 6
BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Mission-Critical Resiliency
Your business stops if the network is down
Catalyst 9600 Series
(Dual chassis w/ StackWise Virtual)
Graceful Insertion/Removal (GIR) • Upgrade with minimal or no traffic loss Redundant Power & Fans
• No downtime when device in xFSU on C9300/L Stack New
• In case of any hardware failure
maintenance mode • < 30 sec downtime - Stack upgrade
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Cisco IOS XE High Availability
SSO sync
CP to DP programming
Control Plane to Data Plane Programming Packet Flows
H H
W W
AP AP
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Cisco IOS XE - Install Mode
Single CLI set for Software Install, Patch & Upgrade
# install add <tftp://cisco.com/image.bin>
# install activate
Workflow Steps:
Install Add command will perform the image download from Cisco CCO Posted location
Install Activate command upgrade the control plane with new software version
Install Commit command makes the changes permanent (and deletes the older version)
Install Abort you can issue an abort command to revert the software back to
the original state
Successful J
# install commit
Something Wrong L
# install abort
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
IOS XE Install – SMU patches
Ready for software patching
A Software Maintenance Update (SMU) is an emergency point fix positioned for expedited
delivery to a customer in case of a network down or revenue-affecting scenario.
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
In-Service Software Upgrade (ISSU)
Leverages SSO between IOS XE versions for seamless upgrade
1. ISSU started - image is expanded
on active and standby supervisors
If S2 fails to
become the
Upgrade
# install add V1 S1 Active standby, it will
start Abort revert back
V1 S2
V2 Standby timer starts to Step 1
5. ISSU
V2 S2 Active V1 V2 S2 Standby
complete
Abort timer
Abort timer expired
stopped
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
37
C9300/L- 17.3.2
#install add file image activate reloadfast commit #install add file image activate reloadfast commit
A
< 30 seconds
< 30
of traffic impact
seconds of S for all ports in
traffic the stack
impact
M
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Cisco IOS XE Programmability
Telemetry “Stack” developer.cisco.com/site/IOS
XE
Device Features
SNMP
Ports BGP QoS ACL …
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Cisco IOS XE - Management
Management Plane – High-Level Overview
Custom App Open
DNAC vManage
App
MDT
Automation Apps XML JSON TDL
Netconf GNMI CNDP
Yang Models
CLI or (OC, IETF, Native)
SNMP
NAM TDL Interface
Linux Kernel
Data Plane
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Cisco IOS XE Catalyst 9000
REST
REST
IOS CLI DNA
Center
Cisco Application Framework (CAF)
• Cisco will not support third-party apps or open-source apps, unless specifically called out
• Such apps, however, will be validated for compatibility on Catalyst 9000 switches
• DevNet ecosystem will indicate the partners who have worked on Catalyst 9000 switches
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Catalyst 9000 Series – App Hosting
Container Networking
C9K
Container 10.0.0.1 Container Container Container
eth0 eth1 eth0 eth0 eth0 eth1
172.19.0.24 10.0.0.2 10.0.0.3 10.0.0.6 10.0.0.5
Bridge Bridge
AppGigEthernet 1/0/1-2
IOS XE
Management
VRF
Layer 2
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Cisco Catalyst 9000 Series IOS XE Software
IOS XE up to 17.6.x
CiscoCisco
IOS XE
IOS16
XE&17.x
Management Interfaces
Protected Memory
1 2 3 4 5 6
BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Cisco Catalyst 9000 Switching Portfolio IOS XE
17.3.x - 17.6.x
One Family from Access to Core – Common Hardware & Software
Catalyst
9000 Catalyst
9600 Series
Switching Catalyst
9500 Series
Catalyst
Catalyst
9400 Series Platform
Catalyst 9300 Series
9200 Series
Cisco Open
ASIC IOS XE
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Cisco IOS XE - Release Schedule
3 Releases Annually (approx. every 4 months)
17.1.1
17.2.1
17.4.1
17.5.1
17.7.1
17.8.1
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Re
fe
re
nc
Catalyst 9000 Switching – Key Features
e
* Limited Availability (LA) only
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Re
fe
re
nc
Catalyst 9000 Switching – Key Features
e
* Limited Availability (LA) only
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Cisco Catalyst 9000 Series IOS XE Software
CiscoCisco
IOS XE
IOS16
XE&17.x
Management Interfaces
Protected Memory
1 2 3 4 5 6
BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Cisco Catalyst 9000 Switching Portfolio IOS XE
17.7.x - 17.9.x
One Family from Access to Core – Common Hardware & Software
Catalyst
9600X
Catalyst
9500X
Catalyst
Catalyst 9400X Catalyst
9300X
9000 Catalyst
9600 Series
Catalyst
Switching Catalyst
9500 Series
Catalyst
9200CX
Catalyst
9400 Series Platform
Catalyst 9300 Series
9200 Series
Cisco Open
ASIC IOS XE
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Re
fe
re
nc
Catalyst 9000 Switching – Key Features
e
* Limited Availability (LA) only
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
C9K NG IOS XE - Highlights
IOS XE Secure
Programmable • Secure Boot, Image Signing
Security (TAM) • SELinux, X.509
• Managed Through Models
• Programmable through YANG
Control/Management
Plane
FED3.0 – Model Driven
• Forwarding
Enable Controller Visibility
CPA – Single Source of Truth, CMAN FED 3.0 • Bring Polaris infrastructure to FED
• Bring FED closer for stateful restart
Abstraction
• CPA architecture for sharing common CPA SDK/NPL
software across multiple platforms
• Single Source of Truth - for various
devices and interconnects XE Kernel + BSP
Software Punt
Common BIOS • High Speed zero-copy punt to enable
Software sampled Apps (e.g. NetFlow)
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
C9K NG-XE Overview
Hardware Forwarding Architecture
IOS FMAN-FP App(s)
d
FMAN- App Interface (shim)
FED 3.0
RP ASIC Test
MPL
L2 L3 Security QoS SDA Netflow Framework
S
Datapath Debug
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
C9K Next-Gen IOS XE
Platform Infra Overview
Single
Common Single Common
Platform
BIOS for Source Platform
Function
Enterprise of Truth Abstraction
Block
Common BIOS Single Source of Truth Common Platform Platform Function Block
Abstraction • Common CMAN,
• Common BIOS • Partially-automated way
repository for all to transfer hardware • Model-driven Device APIs CMCC, EMD, IOMD
Enterprise platforms attributes to software consistent across Cisco • For Enterprise
• Standardized • Single place for all • Easier to adopt for platforms running
customizations engineers to go to subsequent platform (limit on IOS XE (Polaris)
changes to certain files)
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Cisco Catalyst 9000 Series IOS XE Software
Summary
CiscoCisco
IOS XE
IOS16
XE&17.x
Management Interfaces
Protected Memory
1 2 3 4 5 6
BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Why should you care?
Cisco IOS XE - Benefits for you
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Would You Like to Know More?
Cisco IOS-XE & Cisco DNA Resources
cisco.com/go/dna
cisco.com/go/iosxe cisco.com/go/smartlicensing cisco.com/go/dnacenter
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Would You Like to Know More?
Catalyst 9000X Series Collateral
• Cisco.com - Enterprise Networks - Switching • Catalyst 9300 Series Switches data sheet
• Catalyst 9000 Switches At-a-Glance • Catalyst 9400 Series Switches data sheet
• Catalyst 9000 Frequently Asked Questions • Catalyst 9500 Series Switches data sheet
• Catalyst 9600 Series Switches data sheet
• Catalyst 9300X Technical Blog (Community) • Under the Hood of the Catalyst 9000X (TFD)
• Catalyst 9400X Technical Blog (Community) • Network Insiders Podcast
• Catalyst 9500X Technical Blog (Community) • Meet the C9300X
• Catalyst 9600X Technical Blog (Community) • Meet the C9400X
• Meet the C9500X and C9600X
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Would You Like to Know More?
Catalyst 9000 Series Enterprise Switches
FREE
• cisco.com/go/cat9K
• Cisco Catalyst 9000 at-a-Glance
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Session Surveys
We would love to know your feedback on this session!
• Complete the session surveys in the Cisco Events mobile app. You'll
earn some points in the Cisco Live Game and potentially win a prize.
• Complete a minimum of four session and the overall event surveys
to claim a Cisco Live cable bag.
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Continue your education
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Pay for Learning with
#CiscoLiveAPJC BRKARC-2090 © 2022 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Thank you
#CiscoLiveAPJC
#CiscoLiveAPJC