BRKARC-3470 - Cisco Nexus 7K
BRKARC-3470 - Cisco Nexus 7K
BRKARC-3470 - Cisco Nexus 7K
Architecture
BRKARC-3470
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Session Goal
• To provide a thorough understanding of the Nexus 7000 / Nexus 7700 switching
architecture, supervisor, fabric, and I/O module design, packet flows, and key
forwarding engine functions
• This session will examine the Nexus 7700 system, as well as the latest additions
to the Nexus 7000
• This session will not examine NX-OS software architecture or other Nexus
platform architectures
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
What Is Nexus 7000?
Data-center class Ethernet switch designed to deliver high performance, high availability,
system scale, and investment protection
Nexus 7000 designed for general-purpose Data Center deployments, focused on 10G
density plus 40G/100G Supervisor Engines
I/O Modules
Chassis
Fabrics
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
What Is Nexus 7700?
Data-center class Ethernet switch designed to deliver high performance, high availability,
system scale, and investment protection
Nexus 7700 designed for SP and MSDC Data Center deployments, focused on high-
density 40G/100G
Supervisor Engine
I/O Modules
Chassis
Fabrics
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Nexus 7000 / Nexus 7700 – Common Foundation
Nexus 7000 Nexus 7700
General purpose DC switching w/10/40/100G Targeted at Dense 40G/100G deployments
Common Foundation
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Agenda
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Forwarding Engine Architecture
• I/O Module Queuing
• Layer 2 Packet Walk
• Layer 3 Packet Walk
• Conclusion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Nexus 7000 Chassis Family NX-OS 4.1(2) and later
Back
25RU
21RU Side Side
Front
14RU 7RU
Side Side Side
Nexus 7718
14RU
Front
9RU
Front
Front
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Cisco Nexus 7702
Launched here at Cisco Live! Milan
Deployment Flexibility
• Small to medium DCI solution
• Compact Service Chassis
• Comprehensive Layer 2 and Layer 3 feature set
* With breakout cables this linecard can offer up to 76p 10GE + 5p 40GE)
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Key Chassis Components
Nexus 7000 Nexus 7700
• Common components: • Common components:
– Supervisor engines – Supervisor engines
– I/O modules – I/O modules
– Power supplies (except 7004) – Power supplies
• Chassis-specific components: • Chassis-specific components:
– Fabric modules – Fabric modules
– Fan trays – Fan trays
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Supervisor Engine 2 / 2E
• Next generation supervisors providing control plane and management functions
Supervisor Engine 2 (Nexus 7000) Supervisor Engine 2E (Nexus 7000 / Nexus 7700)
Base performance High performance
One quad-core 2.1GHz CPU with 12GB DRAM Two quad-core 2.1GHz CPU with 32GB DRAM
N7K-SUP2/N7K-SUP2E
F2E 10G
F3 10G / 40G / 100G
F3 closes the
F/M feature gap!
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Nexus 7000 Module Evolution
FSA
VXLAN
F3(2013) Offload M2-XL(2012)
40G / 100G 240G/slot
1.2T/slot Segment-ID
MPLS
Large Tables
F2(2011) Sampled OTV Full
480G/slot
NetFlow NetFlow
Layer 2 Layer 3 EoMPLS/ Large
F1(2010) VPLS Buffers
230G/slot
FabricPath FEX
LISP
M1-XL(2008)
FCoE 80G/slot
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Supported in NX-OS release 6.1(1) and later
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Nexus 7000 M2 I/O Module Architecture
N7K-M224XP-23L / N7K-M206FQ-23L / N7K-M202CF-22L
EOBC To Fabric Modules To Central Arbiters
Replication Replication
Engine Engine
Replication Replication
Engine Engine
LinkSec + LinkSec +
12 X 10G MAC -or- 12 X 10G MAC -or-
3 X 40G MAC -or- 3 X 40G MAC -or-
1 X 100G MAC 1 X 100G MAC
Front Panel Ports
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
7000: Supported in NX-OS release 6.1(2) and later
7700: Supported in NX-OS release 6.2(2) and later
• LinkSec support
– Last 8 ports (SFP+)
– All 48 ports (Copper)
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Nexus 7000 F2E Module Architecture
N7K-F248XP-25E / N7K-F248XT-25E
To Fabric Modules To Central Arbiters
EOBC
LC Arbitration
CPU Aggregator …
Fabric 2
4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G
SoC SoC SoC SoC SoC SoC SoC SoC SoC SoC SoC SoC
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Nexus 7700 F2E Module Architecture
N77-F248XP-23E
To Fabric Modules To Fabric Modules To Central Arbiters
EOBC
LC Arbitration
CPU Aggregator …
Fabric 2 Fabric 2
4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G 4 X 10G
SoC SoC SoC SoC SoC SoC SoC SoC SoC SoC SoC SoC
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Nexus 7000 Series F3 Module Portfolio
Shipped
Oct ‘14
Nexus 7000 100G
Nexus 7700 100G
Shipped
Jan ‘14 F3 6-port 100G Module
N7K-F306CK-25
Nexus 7000 40G F3 12-port 100G Module
N77-F312CK-26
Nexus 7700 40G
New
Shipping
Jan ‘15
F3 12-port 40G Module
N7K-F312FQ-25
F3 24-port 40G Module
N77-F324FQ-25
Nexus 7000 10G Nexus 7700 10G
Shipped
Jan ‘14
F3 48-port 10G Module F3 48-port 10G Module
N77-F348XP-23
N7K-F348XP-25
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
F3 ASIC
The most comprehensive ASIC for the Data Center
• Classic Layer2 and Layer3
Innovation but also core functionalities
• FabricPath
Next-Gen Multi-Tenant Fabrics
• FCoE
Converged Network Infrastructure
F3 ASIC
• VXLAN
Next Generation hardware Overlay
Note: Not all the features are enabled in the current NX-OS Software
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Fabric Services Accelerator (FSA) on F3 modules
EOBC
• High-performance module CPU with on-board
acceleration engines
– 6Gbps inband connectivity from SOCs to FSA FSA CPU
– Multi-Mpps packet processing
– 2 X 2GB dedicated DRAM
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Nexus 7000 F3 48-Port 1G/10G Module Architecture
FSA Arbitration
CPU Aggregator
x6
1G switch Fabric ASIC
x6
…
… x6
LC Inband
to FSA
to ARB CPU
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
Front Panel Ports (SFP/SFP+) LinkSec-capable
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Nexus 7000 F3 40G and 100G Modules
• 12-port 40G QSFP+ module/
6-port 100G CPAK module
• 550G full-duplex fabric connectivity
• SoC forwarding engine design
– 6 independent SoC ASICs
• Layer 2/Layer 3 forwarding with L3/L4
services (ACL/QoS) and advanced N7K-F312FQ-25
features
• Fabric Services Accelerator (FSA) CPU
• 40G breakout cable support
• Requires Supervisor Engine 2 / 2E
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Nexus 7000 F3 12-Port 40G Module Architecture
FSA Arbitration
CPU Aggregator
x6
x6 …
1G switch
… x6
Fabric ASIC
LC Inband
to FSA
to ARB CPU
1 2 3 4 5 6 7 8 9 10 11 12
Front Panel Ports (QSFP+)
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Nexus 7000 F3 6-Port 100G Module Architecture
FSA Arbitration
CPU Aggregator
x6
x6 …
1G switch
… x6
Fabric ASIC
LC Inband
to FSA
to ARB CPU
1 2 3 4 5 6
Front Panel Ports (CPAK)
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Nexus 7700 F3 48-Port 1G/10G Module
• 48-port 1G/10G with SFP/SFP+ transceivers
• 480G full-duplex fabric connectivity
• SoC-based forwarding engine design
– 6 independent SoC ASICs
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Nexus 7700 F3 48-Port 1G/10G Module Architecture
FSA Arbitration
CPU Aggregator
x6
1G switch
x6
…
… x6
Fabric ASIC Fabric ASIC
LC Inband
to FSA
to ARB CPU
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48
Front Panel Ports (SFP/SFP+) LinkSec-capable
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Nexus 7700 F3 40G and 100G Modules
N77-F324FQ-25
• 24-port 40G QSFP+ module /
12-port 100G CPAK module
• 960G/1.2T full-duplex fabric connectivity
• SoC forwarding engine design
– 12 independent SoC ASICs
• Layer 2/Layer 3 forwarding with L3/L4 services
(ACL/QoS) and advanced features
• Fabric Services Accelerator (FSA) CPU
• 40G breakout cable support
N77-F312CK-26
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Nexus 7700 F3 24-Port 40G Module Architecture
FSA Arbitration
CPU Aggregator
x6
x 12 …
1G switch Fabric ASIC Fabric ASIC
… x 12
LC Inband
to FSA
to ARB CPU
2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G 2 X 40G
SoC 1 SoC 2 SoC 3 SoC 4 SoC 5 SoC 6 SoC 7 SoC 8 SoC 9 SoC 10 SoC 11 SoC 12
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Front Panel Ports (QSFP+)
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Nexus 7700 F3 12-Port 100G Module Architecture
FSA Arbitration
CPU Aggregator
x6
x 12 …
1G switch Fabric ASIC Fabric ASIC
… x 12
LC Inband
to FSA
to ARB CPU
1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G 1 X 100G
SoC 1 SoC 2 SoC 3 SoC 4 SoC 5 SoC 6 SoC 7 SoC 8 SoC 9 SoC 10 SoC 11 SoC 12
1 2 3 4 5 6 7 8 9 10 11 12
Front Panel Ports (CPAK)
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Agenda
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Forwarding Engine Architecture
• I/O Module Queuing
• Layer 2 Packet Walk
• Layer 3 Packet Walk
• Conclusion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Head of Line Blocking
What is the Problem?
Red Cars
blocked! No Congestion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 38 38
Head of Line Blocking
Solution – Create Separate Lanes but… Stadium
Full
Cars turned
back
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 39 39
Head of Line Blocking Stadium
Full
Supermarket
Not Full
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 40 40
Fabric, VOQ, and Arbitration
• Crossbar fabric = Highway
Provides dedicated, high-bandwidth interconnects between ingress and egress
I/O modules
• Virtual Output Queues (VOQs) = Separate Lanes for each Destination
Provide buffering and queuing for ingress-buffered switch architecture
• Central arbitration = Traffic police
Controls scheduling of traffic into fabric based on fairness, priority, and bandwidth
availability at egress ports
• Fabric, VOQ, and arbitration combine to provide all necessary infrastructure for
packet transport inside switch avoiding HOLB
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Crossbar Switch Fabric Modules
N77-C7718-FAB-2
• Provide interconnection of I/O modules N77-C7710-FAB-2
N77-C7706-FAB-2
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Multistage Crossbar
Nexus 7000 / Nexus 7700 implement 3-stage crossbar switch fabric
• Stages 1 and 3 on I/O modules
• Stage 2 on fabric modules 2nd stage Fabric Modules
Fabric Modules
Fabric Fabric Fabric Fabric Fabric Fabric
1 Fabric 2 Fabric 3 Fabric 4 Fabric 5 Fabric ASIC ASIC ASIC ASIC ASIC ASIC
Fabric Fabric Fabric Fabric Fabric Fabric
ASIC ASIC ASIC ASIC ASIC ASIC ASIC ASIC ASIC ASIC ASIC
1 2 3 4 5 6
550G 1.32T
110G
110G (2 x 55G)
(2 x 55G)
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
3rd stage
1st stage Ingress Egress Ingress Module Egress Module
1st stage
Module Module
3rd stage
Nexus 7000 Nexus 7700
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
I/O Module Capacity – Nexus 7000
Fabric 2 Modules
550Gbps
110Gbps
440Gbps
220Gbps
330Gbps Fabric 2
1
per slot bandwidth ASIC
One fabric: Local Fabric 2
(240G)
• Any port can pass traffic to any
2
other port in VDC Fabric 2
ASIC
Three fabrics:
• 240G M2 module has maximum Local Fabric 2 Fabric 2
3
bandwidth (480G) ASIC
Five fabrics:
4
• 480G F2E/F3 module has maximum Fabric 2
ASIC
bandwidth Local Fabric 2
(550G)
• 600G F3 module is slightly 5
Fabric 2
oversubscribed for fabric switched ASIC
traffic
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
What About Nexus 7004?
• Nexus 7004 has no fabric modules
• I/O modules have local fabric with 10 available fabric channels
– I/O modules connect “back-to-back” via 8 fabric channels
– Two fabric channels “borrowed” to connect supervisor engines
2 * 55G
fabric channels
M2/F2E/F3 M2/F2E/F3
Module 3 Fabric 2 Fabric 2 Module 4
ASIC ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
I/O Module Capacity – Nexus 7700
Fabric 2 Modules
1320Gbps
1100Gbps
880Gbps
660Gbps
440Gbps
220Gbps Local Fab2
Fab2 Fabric 2
ASICs
1
bandwidth
4
Five fabrics: Fabric 2
ASICs
Fab2
• 960G F3 40G module has maximum Local Fab2
#2
bandwidth #1 (1.2T) 5
Fabric 2
ASICs
Six fabrics:
• 1.2T F3 100G module has maximum 6
Fabric 2
bandwidth ASICs
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Agenda
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Forwarding Engine Architecture
• I/O Module Queuing
• Layer 2 Packet Walk
• Layer 3 Packet Walk
• Conclusion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
M-Series Forwarding Engine Hardware
• Two hardware forwarding engines integrated on every • MPLS/VPLS/EoMPLS
M2 I/O module
• OTV
• 120Mpps (60Mpps per forwarding engine) Layer 2
bridging with hardware MAC learning • RACL/VACL/PACL
• 120 Mpps (60Mpps per forwarding engine) Layer 3 • QoS remarking and policing policies
IPv4
• Policy-based routing (PBR)
• 60Mpps (30Mpps per forwarding engine) Layer 3 IPv6
unicast • Unicast RPF check and IP source guard
• Layer 3 IPv4 and IPv6 multicast support (SM, SSM, • IGMP snooping
Bidir)
• Ingress and egress NetFlow (full and sampled)
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
M-Series Forwarding Engine Architecture
FE Daughter Card
L3 Engine
FIB TCAM/
Layer 3 FIB
ADJ
NetFlow
Policing
Classification
CL TCAM
(ACL/QoS)
L2 Engine
MAC L2 Lookup (post-L3)
Table L2 Lookup (pre-L3)
NetFlow
Policing
Classification
CL TCAM
(ACL/QoS)
L2 Engine
MAC L2 Lookup (post-L3)
PKT
Table L2 LookupHDR
(pre-L3)
NetFlow
Classification
PKT
CL TCAM HDR
(ACL/QoS)
Ingress lookup pipeline
L2 Engine
MAC L2 Lookup (post-L3)
Table L2 Lookup (pre-L3)
Classification
CL TCAM
(ACL/QoS)
Ingress lookup pipeline
L2 Engine
MAC L2 Lookup (post-L3)
Table L2 Lookup (pre-L3)
NetFlow
FIB TCAM and adjacency table
lookups for Layer 3 forwarding
Ingress ACL/QoS classification Policing ECMP hashing
Multicast RPF check
Classification
CL TCAM
(ACL/QoS)
Ingress lookup pipeline
L2 Engine
MAC L2 Lookup (post-L3)
Table L2 Lookup (pre-L3)
NetFlow
FIB TCAM and adjacency table
lookups for Layer 3 forwarding
Ingress ACL/QoS classification PKT
Policing ECMP hashing
HDR
Multicast RPF check
Classification
CL TCAM
(ACL/QoS) Ingress policing
L2 Engine
MAC L2 Lookup (post-L3)
Table L2 Lookup (pre-L3)
NetFlow
FIB TCAM and adjacency table
lookups for Layer 3 forwarding
Ingress ACL/QoS classification Policing ECMP hashing
Multicast RPF check
Classification PKT Egress lookup
CL TCAM
(ACL/QoS) HDR pipeline Ingress policing
L2 Engine
MAC L2 Lookup (post-L3)
Table L2 Lookup (pre-L3)
L2 Engine
PKT
MAC L2 LookupHDR
(post-L3)
Table Egress MAC lookups
L2 Lookup (pre-L3)
Egress IGMP snooping
lookups
Ingress MAC table lookups Ingress Parser Final Results
Port-channel hash result
Ingress IGMP snooping
lookups
From I/O Module To I/O Module
BRKARC-3470
Replication Engines
© 2014 Cisco and/or its affiliates. All rights reserved.
Cisco Public
Replication Engines 56
M-Series Forwarding Engine Architecture
FE Daughter Card
L3 Engine
Egress NetFlow collection
FIB TCAM/
Layer 3 FIB
Ingress NetFlow collection ADJ
L2 Engine
MAC L2 Lookup (post-L3)
Table Egress MAC lookups
L2 Lookup (pre-L3)
Egress IGMP snooping
lookups
Ingress MAC table lookups Ingress Parser Final Results
Port-channel hash result
Ingress IGMP snooping
lookups
From I/O Module To
PKT I/O Module
BRKARC-3470
Replication Engines
© 2014 Cisco and/or its affiliates. All rights reserved.
Cisco Public
Replication
HDR Engines 57
F2E Forwarding Engine Hardware
• Each SoC forwarding engine services 4 front-panel • QoS remarking and policing policies
10G ports (12 SoCs per module)
• Policy-based routing (PBR)
• 60Mpps per SoC Layer 2 bridging with hardware MAC
learning • Unicast RPF check and IP source guard
* Roadmap item
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
F3 Forwarding Engine Hardware
• Each SoC forwarding engine services: • Policy-based routing (PBR)
– 8 front-panel 10G ports
• Unicast RPF check and IP source guard
– 2 front-panel 40G ports
– 1 front-panel 100G port • IGMP snooping
• 148Mpps per SoC Layer 2 bridging with hardware • Ingress/egress* sampled NetFlow
MAC learning
• FabricPath forwarding
• 148Mpps per forwarding engine Layer 3 IPv4/ IPv6
unicast • GRE Tunnels
• Layer 3 IPv4 and IPv6 multicast support (SM, SSM, • Overlay Transport Virtualization (OTV)
Bidir*)
• MPLS/VPLS/EoMPLS, LISP, VXLAN, FCoE*
• QOS remarking and policing
* Roadmap items
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
F3 Forwarding Engine
To/From Central
Arbiter
To Fabric From Fabric
F3 SoC
Decision Engine
Virtual
Queuing
L2 Lookup (post-L3)
L2 Lookup (pre-L3)
Front-panel
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
F3 Forwarding Engine
To/From Central
Arbiter
To Fabric From Fabric
F3 SoC
Decision Engine
Virtual
Queuing
L2 Lookup (post-L3)
L2 Lookup (pre-L3)
PKT
Ingress HDR
Parser Egress Parser
Front-panel
8 x 1/10G OR
2 x 40G OR
1 x 100G per ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
F3 Forwarding Engine
To/From Central
Arbiter
To Fabric From Fabric
F3 SoC
Decision Engine
Virtual
Queuing PKT
L2 Lookup (post-L3)
Ingress HDR
Parser Egress Parser
Front-panel
8 x 1/10G OR
2 x 40G OR
1 x 100G per ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
F3 Forwarding Engine
To/From Central Ingress and egress
Arbiter Forwarding forwarding decisions
To Fabric tables From Fabric
(L2/L3 lookups,
ACL/QoS, features etc.)
F3 SoC
Decision Engine
Virtual
Queuing PKT
L2 Lookup (post-L3)
Front-panel
8 x 1/10G OR
2 x 40G OR
1 x 100G per ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
F3 Forwarding Engine
To/From Central Ingress and egress
Arbiter Forwarding forwarding decisions
To Fabric tables From Fabric
(L2/L3 lookups,
ACL/QoS, features etc.)
F3 SoC
Decision Engine
Virtual
Queuing PKT
L2 Lookup (post-L3)
Front-panel
8 x 1/10G OR
2 x 40G OR
1 x 100G per ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
F3 Forwarding Engine
To/From Central Ingress and egress
Arbiter Forwarding forwarding decisions
To Fabric tables From Fabric
(L2/L3 lookups,
ACL/QoS, features etc.)
F3 SoC
Decision Engine
Virtual
Queuing PKT
HDR
L2 Lookup (post-L3)
Front-panel
8 x 1/10G OR
2 x 40G OR
1 x 100G per ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
F3 Forwarding Engine
To/From Central Ingress and egress
Arbiter Forwarding forwarding decisions
To Fabric tables From Fabric
(L2/L3 lookups,
ACL/QoS, features etc.)
F3 SoC
Decision Engine
VOQ Virtual
Queuing PKT HDR
HDR
L2 Lookup (post-L3)
Front-panel
8 x 1/10G OR
2 x 40G OR
1 x 100G per ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
F3 Forwarding Engine
To/From Central Ingress and egress
Arbiter Forwarding forwarding decisions
To Fabric
PKT HDR tables From Fabric
(L2/L3 lookups,
ACL/QoS, features etc.)
F3 SoC
Decision Engine
VOQ Virtual
Queuing
L2 Lookup (post-L3)
Front-panel
8 x 1/10G OR
2 x 40G OR
1 x 100G per ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Agenda
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Forwarding Engine Architecture
• I/O Module Queuing
• Layer 2 Packet Walk
• Layer 3 Packet Walk
• Conclusion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Buffering, Queuing, and Scheduling
• Buffering – storing packets in memory
– Needed to absorb bursts, manage congestion
• Nexus 7000 / Nexus 7700 use queuing policies and network-QoS policies to define
buffering, queuing, and scheduling behavior
• Default queuing and network-QoS policies always in effect in absence of any user
configuration
BRKDCT-3346
End-to-End QoS Implementation and Operation with Cisco Nexus
Thursday 1/29 9:00am to 11:00am
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
I/O Module Buffering Models
• Buffering model varies by I/O module family
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
M2 – Hybrid Ingress/Egress Buffered Supervisor Engine
10G M2 module used as example
Central Arbiter
Replication Engine 0 RE 1 RE 2 RE 3
Replication Engine 0 RE 1 RE 2 RE 3
Module 2
Module 1
Ports Ports
1/13 - 1/24 SP SP SP 2/13 - 2/24
DWRR DWRR DWRR
e1/1 … e1/12
e1/13-24
e2/1 … e2/12
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public e2/13-24 71
M2 – Hybrid Ingress/Egress Buffered Supervisor Engine
10G M2 module used as example
Central Arbiter
Module 2
Module 1
Ports Ports
1/13 - 1/24 SP SP SP 2/13 - 2/24
DWRR DWRR DWRR
e1/1 … e1/12
e1/13-24
e2/1 … e2/12
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public e2/13-24 72
M2 – Hybrid Ingress/Egress Buffered Supervisor Engine
10G M2 module used as example
Central Arbiter
FabricVOQ
ASIC
buffer Fabric ASIC
carved by 4 priority
source and levels
priority
SP SP Local Local Local Local Local Local
q1 q1 Ports Ports Ports VQIs VQIs VQIs
1/2 - 1/12 1/13 - 1/23 1/14 - 1/24 2/2 - 2/12 2/13 - 2/23 2/14 - 2/24
q2 q2 Even Odd Even SP DWRR SP DWRR Even Odd Even
e2/1… q3 q3
e2/1 – e2/11 Odd
VOQ 0 e1/1 - e1/11 Odd VOQ 1 VOQ 2 VOQ 3 VOQ 0 VOQ 1 VOQ 2 VOQ 3
Module 2
Module 1
Ports Ports
FABRIC-QOS POLICY 1/13 - 1/24 2/13 - 2/24
SP SP SP
DWRR DWRR DWRR
e1/1 … e1/12
e1/13-24
e2/1 … e2/12
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public e2/13-24 73
M2 – Hybrid Ingress/Egress Buffered Supervisor Engine
10G M2 module used as example
Central Arbiter
Module 2
Module 1
Ports Ports
1/13 - 1/24 SP SP SP 2/13 - 2/24
DWRR DWRR DWRR
e1/1 … e1/12
e1/13-24
e2/1 … e2/12
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public e2/13-24 74
Nexus 7700 10G F3 module used as example
Module 1 Module 2
Fabric ASIC Fabric ASIC
SP SP
Local Local q1 q1 Local Local Local Local
Ports Ports Ports Ports Ports VQIs
1/1 - 1/8 1/9 - 1/16
e2/1… q2 q2 1/25 - 1/32 1/33 - 1/40 1/41 - 1/48 SP DWRR SP DWRR 2/9 – 2/16
q3 q3 …
Virtual Queuing
e1/17 … e1/24 e2/1 e2/8
Egress Buffer
SOC 1
SOC 1
SOC 1
Ingress Buffer SOC 1
SOC 0 SOC 1 SOC 2 SOC 3 SOC 4 SOC 5 SOC 0 SOC 1
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Nexus 7700 10G F3 module used as example
SP SP
Local Local q1 q1 Local Local Local Local
Ports Ports Ports Ports Ports VQIs
1/1 - 1/8 1/9 - 1/16
e2/1… q2 q2 1/25 - 1/32 1/33 - 1/40 1/41 - 1/48 SP DWRR SP DWRR 2/9 – 2/16
q3 q3 …
Virtual Queuing
e1/17 … e1/24 e2/1 e2/8
Egress Buffer
SOC 1
SOC 1
SOC 1
Ingress Buffer SOC 1
SOC 0 SOC 1 SOC 2 SOC 3 SOC 4 SOC 5 SOC 0 SOC 1
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
FAQ: What Is a VQI?
• VQI = Virtual Queuing Index
• “A Destination Across the Fabric”
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
M2 Module 40G and 100G Flow Limits
Internal to Nexus 7000 System On the Wire (40G)
40G Port
Ingress Modules
Tx 1 5 1
Destination
1 packet
64/66B Encoding
Spines VQIs
Spines Tx 2 6 2
Spines
Spines
Fabrics n … 4 3 2 1
Tx 3 … 3
64 bits
Tx 4 4
10G 10G 40G 40G 100G
1 VQI 1 VQI 4 VQIs 4 VQIs 10 VQIs
66 bits
Egress Interfaces
• Each Virtual Queuing Index (VQI) sustains 10G • Packets split into 66-bit “code words”
traffic flow
• Four code words transmitted in parallel, one on each physical
• All packets in given 5-tuple flow hash to single VQI Tx fiber
• BRKARC-3470
Single-flow limit is 10G
© 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
• No per-flow limit imposed – splitting occurs at physical layer 78
F3 Module 40G and 100G Flow Limits
Internal to Nexus 7000 / 7700 System
Ingress Modules
Destination
Spines VQIs
Spines
Spines
Spines
Fabrics
Egress Interfaces
• Virtual Queuing Index (VQI) sustains 10G, 40G, or 100G traffic flow based on destination interface type
• No single-flow limit – full 40G/100G flow support
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Agenda
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Forwarding Engine Architecture
• I/O Module Queuing
• Layer 2 Packet Walk
• Layer 3 Packet Walk
• Conclusion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Hardware Layer 2 Forwarding Process
Layer 2 forwarding – traffic steering based on destination MAC address
• MAC table lookup drives Layer 2 forwarding
• Source MAC and destination MAC lookups performed for each frame, based on
{VLAN,MAC} pairs
• Source MAC lookup drives new learns and refreshes aging timers
• Destination MAC lookup dictates outgoing switchport
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
Forwarding Forwarding
Engine Engine
Replication Replication
Layer 2 Engine Layer 2 Engine
Engine Replication Engine Replication
Engine Engine
e1/1 e2/2
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
Forwarding Forwarding
Engine Engine
Replication Replication
Layer 2 Engine Layer 2 Engine
Engine Replication Engine Replication
Engine Engine
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
Forwarding Forwarding
Engine Engine
Replication Replication
Layer 2 Engine Layer 2 Engine
Engine Replication Engine Replication
Engine Engine
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
Forwarding Forwarding
Engine Engine
Replication Replication
Layer 2 Engine Layer 2 Engine
Engine Replication Engine Replication
Static or hash- Engine Engine
based RE uplink
selection
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
Forwarding Forwarding
Engine Engine
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Layer 3 VOQs
Port-channel hash
result Engine VOQs Engine VOQs
Submit packet
Replication headers for Replication
Layer 2 Engine lookup Layer 2 Engine
Engine Replication Engine Replication
Static or hash- Engine Engine
based RE uplink
selection
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
ACL/QoS/
NetFlow
lookups
Fabric 2 ASIC Fabric 2 ASIC
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Layer 3 VOQs
Port-channel hash
result Engine VOQs Engine VOQs
Submit packet
Replication headers for Replication
Layer 2 Engine lookup Layer 2 Engine
Engine Replication Engine Replication
Static or hash- Engine Engine
based RE uplink
selection
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
ACL/QoS/
NetFlow
lookups
Fabric 2 ASIC Fabric 2 ASIC
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Layer 3 VOQs
Port-channel hash
result Engine VOQs Engine VOQs
Submit packet
Return result – Replication Replication
headers for
destination +
hash result Layer 2 Engine lookup Layer 2 Engine
Engine Replication Engine Replication
Static or hash- Engine Engine
based RE uplink
selection
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
ACL/QoS/
NetFlow
lookups
Fabric 2 ASIC Fabric 2 ASIC
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Hash-based uplink Layer 3 VOQs
Port-channel hash and VQI selection
result Engine VOQs Engine VOQs
Submit packet
Return result – Replication Replication
headers for
destination +
hash result Layer 2 Engine lookup Layer 2 Engine
Engine Replication Engine Replication
Static or hash- Engine Engine
based RE uplink
selection
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
ACL/QoS/
NetFlow
lookups
Fabric 2 ASIC Fabric 2 ASIC
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Hash-based uplink Layer 3 VOQs
Port-channel hash and VQI selection
result Engine VOQs Engine VOQs
Submit packet
Return result – Replication Replication
headers for
destination +
hash result Layer 2 Engine lookup Layer 2 Engine
Engine Replication Engine Replication
Static or hash- Engine Engine
based RE uplink
selection
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
ACL/QoS/ Round-robin
NetFlow
lookups
Fabric 2 ASIC transmit to VQI Fabric 2 ASIC
Round-robin
transmit to fabric
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Hash-based uplink Layer 3 VOQs
Port-channel hash and VQI selection
result Engine VOQs Engine VOQs
Submit packet
Return result – Replication Replication
headers for
destination +
hash result Layer 2 Engine lookup Layer 2 Engine
Engine Replication Engine Replication
Static or hash- Engine Engine
based RE uplink
selection
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
ACL/QoS/ Round-robin
NetFlow
lookups
Fabric 2 ASIC transmit to VQI Fabric 2 ASIC
Round-robin
transmit to fabric
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Hash-based uplink Layer 3 VOQs
Port-channel hash and VQI selection
result Engine VOQs Engine VOQs
Submit packet
Return result – Replication Replication
headers for
destination +
Layer 2 Engine lookup Layer 2 Engine Static
hash result
downlink
Engine Replication Engine Replication selection
Static or hash- Engine Engine
based RE uplink
selection Egress
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec LinkSec
port QoS
encryption
Ingress port QoS
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Module 1 Module 2
ACL/QoS/ Round-robin
NetFlow
lookups
Fabric 2 ASIC transmit to VQI Fabric 2 ASIC
Round-robin
transmit to fabric
Forwarding Forwarding
Engine Engine
L2 SMAC/ DMAC
lookups Layer 3 VOQs Hash-based uplink Layer 3 VOQs
Port-channel hash and VQI selection
result Engine VOQs Engine VOQs
Submit packet
Return result – Replication Replication
headers for
destination +
Layer 2 Engine lookup Layer 2 Engine Static
hash result
downlink
Engine Replication Engine Replication selection
Static or hash- Engine Engine
based RE uplink
selection Egress
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec LinkSec
port QoS
encryption
Ingress port QoS
Receive Transmit
packet from e1/1 packet on e2/2
wire wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
VOQ DE VOQ
e1/1 e2/2
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
VOQ DE VOQ
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
Transmit
to fabric
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
Transmit
to fabric
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Agenda
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Forwarding Engine Architecture
• I/O Module Queuing
• Layer 2 Packet Walk
• Layer 3 Packet Walk
• Conclusion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Layer 3 Forwarding
• Nexus 7000 decouples control plane and data plane
• Forwarding tables built on control plane using routing protocols or static
configuration
–OSPF, EIGRP, IS-IS, RIP, BGP for dynamic routing
• Tables downloaded to forwarding engine hardware for data plane forwarding
–FIB TCAM contains IP prefixes
–Adjacency table contains next-hop information
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Hardware Layer 3 Forwarding Process
• FIB TCAM lookup based on longest-match destination prefix comparison
• FIB “hit” returns adjacency, adjacency contains rewrite information (next-hop)
• Pipelined forwarding engine architecture also performs ACL, QoS, and NetFlow
lookups, affecting final forwarding result
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
IP FIB TCAM Lookup
Generate TCAM lookup key
(destination IP address)
Ingress
Generate
unicast IP
Lookup Key
packet header
10.1.1.10 Compare
lookup key
Flow Forwarding Engine
Data
10.1.1.2 Index, # next-hops Next-hop 1 (IF, MAC)
Load-Sharing
10.1.1.3 Index, # next-hops Hash Next-hop 2 (IF, MAC)
10.1.1.4 Index, # next-hops
10.10.0.10 Index, # next-hops
Central Arbiter
Module 1 Module 2
Forwarding Forwarding
Engine Engine
Replication Replication
Layer 2 Engine Layer 2 Engine
Engine Replication Engine Replication
Static or Hash-based
Engine Engine
uplink selection
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Forwarding Forwarding
Engine Engine
L2 ingress and egress
SMAC/ DMAC lookups Layer 3 VOQs Layer 3 VOQs
Port-channel hash result
Engine VOQs Engine VOQs
Submit packet
Return result – Replication headers for Replication
destination + Layer 2 Engine lookup Layer 2 Engine
hash result
Engine Replication Engine Replication
Static or Hash-based
Engine Engine
uplink selection
Receive
packet from e1/1 e2/2
wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
HDR = Packet Headers DATA = Packet Data CTRL = Internal Signaling
Central Arbiter
Static or Hash-based
Engine Engine
uplink selection
Egress
10G/40G/100G MAC / LinkSec LinkSec decryption 10G/40G/100G MAC / LinkSec LinkSec
port QoS
encryption
Ingress port QoS
Receive Transmit
packet from e1/1 packet on e2/2
wire wire
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Layer 3 Forwarding – Module Interoperability Models
Two interoperability models for L3 forwarding:
• “Proxy Forwarding”
• “Ingress Forwarding” with Lowest Common Denominator
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Proxy Forwarding Model – Conceptual
• From F2E perspective, Router MAC reachable through giant port-channel
• All packets destined to Router MAC forwarded through fabric toward one
“member port” in that channel
10.1.20.100
vlan 20
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
Proxy Forwarding Model – Actual
M2 Replication e3/20
Engine e3/19
VOQs
Replication e3/14
Engine e3/13
FE
Fabric
FE FE
Fabric Fabric Replication e3/8
SoC Engine e3/7
e1/1 VOQs
10.1.10.100 Replication e3/2
vlan 10 Mod 1
F2E … Mod 3
Engine e3/1
Engine
10 router_mac → L3_lookup
e3/19
VOQs Routing:
Replication e3/14 DIP Next Hop
FE
Engine e3/13 10.1.20.100 → server_2_mac (v20)
Programming of all
Fabric M2 Replication e4/20 M2 forwarding engines
FE
Fabric Engine e4/19
SoC VOQs
e2/1 Fabric Replication e4/14
Modules Engine e4/13 interface vlan 10
10.1.20.100 F2E FE
ip address 10.1.10.1/24
vlan 20 Mod 2 Fabric !
FE interface vlan 20
Replication e4/8 ip address 10.1.20.1/24
Engine e4/7
VOQs
Replication e4/2
Engine e4/1
Mod 4
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Proxy Forwarding Model – Actual Can be up to 128
M2 VQIs
Engine
10 router_mac → L3_lookup
e3/19
VOQs Routing:
Replication e3/14 DIP Next Hop
FE
Engine e3/13 10.1.20.100 → server_2_mac (v20)
Programming of all
Fabric M2 Replication e4/20 M2 forwarding engines
FE
Fabric Engine e4/19
SoC VOQs
e2/1 Fabric Replication e4/14
Modules Engine e4/13 interface vlan 10
10.1.20.100 F2E FE
ip address 10.1.10.1/24
vlan 20 Mod 2 Fabric !
FE interface vlan 20
Replication e4/8 ip address 10.1.20.1/24
Engine e4/7
VOQs
Replication e4/2
Engine e4/1
Mod 4
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Proxy Forwarding Model – Actual Can be up to 128
M2 VQIs
Engine
10 router_mac → L3_lookup
e3/19
VOQs Routing:
Replication e3/14 DIP Next Hop
FE
Engine e3/13 10.1.20.100 → server_2_mac (v20)
Programming of all
Fabric M2 Replication e4/20 M2 forwarding engines
FE
Fabric Engine e4/19
SoC VOQs
e2/1 Fabric Replication e4/14
Modules Engine e4/13 interface vlan 10
10.1.20.100 F2E FE
ip address 10.1.10.1/24
vlan 20 Mod 2 Fabric !
FE interface vlan 20
Replication e4/8 ip address 10.1.20.1/24
Engine e4/7
VOQs
Replication e4/2
Engine e4/1
Mod 4
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
Proxy Forwarding Model – Actual Can be up to 128
M2 VQIs
Engine
10 router_mac → L3_lookup
e3/19
VOQs Routing:
Replication e3/14 DIP Next Hop
FE
Engine e3/13 10.1.20.100 → server_2_mac (v20)
Programming of all
Fabric M2 Replication e4/20 M2 forwarding engines
FE
Fabric Engine e4/19
SoC VOQs
e2/1 Fabric Replication e4/14
Modules Engine e4/13 interface vlan 10
10.1.20.100 F2E FE
ip address 10.1.10.1/24
vlan 20 Mod 2 Fabric !
FE interface vlan 20
Replication e4/8 ip address 10.1.20.1/24
Engine e4/7
VOQs
Replication e4/2
Engine e4/1
Mod 4
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
Proxy Forwarding Model – Actual Can be up to 128
M2 VQIs
Engine
10 router_mac → L3_lookup
e3/19
VOQs Routing:
Replication e3/14 DIP Next Hop
FE
Engine e3/13 10.1.20.100 → server_2_mac (v20)
Programming of all
Fabric M2 Replication e4/20 M2 forwarding engines
FE
Fabric Engine e4/19
SoC VOQs
e2/1 Fabric Replication e4/14
Modules Engine e4/13 interface vlan 10
10.1.20.100 F2E FE
ip address 10.1.10.1/24
vlan 20 Mod 2 Fabric !
FE interface vlan 20
Replication e4/8 ip address 10.1.20.1/24
Engine e4/7
VOQs
Replication e4/2
Engine e4/1
Mod 4
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
Ingress Forwarding with Lowest Common
Denominator Model
• F3 module interoperability always Ingress Forwarding – NO proxy forwarding
with F3
– The ingress module makes all the forwarding decisions
• Supported feature set based on Lowest Common Denominator
– Feature available if all modules support the feature Not all features
supported by
software today
Fabric
VDC Type Layer 2 Layer 3 vPC VXLAN FEX MPLS OTV LISP FCoE Table Sizes
Path
F3 ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ F3 size
M2 + F3 ✓ ✓ ✓ ✗ ✗ ✓ ✓ ✓ ✗ ✗ F3 size
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
Agenda
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Forwarding Engine Architecture
• I/O Module Queuing
• Layer 2 Packet Walk
• Layer 3 Packet Walk
• Conclusion
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public
Nexus 7000 / Nexus 7700 Architecture Summary
Supervisor Engines
I/O Modules
Chassis
Fabrics
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
Conclusion
• You should now have a thorough understanding of the
Nexus 7000 / Nexus 7700 switching architecture, I/O module
design, packet flows, and key forwarding engine functions…
• Any questions?
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
Call to Action
• Visit the World of Solutions for
– Datacenter Networking – See the new 7702 chassis
• Meet the Engineer
• Lunch time Table Topics
• DevNet zone related labs and sessions
• Recommended Reading: for reading material and further resources for this
session, please visit www.pearson-books.com/CLMilan2015
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 127 127
Complete Your Online Session Evaluation
• Please complete your online session
evaluations after each session.
Complete 4 session evaluations
& the Overall Conference Evaluation
(available from Thursday)
to receive your Cisco Live T-shirt.
BRKARC-3470 © 2014 Cisco and/or its affiliates. All rights reserved. Cisco Public 128 128