Professional Documents
Culture Documents
Architecture
Yongzhong Peng
Manager, Technical Marketing
SP Routing Infrastructure
BRKARC-2003
Cisco Webex Teams
Questions?
Use Cisco Webex Teams to chat
with the speaker after the session
How
1 Find this session in the Cisco Events Mobile App
2 Click “Join the Discussion”
3 Install Webex Teams or go directly to the team space
4 Enter messages/questions in the team space
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
ASR 9000 Products Introduction
Cisco ASR 9000 System Portfolio
Compact & Powerful High Density Service Edge
Flexible Service Edge
Access/Aggregation and Core
• Small footprint with full IOS-XR • Optimized for MSE with high M-D scale for • Scalable, ultra high density
for distributed environments medium to large sites service routers for large,
high-growth sites
One Platform, One OS, One Family
ASR 9922
nV Satellites
ASR 9000v2, NCS5000 ASR 9912
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
ASR 9000 Modular Systems
Generation 2
Generation 1
ASR 9006 ASR 9010 ASR 9904 ASR 9906 ASR 9910 ASR 9912 ASR 9922
• Up to 2T/slot • Up to 4T/slot
• A9K 5-Fabric Card Support • A9K 5-Fabric & A99 7-Fabric Card Support
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
ASR 9000 Hardware Components – Control Module
ASR 9922
RSP: Route Switch Processor
ASR 9910
ASR 9010
ASR 9912
ASR 9006
ASR 9904
ASR 9906
RP: Route Processor
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
RSP5/RP3 Front Panel Configuration
RSP5
RP3
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
ASR 9000 Hardware Components – Linecards
ASR 9922
ASR 9910
ASR 9010
ASR 9912
ASR 9006
ASR 9904
ASR 9906
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
ASR 9900 - Switch Fabric Cards
ASR 9906 ASR 9922
✓ Common for ASR 9912 and ASR 9922
✓ SFC-S for ASR 9910
✓ 7 Fabric Card Slots
✓ 5 Fabric Card Slots for ASR 9910 (2 on RSPs => total 7)
✓ Decoupled, multi-stage switch fabric hardware
ASR 9912
✓ True HW separation between control and data plane
✓ Add bandwidth per slot easily & independently
ASR 9910
SFC2/SFC-S SFC3
Fabric Capacity per 230G 600G
SFC
Fabric Capacity 1.38T N+1 3.6T N+1
Per Line Card Slot 1.61T N+0 4.2T N+0
Fabric Redundancy N+1 N+1
Integrated Fabric/RP/LC
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
4th Generation Hardware Commons PIDs
• ASR-9922 • ASR-9906
• A99-RP3-SE/TR • A9K-RSP5-SE/TR
• A99-SFC3 • A99-SFC3-T
• ASR-9922-FAN-V3
• ASR-9904 / ASR-9010 / ASR-9006
• ASR-9912 • A9K-RSP5-SE/TR
• A99-RP3-SE/TR
A99-SFC3
• A99-SFC3
• ASR-9910
A99-SFC3-S
• A9K-RSP5-SE/TR
• A99-SFC3-S
A99-SFC3-T
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Cisco ASR 9906 Overview
Feature Description
Total Capacity >32T
Capacity per
>4T
Slot
Slots 6 slots - 4 Line Cards and 2 RSPs
Rack size 14RU, front-to-back airflow. 2 Fan Trays
1 Power Tray
Power 4.4 KW DC supplies (max 4) 4 Line Card
6.0 KW AC supplies (max 3) Slots
Front-to-Back Airflow
Fan 2 RSPs
2 Fan Trays, FRU
RSPs Integrated Fabric, 1+1 Redundancy 5 Fabric
Cards
5 Fabric Cards + 2 RSP Integrated
Fabric
Fabric Cards 1 Power
Total 7 Fabric for 6+1 Redundancy
230G per FC2 or 600G per FC3 Tray
Tomahawk
LightSpeed
Line cards
LightSpeed Plus
Service Card: VSM with 32-bit XR
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
ASR 9000 Silicon Evolution
1st Gen
Trident
120G Trident Octopus Santa Cruz PowerPC
90nm,15 Gbps 130nm,60 Gbps 130nm,90 Gbps Dual Core,1.2 Ghz
2nd Gen
Typhoon
360G Typhoon Skytrain Sacramento PowerPC
55nm,60 Gbps 65nm,60 Gbps 65nm,220 Gbps Quad Core,1.5 Ghz
3rd Gen
Tomahawk
1.2T Tomahawk Tigershark SM15 X86
28nm,240 Gbps 28nm,200 Gbps 28nm,1.2 Tbps 6 Core, 2 Ghz
4th Gen
LightSpeed
3.2T LightSpeed SKB X86
16nm,400 Gbps 16nm,3.6 Tbps 8 Core, 2.2 Ghz
5th Gen
LightSpeed+
4T LightSpeed+ SKB
SKB X86
7nm,400 Gbps 16nm,3.6
16nm,3.6Tbps
Tbps 8 Core, 2.2 Ghz
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
ASR 9000 3rd Generation Line Card Overview
MPAs MPA
20x1GE 32x1GE
MPAs
2x10GE 1x100GE
4x10GE 2x100GE
1x40GE 20x10GE
2x40GE
MOD400/MOD200
9922
9912
16 x 100GE TR line card
9910
9906
9904
9010
16 x 100GE TR line card
9006
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
ASR 9000 5th Generation Line cards
A9K-8HG-FLEX-SE/TR line card
9922
9912
A9K-20HG-FLEX-SE/TR line card
9910
9906
9904
A99-32X100GE-X-SE/TR line card
9010
A9K-8HG-FLEX-SE/TR line card
9006
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
ASR 9000 5th Generation 3.2T Card
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
ASR 9000 5th Generation 2T Combo Card
5 Slices:
400G/200G/100G 1x 400G/200G/100G
Multi-rate Ports: multi-rate port
0/7/8/12/19 + 3x100G ports per Slice
400G Ready
• 10G/25G/40G/100G/200G/400G Support
Each Slice Independently Configured as:
• 1x400G
• 1x200G + 2x100G
• 4x100G
Each 100G Breakout into 4x25G or 4x10G
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
ASR 9000 5th Generation 800G Combo Card
400G/200G/100G
Multi-rate Ports: 2 Slices:
0/7 1x 400G/200G/100G
multi-rate port
+ 3x100G ports per Slice
• 400G &100G
• 400G, 200G & 100G
• 400G, 100G & 40G
• 400G, 100G, 25G & 10G
• 400G, 200G, 100G, 40G, 25G & 10G
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
ASR 9000
Hardware
Architecture
ASR 9000 System Architecture “At-a-Glance”
Control plane split among Network Processor
RSP/RP
RSP/RP and LC CPU
CPU
RSP FIA
CPU CPU
NP Bay
Network Processor CP
BITS/DTI
U
Switch SerDes
FIA Fabric XBAR
FIC
CPU
CPAK
CPAK
PHY
NP FIA FIA NP Bay
CPAK
CPAK
PHY
NP FIA
Switch
CPAK
Fabric Line Card
CPAK
PHY
NP FIA
CPAK
CPAK
PHY
NP FIA Fully Distributed Architecture for
High Performance and High Multi-
Data forwarding is fully Switch Fabric Dimensional Control Plane Scale
distributed across NPs
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
A99-32X100GE-X-SE/TR (7-fabric) LC Architecture
(in 9922, 9912, 9910 & 9906) 600G/fab x 7 fab
= 4.2T
8x Slices
QSFP28 0
CPU
Retimer
Retimer
PHY LightSpeedPlus NP0 FIA
Switch
Fabric 0 x8
QSFP28 4 Retimer (SKB)
Retimer
PHY LightSpeedPlus NP1 FIA
QSFP28 8 Retimer
Retimer
PHY LightSpeedPlus NP2 FIA
QSFP28 12 Retimer
Retimer PHY LightSpeedPlus NP3 FIA
QSFP28 16 Retimer
Retimer
PHY LightSpeedPlus NP4 FIA
Switch
QSFP28 20 Retimer
Fabric 1
Retimer
PHY LightSpeedPlus NP5 FIA (SKB)
QSFP28 24 Retimer
Retimer
PHY LightSpeedPlus NP6 FIA
QSFP28 28 Retimer
Retimer
PHY LightSpeedPlus NP7 FIA
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
A99-32X100GE-X-SE/TR LC Architecture
(in 9904) 1.8T/RSP x 2RSP
8x Slices = 3.6T
QSFP28 0
CPU
Retimer
Retimer
PHY LightSpeedPlus NP0 FIA
Switch
Fabric 0 x8
QSFP28 4 Retimer (SKB)
PHY LightSpeedPlus NP1 FIA x8
Retimer
x8
RSP0
QSFP28 8 Retimer x8
Retimer
PHY LightSpeedPlus NP2 FIA
x8
x8
QSFP28 12 Retimer
Retimer PHY LightSpeedPlus NP3 FIA
QSFP28 16 Retimer
Retimer
PHY LightSpeedPlus NP4 FIA
Switch x8
QSFP28 20 Retimer
Fabric 1 x8
Retimer
PHY LightSpeedPlus NP5 FIA (SKB)
x8
RSP1
x8
QSFP28 24 Retimer
Retimer
PHY LightSpeedPlus NP6 FIA x8
x8
QSFP28 28 Retimer
Retimer
PHY LightSpeedPlus NP7 FIA
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
A9K-20HG-FLEX-SE/TR (5-fabric) LC Architecture
(in 9922, 9912, 9910 & 9906)
600G/fab x 5 fab
5x Slices
CPU = 3.0T (actual)
QSFP-DD
QSFP28 PHY LightSpeedPlus NP0 FIA
QSFP28
QSFP28
QSFP-DD 2x8
QSFP28 PHY LightSpeedPlus NP1 FIA
QSFP28 Switch
QSFP28 2x8
Fabric 0
(SKB)
QSFP-DD 2x8
QSFP28 PHY LightSpeedPlus NP2 FIA
QSFP28
QSFP28 2x8
QSFP-DD 2x8
QSFP28 PHY LightSpeedPlus NP3 FIA
QSFP28
QSFP28
QSFP-DD
QSFP28 PHY LightSpeedPlus NP4 FIA
QSFP28
QSFP28
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
A9K-20HG-FLEX-SE/TR (5-fabric) LC Architecture
(in 9010 & 9006)
5x Slices
CPU
QSFP-DD
QSFP28 PHY LightSpeedPlus NP0 FIA 1.1T/RSP x 2RSP
QSFP28 = 2.2T (actual)
QSFP28
QSFP-DD
QSFP28 PHY LightSpeedPlus NP1 FIA x8
QSFP28 Switch x8
QSFP28 RSP0
Fabric 0 x8
(SKB)
QSFP-DD x8
QSFP28 PHY LightSpeedPlus NP2 FIA
QSFP28 x8
QSFP28
x8
RSP1
QSFP-DD x8
PHY LightSpeedPlus NP3 FIA x8
QSFP28
QSFP28
QSFP28
QSFP-DD
QSFP28 PHY LightSpeedPlus NP4 FIA
QSFP28
QSFP28
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
A9K-20HG-FLEX-SE/TR (5-fabric) LC Architecture
(in 9904)
5x Slices
CPU
QSFP-DD
QSFP28 PHY LightSpeedPlus NP0 FIA 1.4T/RSP x 2RSP
QSFP28 = 2.8T (actual)
QSFP28
QSFP-DD
PHY LightSpeedPlus NP1 FIA x8
QSFP28
QSFP28 Switch x8
QSFP28 x8 RSP0
Fabric 0
(SKB) x8
QSFP-DD x8
QSFP28 PHY LightSpeedPlus NP2 FIA
QSFP28 x8
QSFP28
x8
x8 RSP1
QSFP-DD x8
QSFP28 PHY LightSpeedPlus NP3 FIA x8
QSFP28
QSFP28
QSFP-DD
QSFP28 PHY LightSpeedPlus NP4 FIA
QSFP28
QSFP28
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
A9K-8HG-FLEX-SE/TR (5-fabric) LC Architecture
(in 9922, 9912, 9910 & 9906)
600G/fab x 5 fab
2x Slices
CPU = 3.0T (actual)
QSFP-DD 2x8
QSFP28 PHY LightSpeedPlus NP0 FIA
QSFP28 Switch
QSFP28 2x8
Fabric 0
(SKB)
2x8
2x8
QSFP-DD 2x8
QSFP28 PHY LightSpeedPlus NP1 FIA
QSFP28
QSFP28
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
A9K-8HG-FLEX-SE/TR (5-fabric) LC Architecture
(in 9010 & 9006)
2x Slices
CPU
1.1T/RSP x 2RSP
= 2.2T (actual)
QSFP-DD
QSFP28 PHY LightSpeedPlus NP0 FIA x8
QSFP28 Switch x8
QSFP28 RSP0
Fabric 0 x8
(SKB)
x8
x8
x8
RSP1
QSFP-DD x8
PHY LightSpeedPlus NP1 FIA x8
QSFP28
QSFP28
QSFP28
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
A9K-8HG-FLEX-SE/TR (5-fabric) LC Architecture
(in 9904)
2x Slices
CPU
1.4T/RSP x 2RSP
= 2.8T (actual)
QSFP-DD
PHY LightSpeedPlus NP0 FIA x8
QSFP28
QSFP28 Switch x8
QSFP28 x8 RSP0
Fabric 0
(SKB) x8
x8
x8
x8
x8 RSP1
QSFP-DD x8
QSFP28 PHY LightSpeedPlus NP1 FIA x8
QSFP28
QSFP28
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
ASR90xx – RSP5 and Mixed LC
Stage 1 Stage 2 Stage 3
Active-Active
Fabric
Fabric
Fabric
Arbiter
FIA
FIA FIA
FIA FIA
Fabric
RSP5
FIA
SM15
Tomahawk Line
LightSpeed Plus Card
Linecard
Fabric
Ingress Linecard Egress Linecard
LightSpeed Plus LC Fabric bandwidth: Arbiter
Tomahawk LC Fabric bandwidth:
dual RSP: 2.2T/slot
RSP5 Dual RSP: 860Gbps/slot
single RSP: 1.1T/slot
Single RSP: 430Gbps/slot
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
ASR9922/12 System – LightSpeed Plus &
Tomahawk
ARBITER
RP3
Tomahawk LCs interoperate at 3.2T LC at line-rate with
full throughput w/ fabric fabric redundancy
redundancy
A99-12X100GE
A99-8X100GE-SE/TR A99-32X100GE-X-SE/TR
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
ASR9910/06 System - LightSpeed Plus &
Tomahawk
RSP5
Tomahawk LCs interoperate at 3.2T LC at line-rate with
full throughput w/ fabric fabric redundancy
redundancy
RSP5
A99-12X100GE
A99-8X100GE-SE/TR A99-32X100GE-X-SE/TR
SFC3
1.5T with 7 Fabrics 4.2T w/ 7 Fabrics
1.29T w/ 6 Fabrics 3.6T w/ 6 Fabrics
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
ASR99xx Mix Mode
Tomahawk LC
215G
(5-fabric)
SM15 600G 3.2T LS+ LC
(7-fab)
FIA NP
LS+ LC
FIA NP
(5-fab) SFC3
SKB FIA NP
FIA NP
SM15
FIA NP
• Tomahawk and before: applied per interface
• LightSpeed Plus: applied per NPU. Interfaces FIA NP
on the same NP share the Bandwidth
Tomahawk1.2T LC
(7-fab)
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
How do you know Rate-Limiter Triggered?
Console Message:
LC/0/3/CPU0: pfm_node_lc[261]: %FABRIC-FIA-1-RATE_LIMITER_ON : Set|fialc[4795]|0x108a000|Insufficient fabric capacity for card types in use - FIA egress rate limiter applied
LC/0/5/CPU0:pfm_node_lc[207]: %FABRIC-FIA-1-RATE_LIMITER_ON : Set|fialc[4798]|0x108a000|Insufficient fabric capacity for card types in use - FIA egress rate limiter applied
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Slice Level Management
• CLI to shut down slice
• hw-module location ? slice ? power-savings
• Benefits:
• Ports on remaining slices are not affected
• Power Saving
• Switch Fabric Bandwidth Re-allocation
• Example: 32x100G LC mix with 5-fab cards
• Total switch fabric bandwidth = 5x600G =3T
• Rate-limiter triggered: 3000G/8 = 375G per NPU
• One Slice Shut: 3000G/7 > 400G per NPU, Linerate
Guaranteed
• Two Slice Shut: (3000G-600G)/6 = 400G per NPU.
N+1 Switch Fabric Redundancy
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Runs distributed control plane
Line Card Components protocols for increased scale
BFD, CFM, ARP
Main forwarding engine L2 and L3 lookups Receive FIB table from RP and
program hardware forwarding
Multicast replication toward Optics table
User level QoS and Security features CPU
NPU P1
PHY P1
FIA
P2
P3 Switch
TM
P2
P3
BE
Fabric
BE ASIC
STATS MEMORY
FIB MAC
LOOKUP Forwarding chip (multi core) FRAME MEMORY
MEMORY
- TCAM
• TR/SE
• Different TCAM/frame/stats memory size for different per-LC QoS, ACL, logical interface scale
• Same lookup memory for same system wide scale mixing different variation of LCs doesn’t impact
system wide scale
-TR: transport optimized, -SE: Service edge optimized
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Pop Quiz ????
• Yes
• No
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
ASR 9000 Distributed
Control Plane
IOS-XR 6.X: A New Software Infrastructure
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
IOS XR 32-Bit and 64-Bit Differences
RP
System
• No Virtualization Admin Linux Linux 64-bit IOS XR
Line Card
NCS 6000 Admin
Plane
Linux VM
• Virtualization: VM or Container
“Classic” IOS XR Linux-based Virtualized
• ASR9000 Running with VMs
IOS XR 64 Bit
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
ASR9000 Fully Distributed Control Plane
CPU
LPTS (local packet transport service):
control plane policing
RP
CPU Punt
CPU FPGA FIA
packet
PHY
NP
LPTS FIA
CPAK RP CPU: Routing, MPLS, IGMP, PIM,
CPAK HSRP/VRRP, etc
CPAK
PHY
NP FIA
Switch
CPAK
Fabric
LC CPU: ARP, ICMP, BFD, NetFlow,
PHY
NP FIA
CPAK OAM/CFM, L2 Protocols etc
CPAK
CPAK
PHY
NP FIA
NP Offloading: BFD
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
L3 Control Plane Architecture
ISIS/OSPF BGP
Static BGP OSPF
LDP RSVP-TE
Static ISIS EIGRP
LC
ARP/NDP
SW FIB HW FIB Adjacency
LC NP
AIB
AIB: Adjacency Information Base
RIB: Routing Information Base
LC CPU
FIB: Forwarding Information Base
LSD: Label Switch Database
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Distributed ARP Processing
Switch Fabric
Line card ARP LC
CPU
spio netio
Switch Fabric
SPP
Tsec Driver
Punt Switch
PHY
LPTS
NP FIA
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
MAC Learning and Sync
Hardware based MAC learning: ~4Mpps/NP
1 NP learn MAC address in hardware (around
4M pps)
RP
2 NP flood MAC notification (data plane) Punt
CPU
message to all other NPs in the system to FPGA FIA
sync up the MAC address system-wide. MAC
notification and MAC sync are all done in
hardware
Switch Fabric Switch Fabric
CPU LC1
LC2
CPU
Data 1NP 2
packet NP
FIA NP
FIA
NP
NP
2
Fabric ASIC
Switch
FIA NP
Fabric ASIC
Switch
NP
FIA
NP
NP
FIA
NP
NP FIA
NP
NP
FIA NP
NP FIA
NP
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Distributed Netflow Architecture
RP
Netflow Netflow show/clear
• Aggregate 200Kpps • Manage flow
netflow policer rate
Configure Command
table
• Evenly Divided among • Export flow
netflow-enabled NPs information
LC-CPU EXPORT
netIO
NPU:
• Traffic Filtering 1M Record Cache
• Traffic Sampling
• Extract flow
header
information
• LPTS Policer
LC
NPU NPU NPU NPU
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Pop Quiz ????
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
ASR 9000 Data Packet
Processing
Distributed Two-Stage Packet Processing
• Ingress lookup yields packet egress port and applies ingress features
CPU CPU
CPAK 0
1 CPAK 0
PHY NP FIA FIA NP PHY
CPAK 1
CPAK 1
CPAK 2
Switch CPAK 2
Fabric
PHY NP FIA FIA 2
NP PHY
CPAK 3 CPAK 3
Switch Switch
…
…
Fabric Fabric
CPAK 4 CPAK 4
FIA
(SM15) (SM15)
PHY NP FIA NP PHY
CPAK 5
CPAK 5 Up to
Up to
14x120G 14x120
CPAK 6 1 Switch G CPAK 6
PHY NP 2 FIA Fabric FIA NP PHY
CPAK 7 CPAK 7
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
ASR9000 Life of a Packet
2 4 • Buffering packet from 6 • Egress L2/L3 FIB lookup, 8
• Ingress L2/L3 FIB lookup, NP • MACSEC Emcryption
ACL/QoS lookup ACL/QoS lookup
• Requesting fabric credit • Egress PBR/ABR, ACL, uRPF • G.709/OTN/WAN-
• Ingress PBR/ABR, ACL, uRPF • Manage superframe PHY/LAN-PHY
• Ingress QoS: classification, • Egress QoS: classification,
and load-balancing marking, policing, shaping • Line Clocking
marking, policing packet across fabric
• Packet Punting • Incomplete Adj Packet
• Manage system VoQ Punting
• Ingress ECMP/LAG hashing
• Egress ECMP/LAG hashing
CPAK 0
1
2
4
FIA
CPAK 1
PHY NP
3 TM
FIA Switch
Fabric
Egress side of LC
1 3 5
7
• MACSEC Decryption • Ingress Queuing • Re-assembling packets • Egress Queuing
• G.709/OTN/WAN- Processing from superframe Processing
PHY/LAN-PHY • Bypassed in case no • Send packet to
• Line Clocking ingress queuing support corresponding NP
• Release buffer and
fabric credit
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
Switch Fabric Arbitration
5: credit return
Fabric
1: Fabric Request ASIC
Fabric
ASIC
Arbitration
Fabric ASIC Fabric ASIC
and VOQ SFC or RSP0 2: Arbitration and VOQ
Fabric
ASIC
3: Fabric Grant
Fabric
ASIC
Arbitration
4: load-balanced
SFC or RSP1
transmission
across fabric links
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Fabric Load Balancing – Unicast
Fabric
ASIC
Fabric
ASIC
Arbitration Fabric ASIC
Fabric ASIC
and VOQ SFC or RSP0 and VOQ 4 3 2 1
Fabric
ASIC
Fabric
ASIC
Arbitration
SFC or RSP1
• Unicast traffic sent across first available fabric link to destination (maximizes efficiency)
• Each frame (or super frame) contains sequencing information
• All destination fabric ASIC have re-sequencing logic
• Additional re-sequencing latency is measured in nanoseconds
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Distributed Multi-Stage Multicast Replication
7. MGID lookup for NPU to 4. 22-bit FGID for slot bitmask
egress OIF interface based unique fabric LC 6. MGID in FIA DI table lookup
replication replications and FPOE lookup 5. MGID lookup into FPOE table for unique NPU replication
(256k entries) for unique FIA Flow based load balance
replications
7 SFP+
6 SFP+
FIA NP SFP+
SFP+
SFP+
SFP+
SFP+
CPAK 0 5 FIA NP SFP+
SFP+
SFP+
7 6FIA
PHY NP Fabric 6 7 SFP+
CPAK 1 SM15 FIA NP SFP+
SFP+
SFP+
SFP+
SFP+
CPAK 2 7
5
4
FIA NP SFP+
SFP+
SFP+
NP 6FIA SFP+
PHY RSP5 Tomahawk Line Card
CPAK 3
Switch SFP+
Fabric SFP+
CPAK 4 (SM15) FIA NP SFP+
SFP+
SFP+
PHY NP FIA SFP+
CPAK 5 3 FIA NP
SFP+
SFP+
SFP+
SFP+
Fabric SFP+
CPAK 6 2 SM15 FIA NP SFP+
SFP+
SFP+
PHY NP 1 FIA SFP+
SFP+
CPAK 7 RSP5 FIA NP SFP+
SFP+
SFP+
SFP+
Tomahawk Line Card
1. 512k MGID/FGID lookup
Flow based (RBH key calc) 2 & 3. Flow based (using RBH)
multi link load balance multi link load balance
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Fabric Load Balancing – Multicast
Fabric
ASIC
Fabric
ASIC
Fabric
Flows exit in-order
ASIC
Fabric
ASIC
Arbitration
SFC or RSP1
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
58
ASR 9000 QoS Architecture
& TCAM usage
ASR9000 Priority-Based QoS Architecture
• Dedicated Traffic Manager(TM) for Traffic Queuing
• User Configurable QoS Policy on Ingress/Egress NP
• End-to-End priority propagation → Guarantee bandwidth, low latency for high priority traffic
• Unicast VOQ and back pressure
CPU CPU 4
P1
P2
NP0 PHY
P3
BE 3 P1
P1 P2
P3 NP1 PHY
2
P2
CPAK 0 TM P3
BE FIA BE
CPAK 1
PHY NP FIA Switch NP2 PHY
1 Fabric P1
NP3
TM
P2
P3 PHY
BE
2 3
1 4
• Ingress (sub-)interface • 4xVOQ per VQI 4x Egress Destination Qs per VQI,
QoS Queues aggregated at egress port rate
Egress (sub-)interface
• Up to 8K VOQs per TSK FIA (vs
• User Configurable 4k per SKT FIA) QoS Queues
Ingress QoS Policy User-configuration
with Egress MQC
User-configuration Implicit Configuration
with Ingress MQC Not User-controllable
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Default Implicit Trust Model L2 IF: trust outer Cos
L3 IF: trust DSCP
L3 MPLS: trust outer EXP
IPP=5 DSCP=44
802.1p = 1 L2 Bridging internal
IPP=5 DSCP=44 cos = 1 802.1p = 1 *
IPP=5 DSCP=44
IPP=5 DSCP=44
Untagged L2 Bridging
internal 802.1p = 0 *
IPP=5 DSCP=44 IPP=5 DSCP=44
cos = 0
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
H-QoS – Supported Classification/Policy
Policy-map hierarchy level Classification support Policy Support
• Shape Average
• Bandwidth remaining
Grand-parent Only class-default
• 1R2C policer with only drop/transimit
action(no set/mark)
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Default Interface Queues
P1 P2 P3 L
Level 4 Queues
Level 3 Schedulers
Level 2 Schedulers
Level 1 Schedulers
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
MQC Hierarchy in Queuing ASIC
Port default queues MQC queues
policy-map child
P1 P2 P3 L c1 c2 cd-c class c1
priority level 1
police rate 640 kbps
class c2
bandwidth 20 mbps
class class-default cd-c
bandwidth 1 mbps
L4 !
policy-map parent
class class-default cd-p
shape average 35 mbps
service-policy child
L3 cd-p !
interface GigabitEthernet0/0/0/0
service-policy output parent
L2
Inactive entity
Active entity
L1
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
65
MQC Hierarchy in Queuing ASIC
policy-map child
Port default queues G0/0/0/0.1 G0/0/0/0.2 class c1
P1 P2 P3 L c1 c2 cd-c c1 c2 cd-c priority level 1
police rate 640 kbps
class c2
bandwidth 20 mbps
class class-default cd-c
bandwidth 1 mbps
!
policy-map parent
L4 class class-default cd-p
shape average 35 mbps
service-policy child
!
L3 cd-p cd-p interface GigabitEthernet0/0/0/0.1
service-policy output parent
!
interface GigabitEthernet0/0/0/0.2
service-policy output parent
L2
Inactive entity
L1 Active entity
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
TCAM Used for Traffic Classification
TCAM
Ingress linecard
From wire I/F ACL QOS Fwd
classification classification classification lookup
QoS ACL IFIB
IFIB action L2 rewrite
action action lookup
egress linecard
ACL QOS ACL Fwd
L2 rewrite
action classification classification lookup
QoS To wire TCAM
action
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
4th/5th Generation LC TCAM Bank Sets
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
3rd and 4th Generation LC TCAM Partitions
TCAM Regions 3rd Generation LC 4th Generation LC
L2 Partition Physical Ports, Bundles Reserved Partition for each N/A, L2 interface
type classification does not
Encap Default
require TCAM resource
Encap Untagged, Encap
Any
Single VLAN, PWHE
Double VLAN, BVI
ODS2 (160 bit ODS2 iFIB Reserved Partition for iFIB N/A, LPTS does not require
entries) (IPv4 LPTS) TCAM resource
Common Reserved Partition for all Reserved Partition for all
ODS2 features ODS2 features
ODS8(640 bit ODS8 iFIB Reserved Partition for iFIB N/A, LPTS does not require
entries) (IPv6 LPTS) TCAM resource
Common Reserved Partition for all Reserved Partition for all
ODS8 features ODS8 features
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
4th Generation LC TCAM Feature Lookup Region
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
TCAM Partition Example –3rd Generation LC
Note: “show controllers rm tcam summary all all np X location X/X/X” for 4th Generation LC
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
TCAM Partition Example – 4th Generation LC
160-ING Region
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
TCAM Partition Example – 4th Generation LC
160-ING Region
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
5th Gen LC Default Dynamic TCAM Carving
Static Carving
160-ING 160-EGR
Customer
Customer
Customer
Customer • LSP -SE by default with dynamic 64K TCAM allocation
Service Service
➢ TCAM usage on-demand, TCAM allocation at minimum block size 4K
➢ TCAM has no ingress/egress, or IPv4/IPv6 boundary at LC bootup
640-ING 640-EGR
Customer Customer
➢ LC reload required when switching to static carving
Customer Customer
Service Service
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
TCAM Usage Summary
• BGP FlowSpec (both v4 and v6): 640bits(80Bs) Partition. Ingress Direction Only
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Pop Quiz ????
For an incoming untagged layer 2 frame, what is the priority value used
when the frame is processed inside ASR9000?
• 2
• COS bit
• 802.1p Value
• 0
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Pop Quiz ????
As we discussed, most of IPv4 related features use ODS2 partition and most of
IPv6 related features use ODS8 partition. When BGP flowspec is configured for
IPv4 traffic and rules has been pushed, in which TCAM region are the rules
programed?
• L2 Partition
• ODS8 Common
• ODS2 Common
• ODS2 iFIB
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Conclusion
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Complete your
online session
survey • Please complete your session survey
after each session. Your feedback
is very important.
• Complete a minimum of 4 session
surveys and the Overall Conference
survey (starting on Thursday) to
receive your Cisco Live t-shirt.
• All surveys can be taken in the Cisco Events
Mobile App or by logging in to the Content
Catalog on ciscolive.com/emea.
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Continue your education
Demos in the
Walk-in labs
Cisco campus
BRKARC-2003 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Thank you