Brkarc-3470
Brkarc-3470
Brkarc-3470
#CLUS
Session Abstract
This session presents an in-depth study of the architecture of the
latest generation of Nexus 7000 and Nexus 7700 data center
switches.
Topics include supervisors, fabrics, I/O modules, forwarding engines,
and physical design elements, as well as a discussion of key
hardware-enabled features that combine to implement high-
performance data center network services. Focus will be on the
Nexus 7700, especially on the new hardware additions.
#CLUS BRKARC-3470 © 2019 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, chassis, supervisor, fabric, and I/O
module design, key forwarding engine functions, and complete
packet flows
• This session will not examine NX-OS software architecture or other
Nexus platform architectures
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Cisco Webex Teams
Questions?
Use Cisco Webex Teams 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 Webex Teams or go directly to the team space
4 Enter messages/questions in the team space
#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Agenda
• Introduction to Nexus 7000 / Nexus 7700
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Hardware Forwarding
• Packet Walks
• Conclusion
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Introduction to Nexus 7000 / Nexus 7700 Platform
Data-center class Ethernet switches designed to deliver:
• High performance
Chassis
• High availability
• System scale Fabric
Modules
• Investment protection
• Feature-rich
• High density of 10G/40G/100G
Line
Supervisor Cards
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
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
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Nexus 7700 Series – Next Generation Modules
Supervisor
I/O Modules Fabric Modules
Modules
F4: Compatible with Supervisor 2E and Fabric 2 Modules | VDC Interoperability with F3 or M3 I/O Modules
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Agenda
• Introduction to Nexus 7000 / Nexus 7700
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Hardware Forwarding
• Packet Walks
• Conclusion
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Nexus 7700 Chassis Family NX-OS 6.2(2) and later
26RU
14RU
Front
Front
3RU
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Supervisor 3E Engine
SUP
SUP
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Supervisor 3E Engine Architecture
SUP
SUP
Dedicated
Switched
Arbitration
1GE EOBC Fabric ASIC Path
Dedicated Central
Arbitration Arbiter
Switched Path
EOBC VOQs
I/O Controller
Bootflash
SSD NVRAM
(eUSB)
10 Gbps
4 GB
Main CPU
240 GB
With FSA
DRAM
2.0 GHz 64 GB
Console Mgmt0 Mgmt1
8-Core
USB device port
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
M1 M2 LC
1G / 10G 10G / 40G / 100G
M3 delivers best of M-
and F-series capabilities
M-Series Modules
L2/L3/L4 with large forwarding tables and rich feature set
M3
F1 F2/F2E
10G
10G
F3
10G / 40G / 100G
F4 increases
F-Series Modules
High performance, low latency with streamlined feature set
F3 closes the
F/M feature gap!
F3
100G port density
F4
F2E 100G
10G
10G / 40G / 100G
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
19
LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Nexus 7700 F3 48-Port 1G/10G Module Architecture
LC
FSA Arbitration
CPU Aggregator
…
x6
1G switch
… Fabric ASIC Fabric ASIC
x6
to FSA
LC Inband
CPU
to ARB
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+)
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Nexus 7700 F3 24-Port 40G Module Architecture
LC
N77-F324FQ-25
EOBC To Fabric Modules To Central Arbiters
FSA Arbitration
CPU Aggregator
…
x 12
1G switch
… Fabric ASIC Fabric ASIC
x 12
to FSA
LC Inband
CPU
to ARB
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+)
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Nexus 7700 F3 12-Port 100G Module Architecture
LC
N77-F312CK-26
EOBC To Fabric Modules To Central Arbiters
FSA Arbitration
CPU Aggregator
…
x 12
1G switch
… Fabric ASIC Fabric ASIC
x 12
to FSA
LC Inband
CPU
to ARB
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)
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
LC
24 X 10G 24 X 10G
SOC 1 SOC 2
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+)
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
LC
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+)
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
LC
1 2 3 4 5 6 7 8 9 10 11 12
Front Panel Ports (QSFP28)
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
LC
FSA Arbitration
CPU Aggregator
x 10 …
Fabric ASIC Fabric ASIC
SOC 1 SOC 10 to SOC
to FSA
CPU
to ARB
3 X 100G 3 X 100G 3 X 100G 3 X 100G 3 X 100G 3 X 100G 3 X 100G 3 X 100G 3 X 100G 3 X 100G
SOC 1 SOC 2 SOC 3 SOC 4 SOC 5 SOC 6 SOC 7 SOC 8 SOC 9 SOC 10
1 3 4 6 7 9 10 12 13 15 16 18 19 21 22 24 25 27 28 30
2 5 8 11 14 17 20 23 26 29
Front Panel Ports (QSFP28)
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Introducing the F4 -Series into existing chassis
Lowest common denominator details
Fabric
VDC Type Layer 2 Layer 3 VXLAN MPLS OTV LISP Table Sizes
Path
✓ ✓ ✓ ✓ ✓ ✓ ✗
F4 F4
M3 + F4 ✓ ✓ ✓ ✓ ✓ ✓ ✗ F4 size
F3 + M3 + F4 ✓ ✓ ✓ ✓ ✓ ✓ ✗ F3 size
F3 + F4 ✓ ✓ ✓ ✓ ✓ ✓ ✗ F3 size
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Agenda
• Introduction to Nexus 7000 / Nexus 7700
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Hardware Forwarding
• Packet Walks
• Conclusion
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
FM
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Multistage Crossbar FM
FM
1.32T 2.64T
440G
220G
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
1100Gbps
1320Gbps
880Gbps
660Gbps
440Gbps
220Gbps Local Fabric
Fabric
1
Fabric
ASICs
per slot bandwidth #2
#1 (480G)
One fabric:
2
• Any port can pass traffic to any other port Fabric
ASICs
in VDC
Three fabrics: Fabric
Local Fabric 3
#2
#1 (960G) Fabric
• 480G F3/M3 10G module has maximum ASICs
bandwidth
4
Five fabrics: Fabric
ASICs
Fabric
• 960G F3/M3 40G module has maximum Local Fabric
#2
bandwidth #1 (1.2T) 5
Fabric
ASICs
Six fabrics:
• 1.2T F3/M3 100G module has maximum 6
Fabric
bandwidth ASICs
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
I/O Module Capacity – Nexus 7700 FM
Fabric 3 Modules
2.64Tbps
2.20Tbps
1.32Tbps
880Gbps
440Gbps
1.76Tbps Local Fabric
Fabric
1
Fabric
ASICs
per slot bandwidth #2
One fabric: #1 (2.4T)
2
• Any port can pass traffic to any Fabric
Fabric
Three fabrics: Local Fabric
#2 3
#1 (960G) Fabric
6
Fabric
ASICs
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
FM
F3/M3
Module Fabric Fabric
ASIC ASIC
1* 55G
fabric channel
Supervisor
Fabric ASIC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Agenda
• Introduction to Nexus 7000 / Nexus 7700
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Hardware Forwarding
• Packet Walks
• Conclusion
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Hardware Forwarding Process
• Ingress queuing and scheduling LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Ingress / Egress Queuing and Scheduling
• Nexus 7000 / Nexus 7700 use queuing policies and
network-QOS policies to define queuing and scheduling
behavior
• Default policies always in effect in absence of any user
configuration
• Queuing model varies by I/O module architecture
• F-series modules / M3 modules: pure ingress-buffered
architecture
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
F4 Decision Engine • Return final result
(destination + priority) to
Ingress Buffer
FIB
Layer 3 FIB Policing
• Egress ACL/QOS TCAM • Egress policing
classification
• Ingress policing
Ingress lookup
• Ingress ACL/QOS/SNF pipeline
classification
• Ingress MAC table lookups
L2 Lookup (pre-L3) • Port-channel hash result
L2 Lookup (post-L3)
MAC
Table Ingress lookup
pipeline
L2 Lookup (pre-L3)
PKT HDR
From Ingress M3 SOC
Port Logic
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
MAC Table Lookup F3 module used as example
Ingress frame
From Ingress Parser header
Extract VLAN and
MAC address HDR Decision Engine
(VLAN,MAC) pair fed
into two separate hash
functions
L2 Lookup
MAC Table
V100,MAC D
(2*16*2048 = 64K entries)
2048 rows
9 V10,MACV10,MAC
B A V30,MAC
V10,MAC
30 B C
10 V10,MAC B V10,MAC B
31
11 V10,MAC B To Ingress
Hash result #1 12 V68,MAC
V10,MAC B B V100,MAC D
V100,MAC
32
Lookup Pipeline
MATCH!
selects row on each 13 V10,MAC B
page of Bank 1 14 V10,MAC B V22,MAC E
15 V10,MAC B
16 V100,MAC D Hash result #2 V621,MAC F
selects row on each
page of Bank 2
#CLUS BRKARC-3470
BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
76
Layer 3 Hardware Forwarding
• Layer 3 forwarding driven by FIB table lookups
• Forwarding tables built by control plane on supervisor
engine
• OSPF, EIGRP, IS-IS, BGP, statics, etc.
• Tables downloaded to forwarding engine hardware for
data-plane forwarding
• FIB TCAM lookup based on longest-match destination
IP prefix lookup
• FIB match returns rewrite (next-hop) information in
adjacency table
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
IP FIB TCAM Lookup
Flow data from packet
header fed into load-
Generate lookup key based on sharing hash function
destination IP and compare to
From Ingress FIB TCAM entries
IP FIB Lookup
HDR
Lookup Pipeline Forwarding
Modulo of hash result
Engine
and # next-hops selects
10.1.1.10 SIP + DIP + exact ADJ entry
SPort + DPort
Ingress unicast IP 10.1.1.2 Adj Index, # next-hops Next-hop 1 (IF, MAC)
packet header Load-Sharing
10.1.1.3 Adj Index, # next-hops Hash Next-hop 2 (IF, MAC)
CL TCAM CL SRAM
Fields to match:
src IP | dst IP | protocol | src port | dst port
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
QOS Policy ACLs
Fields to match:
src IP | dst IP | protocol | src port | dst port
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
LC
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
Sup CPU transmits NDE
packets either via via mgmt0
NDE on F3/M3/F4 Modules mgmt0 or via Inband to
collector(s)
Supervisor Engine
Fabric Modules Sup
LC CPU builds NDE via Supervisor Inband CPU
packets (IP+UDP+NDE)
and sends them to Sup Fabric
via EOBC
EOBC
LC CPU builds DRAM DRAM DRAM
software Netflow FSA FSA FSA
cache based on NF Fabric NF Fabric NF Fabric
samples and Table CPU Table CPU Table CPU
periodically ages
out entries
Data-plane traffic
Module Module Module
traverses decision
Packets marked for Inband engine on each SOC Inband Inband
sampling copied to
LC inband Decision Engine Ingress Decision Engine Ingress Decision Engine Ingress
Buffer Buffer Buffer
Rate Limiting Rate Limiting Rate Limiting
Samples subjected
to HW rate limiter
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Agenda
• Introduction to Nexus 7000 / Nexus 7700
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Hardware Forwarding
• Packet Walks
• Conclusion
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
F3/M3/F4 System Architecture Supervisor Engine N7700 10G F3 module used as example
Central Arbiter
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5 Fabric Module 6
Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
Decision Engine
q1 MAC
q2 Table
q3 Layer 2 Lookups
q4 Layer 3 Lookups FIB
e2/9… Classification for TCAM
e1/25 ACL / QOS / SNF SP
CL DWRR
Virtual TCAM
Queuing e2/9
Ingress
Buffer Ingress Parser Egress Buffer
F3 SOC 1
F3 SOC 2
F3 SOC 3
F3 SOC 5
F3 SOC 6
F3 SOC 1
F3 SOC 3
F3 SOC 4
F3 SOC 5
F3 SOC 6
F3 SOC 4
F3 SOC 2
Port Logic Port Logic
Module 1 Module 2
e1/25 e2/9
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Return buffer credit
Transmit
Fabric Module 1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5 Fabric Module 6
to fabric
Request buffer Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC Fabric ASIC
credit for
destination port
+ priority
Req Credit
Receive
Decision Engine from fabric
q1 MAC
q2 Table
Dst+Pri
PKTq3 HDR Layer 2 Lookups Ingress/egress L2 and L3
q4 Layer 3 Lookups FIB lookups, ACL/QOS
e2/9… Classification for TCAM lookups, Netflow sampling
e1/25 ACL / QOS / SNF
Queue packet SP
descriptor in VOQ CL DWRR
(destination port + Virtual TCAM
Buffer on egress
priority) Queuing based on destination e2/9
Ingress Packet headers
port + priority VLAN
Buffer Ingress Parser
PKT HDR sent to DE Egress Buffer translation,
etc.
Payload queued in
ingress buffer based
F3 SOC 1
F3 SOC 2
F3 SOC 3
F3 SOC 5
F3 SOC 6
F3 SOC 1
F3 SOC 3
F3 SOC 4
F3 SOC 5
F3 SOC 6
F3 SOC 4
F3 SOC 2
Schedule for
on COS / DSCP CRC, storm Port Logic transmission
Port Logic
control, VLAN
translation, etc.
Ingress packet
Module 1 Receive packet parsing Module 2
from wire PKT HDR Transmit on
e1/25 wire e2/9
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Agenda
• Introduction to Nexus 7000 / Nexus 7700
• Chassis Architecture
• Supervisor Engine and I/O Module Architecture
• Fabric Architecture
• Hardware Forwarding
• Packet Walks
• Conclusion
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Conclusion
• You should now have a thorough understanding of the
Nexus 7000 / Nexus 7700 switching architecture –
including chassis, supervisors, I/O modules, and fabrics,
as well as forwarding lookups and complete system-level
packet flows…
• Any questions?
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Complete your
online session • Please complete your session survey
evaluation 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 water bottle.
• All surveys can be taken in the Cisco Live
Mobile App or by logging in to the Session
Catalog on ciscolive.cisco.com/us.
Cisco Live sessions will be available for viewing
on demand after the event at ciscolive.cisco.com.
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Continue your education
Demos in the
Walk-in labs
Cisco campus
#CLUS BRKARC-3470 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Thank you
#CLUS
#CLUS