Brkarc 3000

Download as pdf or txt
Download as pdf or txt
You are on page 1of 242

#CLUS

NCS5500
Deepdive in the Merchant Silicon
High-end SP Routers
Nicolas FEVRIER
@CiscoIOSXR
BRKARC-3000

#CLUS
What We Hope To Achieve With This Session
• For a first approach
• Getting familiar with the NCS5500 portfolio
• Understand the implementation differences compared to
traditional XR products (Buffering, Resource Management, …)
• For the experienced
• Introducing the new platforms
• Digging deeper in the architecture

• Some tips
• For Reference

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
• Products Portfolio
• Fixed / Modular Platforms / Optics
• VOQ/FMQ and Life of a Packet
• Memory Structure
• Features: ACL / QoS
• Gotchas

#CLUS BRKARC-3000 © 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

Webex Teams will be moderated cs.co/ciscolivebot#BRKARC-3000


by the speaker until June 16, 2019.
@CiscoIOSXR

#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Introduction
IOS XR Routing Products

vRR/vPE
Universal Virtual Forwarder

Cisco NCS5500, NCS500


Cisco ASR9000, CRS & NCS6000 Cisco IOS-XRv9000 and NCS5000

Custom Virtual Merchant

Cisco XR Software

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Network Convergence System
Vast Product Line
Platform / Series
NCS 520
NCS 540
NCS 560
NCS 1000
NCS 2000
NCS 4000
NCS 4200
NCS 5000
NCS 5500
NCS 6000

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
NCS…
At a Glance
Platform / Series Role
NCS 520 Ethernet Access Device (IOS XE)
NCS 540 Access Router
NCS 560 Aggregation Router
NCS 1000 DCI / IP-DWDM
NCS 2000
Packet Optical
NCS 4000
DWDM / TDM to IP / CEM
NCS 4200
NCS 5000 Top of Rack Router
NCS 5500 Core, Edge, Agg, Peering Router
NCS 6000 Core Router

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
NCS5500 and NCS5000
Two Very Different Platforms
• Both based on Merchant Silicon forwarding ASICs and running IOS XR 64-bit
• Still they are very different in nature and in position in networks
• NCS5500
• High scale routing and features
• Exists in Fixed and Modular form factors (Fabric Engine)
• Hybrid Architecture with Deep Buffers

• NCS5000
• Lower scale and small buffers
• No Chassis with Fabric Engine
• Cost optimized
• Can be used as a nV Satellite for ASR9000 and NCS6000

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
NCS5500 and NCS500
Much Closer Platforms
• Both based on same Merchant Silicon ASIC family (DNX)

• A lot of commonalities in the architecture and feature support


• Some difference in scale and features related to specific additional
hardware parts
• NCS540
• based on Qumran-AX (lower scale)
• NCS560
• Based on Qumran-MX with OP eTCAM (2nd Generation eTCAM)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
But What is Merchant?
Really…
Components
Merchant/Commodity, Proprietary, Custom
• Merchant
• Not designed by a system vendor
• Available on the open market to any system vendor or network operator

• Proprietary
• Designed or acquired by a router vendor
• Not available to others

• Custom
• Designed in concert with a specific router in mind
• Usually proprietary but may be merchant with extensions

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Custom and Merchant
Cisco Platforms Internal Components

NCS6000

CRS NCS5500

NCS5000 ASR9000
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
NCS5500
Portfolio
NCS5500 Products Family
• 13x Fixed Routers • 3x Modular Routers • 11x Line Cards
• NCS-5501(-SE) • NCS-5504 • NC55-36X100G
• NCS-5502(-SE) • NCS-5508 • NC55-36X100G-S
• NCS-55A1-24H • NCS-5516 • NC55-24X100G-SE
• NCS-55A1-36H(-SE)-S • NC55-18H18F
• NCS-55A2-MOD(-SE) • NC55-24H12F-SE
• NCS-55A2-MOD-HD(-SE) • NC55-6x200-DWDM-S
• NCS-55A1-48Q6H • NC55-36X100G-A-SE
• NCS-55A1-24Q6H-S • NC55-MOD-A(-SE)-S
• NC55-24D
• NC55-18D12TH-SE

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
NCS5500 Products Family External TCAM
Base and Scale Concept
• Both exist for modular and fixed systems
Buffers

• Base QSFP28
QSFP28
• On-chip FIB and small TCAM TCAM Buffers
QSFP28 Forwarding
QSFP28 ASIC
for ACLs / QoS QSFP28 QSFP28
QSFP28 QSFP28
• Scale (-SE) have increased FIB and ACL QSFP28 Forwarding
ASIC
QSFP28 Optics x 6 FA
• off-chip TCAM QSFP28
QSFP28 Optics x 6 FA

• External TCAM is a shared resource Optics x 6 FA Optics x 6 FA

• IPv4 & IPv6 route scale Optics x 6 FA Optics x 6 FA

• Ingress ACL / QoS matching scale Optics x 6 FA Optics x 6 FA

DRAM CPU DRAM CPU

Scale System / LC Base System / LC


#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Base / Scale
So, it’s like –TR/-SE on ASR9000?
• Yes and No
• On both platforms: –SE will support more features with higher scale
• But scale will be different
• ASR9000: different QoS capability (because higher classifier scale)
• NCS5500: different FIB scale (because TCAM is used to store routing
information, not only classifiers)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
NCS5500
Basics Concepts
on NPU
Simplification is Key
Fewer Components: Cost Optimization and Lower Power Consumption

Optics PSE IngressQ Optics


CRS-3/X + OTN Fabric ASIC Inbar PSE + OTN

PLA
PHY EgressQ PSE FabricQ
PHY

PLIM MSC-140 Slice Fabric Card MSC-X Slice PLIM

Fabric Fabric
ASR9900 Optics NPU FIA
ASIC
Fabric ASIC
ASIC
FIA NPU Optics

Line Card / Slice Line Card / Slice

NCS-5502
Forwarding Forwarding
NCS-55A1-36H Optics
ASIC
Fabric ASIC
ASIC
Optics

NCS-5504/8/16
Line Card / Slice Line Card / Slice

NCS-5501 Forwarding
NCS-55A2-MOD Optics
ASIC
Optics

NCS55A1-24Q6H

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
DNX Forwarding ASIC
• Broadcom StrataDNX Family
• From 2009 Dune Networks acquisition
• Standalone (SOC) or leaf-spine ASIC / Fabric Engine

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
DNX Forwarding ASIC in NCS5500
Standalone

Network
Interfaces

TCAM

Resources
Off-chip
On-chip Buffer Output Buffer
Buffers

TCAM

Ingress Egress

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
DNX Forwarding ASIC in NCS5500
Leaf-spine ASIC / Fabric Engine
Network
Interfaces

TCAM

Resources
Off-chip
On-chip Buffer Output Buffer
Buffers
Forwarding ASIC
TCAM

Ingress Egress

Fabric SERDES

Fabric Engine
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
DNX Forwarding ASIC in NCS5500
Back to Back

Network Network
Interfaces Interfaces

TCAM TCAM
Resources

Resources
Off-chip Off-chip
On-chip Buffer Output Buffer On-chip Buffer Output Buffer
Buffers Buffers

TCAM TCAM

Ingress Egress Ingress Egress

Fabric SERDES

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
ASIC Architecture
RTC Scheduler or Pipeline?
• Run to Completion: many cores, each does everything for a packet
• Pipeline: many stages/block, each has a specialized role (NCS5500)

LPM LEM TCAM STAT FEC


DRAM

IRPP ITM ITPP

Network Interface

Fabric Interface
1 2 3 4 5 6 7 8 9

NCS5500 Series

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
NCS5500 Forwarding ASIC
Internal Components
• Integrated Forwarding and Fabric Interface Network Interface

• 1 or 2 cores TCAM PP TM PP TM

Off-chip
Buffers
• Separate ingress and egress Pipelines TCAM PP TM PP TM

• PP: Packet Processor Ingress Egress


Fabric Interface
• Lookup, features, …
• TM: Traffic Manager
• QoS: WRED, hierarchical scheduling, shaping, policing

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
NCS5500 Forwarding ASIC
Internal Components
• Buffers Network Interface

• Used to store packets only


Off-chip

On-chip resource
On-chip Buffer OTM
• Buffers

• Small internal buffers Ingress Egress

• Off-chip resource Fabric Interface

• Deep GDDR5 packet buffers external buffers


• Not optional

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
NCS5500 Forwarding ASIC
Internal Components
• “Information” memories Network Interface
LPM

• On-chip databases used for TCAM


LEM

TCAM
• Route table: prefixes / nexthop / load-balancing STAT
TCAM

Classifiers / filters
FEC

Ingress Egress
• Statistics Fabric Interface

• Off-chip resources
• Optional TCAMs for route/ACL scale

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
NCS5500 Forwarding ASICs
Jericho / Jericho+ / Jericho+ w/ Large LPM

Jericho 720G Jericho+ 900G Jericho+ large LPM 900G


600/720Mpps 835Mpps 835Mpps

Network Interface Network Interface Network Interface


LPM LPM
TCAMv1 PP TM PP TM PP TM PP TM PP TM LPM PP TM
LEM LEM
Off-chip Off-chip Off-chip
On-chip Buffer TCAM OTM On-chip Buffer TCAM OTM On-chip Buffer LEM OTM
Buffers Buffers Buffers
STAT STAT TCAM
TCAMv1 PP TM PP TM PP TM PP TM PP TM PP TM
FEC FEC STAT
TCAM
Ingress Egress v2
Ingress Egress Ingress FEC Egress

Fabric Interface Fabric Interface Fabric Interface

900G 1200G 1200G

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
NCS5500 and NCS500 Forwarding ASICs
Qumran-MX / Qumran-AX

Qumran-MX 800G Qumran-MX eTCAMv2 800G Qumran-AX 300G


600/720Mpps 700Mpps 300Mpps

Network Interface Network Interface Network Interface


LPM LPM
TCAM PP TM PP TM PP TM PP TM PP TM LPM PP TM
LEM LEM LEM
Off-chip TCAM Off-chip Off-chip
On-chip Buffer OTM On-chip Buffer TCAM OTM On-chip Buffer TCAM OTM
Buffers Buffers Buffers
STAT STAT
STAT
TCAM PP TM PP TM PP TM PP TM FEC
FEC FEC
TCAM
Ingress Egress v2
Ingress Egress Ingress Egress

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
For Reference

In Summary

NCS5000 NCS5500
XGS ASICs J/J+/Q-MX

NCS540 NCS560
Q-AX Q-MX

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
NCS5500 Forwarding ASIC
J/J+/Q-MX Pipeline Architecture

Packet
Buffer

Packet Packet
DB DB DB DB DB Buffer DB DB Buffer

Fabric
Network If

Network If
Fabric If
Fabric If
IRPP ITM ITPP ETPP ETM ERPP

Ingress Pipeline Egress Pipeline

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
NCS5500 Forwarding ASIC
Pipeline Architecture
Packet
Buffer

Packet Packet
DB DB DB DB DB Buffer DB DB Buffer

IRPP ITM ITPP ETPP ETM ERPP


LC1

Network If
Network If

Fabric If
Fabric If

Fabric
IRPP ITM ITPP ETPP ETM ERPP

Network If
Network If

Fabric If
Fabric If
LC2

Ingress Pipeline Egress Pipeline


#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
For Reference

NCS5500 Forwarding ASIC


Pipeline Architecture
RP/0/RP0/CPU0:5500#sh contr npu diag counters graphical instance 0 loc 0/1/CPU0
Statistics Rack: 0, Slot: 1, Asic instance: 0

| /|\
| J E R I C H O N E T W O R K I N T E R F A C E |
\|/ |
+-------------------------------------------+-------------------------------------------+-------------------------------------------+-------------------------------------------+
| NBI |
| RX_TOTAL_BYTE_COUNTER = 0 | TX_TOTAL_BYTE_COUNTER = 4,015 |
| RX_TOTAL_PKT_COUNTER = 0 | TX_TOTAL_PKT_COUNTER = 0 |
| RX_TOTAL_DROPPED_EOPS = 0 | |
+-------------------------------------------+-------------------------------------------+-------------------------------------------+-------------------------------------------+
<SNIP>
+-------------------------------------------+-------------------------------------------+-------------------------------------------+-------------------------------------------+
<SNIP>
+-------------------------------------------+-------------------------------------------+-------------------------------------------+-------------------------------------------+
| | FDA |
| | CELLS_IN_CNT_P1 = 0 | CELLS_OUT_CNT_P1 = 0 |
| | CELLS_IN_CNT_P2 = 22 | CELLS_OUT_CNT_P2 = 20 |
+-------------------------------------------+-------------------------------------------| CELLS_IN_CNT_P3 = 0 | CELLS_OUT_CNT_P3 = 0 |
| IPT | CELLS_IN_TDM_CNT = 0 | CELLS_OUT_TDM_CNT = 0 |
| | CELLS_IN_MESHMC_CNT = 0 | CELLS_OUT_MESHMC_CNT = 0 |
| EGQ_PKT_CNT = 0 --> CELLS_IN_IPT_CNT = 0 | CELLS_OUT_IPT_CNT = 0 |
| ENQ_PKT_CNT = 0 | EGQ_DROP_CNT = 0 |
| FDT_PKT_CNT = 0 | EGQ_MESHMC_DROP_CNT = 0 |
| CRC_ERROR_CNT = 0 | EGQ_TDM_OVF_DROP_CNT = 0 |
| CFG_EVENT_CNT = 0 | |
| CFG_BYTE_CNT = 0 | |
+-------------------------------------------+-------------------------------------------+-------------------------------------------+-------------------------------------------+
| FDT | FDR |
| IPT_DESC_CELL_COUNTER = 0 | P1_CELL_IN_CNT = 0 |
| | P3_CELL_IN_CNT = 0 |
| TRANSMITTED_DATA_CELLS_COUNTER = 0 | CELL_IN_CNT_TOTAL = 22 |
+-------------------------------------------+-------------------------------------------+-------------------------------------------+-------------------------------------------+
| /|\
| J E R I C H O F A B R I C I N T E R F A C E |
\|/ |
#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
Fixed Platforms
Naming Rules for Fixed Platforms

NCS-55xy-zzH-(SE)-(S)

S = MACsec
x = 0  Jericho based y = #RU zz = 100G ports
x = A  Jericho+ based MODular SE = Scale

Jericho -SE  2M extra IPv4 addresses


Jericho+ -SE  total 4M IPv4 addresses (more possible in future releases)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
NCS5500 Fixed Platforms
NCS-5501-SE
• Single 800 Gbps FA, 4GB packet buffer
• 600 Mpps

Buffers
• No Oversubscription, total interfaces: 800G Forwarding

CPU
ASIC
• 40x 1/10G SFP ports

TCAM
• 4x 40/100G QSFP ports
• Support of Timing and DWDM interfaces

QSFP28

QSFP28

QSFP28

QSFP28

DRAM
SFP+
SFP+
SFP+
SFP+
SFP+

SFP+
40x10G 4x100G

16 regular ports 24 ports DWDM/ZR capable


(ports 0 to 15) (ports 16 to 39) Product LEM LPM eTCAM
NCS-5501-SE 786k 256k-350k 2M

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
NCS5500 Fixed Platforms
NCS-5501
• Single 800 Gbps forwarding ASIC, 4GB packet buffer
• 720 Mpps

Buffers
• Oversubscribed design, Forwarding

CPU
ASIC
total bandwidth of 1.08 Tbps
• 48x 1/10G SFP ports
• 6x 40/100G QSFP ports

QSFP28
QSFP28
QSFP28

QSFP28
QSFP28
QSFP28

DRAM
SFP+

SFP+
SFP+
SFP+

SFP+
• No DWDM support
48x10G 6x100G

• No timing support
Product LEM LPM eTCAM
NCS-5501 786k 256k-350k -

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
NCS5500 Fixed Platforms
NCS-5502-SE Switch Fabric Switch

• 4.8 Tbps line-rate 100G < 1850W

Buffers
(Typical, SR optics)

CPU
Forwarding

FA
FA

FA

FA
FA

FA

FA
ASIC

TCAM
• 48x 100G QSFP28 (or QSFP+)
LC

8x 600 Gbps Forwarding ASICs


cores

QSFP x 6
QSFP x 6

QSFP x 6

QSFP x 6
QSFP x 6

QSFP x 6

QSFP x 6
(Common FA with modular chassis)

QSFP28
QSFP28
QSFP28
QSFP28
QSFP28

QSFP28

DRAM
• 600 Mpps per FA
48x100G

Product LEM LPM eTCAM


NCS-5502-SE 786k 256k-350k 2M

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
NCS5500 Fixed Platforms
NCS-5502 Switch Fabric Switch

• 4.8 Tbps line-rate 100G < 1450W

Buffers
(Typical, SR optics)

CPU
Forwarding

FA
FA

FA

FA
FA

FA

FA
ASIC

• 48x 100G QSFP28 (or QSFP+)


LC

De-pop’d version without


cores

QSFP x 6
QSFP x 6

QSFP x 6

QSFP x 6
QSFP x 6

QSFP x 6

QSFP x 6
external TCAM

QSFP28
QSFP28
QSFP28
QSFP28
QSFP28

QSFP28

DRAM
• 8x 600 Gbps Forwarding ASICs
48x100G

• 720 Mpps per FA


Product LEM LPM eTCAM
NCS-5502 786k 256k-350k -

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
NCS5500 Fixed Platforms
NCS-5502 Internal Architecture

Fabric Element 0 Fabric Element 1 8 Forwarding ASICs


18x8x25G=3600G 18x8x25G=3600G
2 Fabric ASICs

18

Forwarding Forwarding Forwarding Forwarding Forwarding Forwarding Forwarding Forwarding


CPU
ASIC ASIC ASIC ASIC ASIC ASIC ASIC ASIC
QSFP28

QSFP28

QSFP28
QSFP28

QSFP28
QSFP28

QSFP28

QSFP28

QSFP28

QSFP28
QSFP28

QSFP28
QSFP28
QSFP28

QSFP28

QSFP28
QSFP28

QSFP28
QSFP28

QSFP28

QSFP28

QSFP28

QSFP28
QSFP28

QSFP28

QSFP28
QSFP28

QSFP28

QSFP28

QSFP28

QSFP28

QSFP28

QSFP28
QSFP28

QSFP28

QSFP28
QSFP28
QSFP28

QSFP28

QSFP28
QSFP28
QSFP28
QSFP28

QSFP28
QSFP28

QSFP28

QSFP28
QSFP28
DRAM

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
For Reference

NCS5500 Fixed Platforms


NCS-5501 and NCS-5502 Back View

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
NCS5500 Fixed Platforms
NCS-55A1-36H-S / NCS-55A1-36H-SE-S
• 36x QSFP28 ports in 1 RU

• Single Intel Broadwell-DE D1577 CPU


• 8-core @ 1.6GHz
• 32GB RAM, 64GB SSD
• 2 Redundant Power Modules: 2kW AC or DC
• Base system: Typical= 1100W / Max Power= 1450W
• Scale system: Typical= 1300W / Max Power= 1700W
• 3 Redundant (N+1)
Product LEM LPM eTCAM
• Front to Back Fan Modules
55A1-36H-S 786k 256k-350k -
• Depth: 30 inches 55A1-36H-SE-S 786k 256k-350k 4M+

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
NCS-55A1-36H-S / NCS-55A1-36H-SE-S
Internal Architecture

Fabric ASIC • Scale version: with eTCAM


4x36x25G=3.6T • Base version: without eTCAM
36x25G
=900G

eTCAM

eTCAM
eTCAM

eTCAM

Forwarding ASIC Forwarding ASIC Forwarding ASIC Forwarding ASIC CPU

MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec MACsec

DRAM

QSFP

QSFP

QSFP
QSFP

QSFP

QSFP
QSFP
QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
NCS5500 Fixed Platforms
NCS-55A1-24H
• 1 Rack Unit Fixed System: 24x QSFP28 ports

• Base version only and no MACSEC capability


• 1588 / Sync-E Capable
• 2x 900 Gbps Forwarding ASICs Product LEM LPM eTCAM

• No Fabric ASIC, Forwarding ASICs NCS-55A1-24H 786k 1M-1.5M -


are directly connected
• Dimension: 1RU / Depth: 21 inches

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
For Reference

NCS5500 Fixed Platforms


NCS-55A1-24H
• Single Intel Broadwell-DE D1577 CPU
• 8-core @ 1.6GHz
• 32GB RAM, 128GB SSD
• 2 Redundant Power Modules: AC or DC
• Typical= 600W / Max Power= 800W
• 2 Redundant (N+1) Fan Modules: Front to Back (B2F planned)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
NCS5500 Fixed Platforms
NCS-55A1-24H

48x25G

Forwarding ASIC Forwarding ASIC CPU

4x 25G

DRAM
QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP
QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP
Oversubscription of 12x100G ports per 900G Forwarding ASIC

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
NCS5500 Fixed Platforms
NCS-55A2-MOD-S Series
• 2RU, 11 inches deep (280mm)

• 1x Jericho+ Forwarding ASIC


• 835 Mpps / 900 Gbps (160% max oversubscribed)
• Fixed 40x 1/10G SFP/SFP+ DWDM capable
• 24x 1/10G
• 16x 1/10/25G (MACsec at 10/25G)
• 2x 400G Modular Port Adaptor bays
• Timing 1588/SyncE and MACsec Capable
• 8x Fan Modules (F2B), 2x Power Supply AC/DC (Front)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
NCS-55A2-MOD-S
Stats FPGA

Forwarding ASIC

CPU
eTCAM
Jericho+
4GB Buffers

2x25G
=50G

10G 8x25G
MACsec MACsec
=200G

DRAM
Up to 400G Up to 400G

SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP+
SFP+
SFP+
SFP+

SFP+
SFP+ MPA0 MPA1
0/0/1/x 0/0/2/x

24x1/10G 0/0/0/0-23 16x1/10/25G 0/0/0/24-39 MPA

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
NCS-55A2-MOD Series
NCS-55A2-MOD-S
• Base version

• Single Intel Broadwell CPU (6 cores @ 2GHz), 32GB RAM, 128GB SSD

Product LEM LPM eTCAM


NCS-55A2-MOD-S 786k 256k-350k -

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
NCS-55A2-MOD Series
NCS-55A2-MOD-HD-S
• Base Hardened version
• GR 3108 Class 2
• Expected temperature range: around -40C to +70C
• Single Intel Broadwell CPU (6 cores @ 2GHz), 32GB RAM, 128GB SSD
• Single Temp Hardened MPA option
• MPA 4x QSFP28 (4x10G / 40G / 100G)

Product LEM LPM eTCAM


NCS-55A2-MOD-S 786k 256k-350k -

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
NCS-55A2-MOD Series
NCS-55A2-MOD-SE-S
• Scale version

• Single Intel Broadwell CPU (8 cores @ 2GHz), 32GB RAM, 128GB SSD
• External TCAM and FPGA for statistics (future use)

Product LEM LPM eTCAM


NCS-55A2-MOD-S 786k 256k-350k 4M+

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Modular Port Adapters (MPA)
NC55-MPA-12T-S Connector NC55-MPA-2TH-S Connector
Up to 16x25G=400G Up to 16x25G=400G
12 x 10G 4 x 25G 4 x 25G 4 x 25G 4 x 25G

OTN, MACSec MACSec MACSec


SFP+

SFP+
SFP+

SFP+
SFP+

SFP+

SFP+

SFP+
SFP+

SFP+

SFP+

SFP+
CFP2-DCO CFP2-DCO
(2x100G) (2x100G)

12 ports SFP+ 0/x/m/0-11 0/x/m/0/0-1 2 ports CFP2 0/x/m/1/0-1

NC55-MPA-1TH2H-S Connector NC55-MPA-4H-S Connector


Up to 16x25G=400G Up to 16x25G=400G
4 x 25G 4 x 25G 4 x 25G 4 x 25G 4 x 25G 4 x 25G 4 x 25G 4 x 25G

MACSec MACSec MACSec MACSec

QSFP28 QSFP28 CFP2-DCO QSFP28 QSFP28 QSFP28 QSFP28


(100G) (100G) (2x100G) (100G) (100G) (100G) (100G)

2 ports QSFP28 0/x/m/0-1 1 port CFP2 0/x/m/2/0-1 4 ports QSFP28 0/x/m/0-3

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
NCS-55A2-MOD Series
Timing Capabilities
• IEEE 1588-2008 PTP support

• External Satellite Inputs – 1PPS, 10MHz, TOD


• No BITS inputs
• Built-in GNSS/GPS Receiver (Trimble) Hardware
• ZL30363 IEEE 1588 and SyncE Packet Clock Network Synchronizer
• with Stratum 3E OCXO Clock

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
NCS-55A2-MOD Series MACSec MACSec

MACsec Support QSFP28


(100G)
QSFP28
(100G)
QSFP28
(100G)
QSFP28
(100G)

• Not on first 24xSFP+ 4 ports QSFP28

• Capable on last 16xSFP28 fixed ports except 1GE mode MACSec MACSec

• MACsec on all MPA ports except 1GE mode


CFP2-DCO CFP2-DCO

MACsec support introduced in 6.6.1


(2x100G) (2x100G)


2 ports CFP2

MACsec MACsec
OTN, MACSec

SFP+
SFP+
SFP+

SFP+
SFP+
SFP+
SFP+

SFP+
SFP+
SFP+

SFP+
SFP+
Up to 400G Up to 400G
SFP28

SFP28
SFP28

SFP28
SFP28
SFP28
SFP28
SFP28
SFP+
SFP+
SFP+
SFP+

SFP+
SFP+

12 ports SFP+
MPA0 MPA1
0/0/1 0/0/2 MACSec MACSec

0/0/0/0-23 0/0/0/24-39 MPA


QSFP28 QSFP28 CFP2-DCO
(100G) (100G) (2x100G)

Not Supported Supported 2 ports QSFP28 1 port CFP2

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
NCS5500 Fixed Platforms
NCS-55A1-24Q6H-S

• 1RU: 48 ports SFP + 6 ports QSFP • Timing:


• 24x 1G/10G/25G + 24x 1G/10G + 6x 100G • 1588 / Sync-E Capable (Class B)
• Base version only • MACsec:
• 1x Jericho+ Forwarding ASIC (SoC) • 100G ports
• Jericho Sclale • 16 out of the 24x SFP28
• 835 Mpps / 900 Gbps Product LEM LPM
• Oversubscription of 1.44Tbps ports NCS-55A1-24Q6H-S 786k 256k-350k

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
NCS5500 Fixed Platforms
NCS-55A1-24Q6H-S
Buffers

Forwarding ASIC

CPU
MACsec MACsec MACsec MACsec

QSFP28
QSFP28
QSFP28
QSFP28
QSFP28
QSFP28

DRAM
SFP28
SFP28

SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP28
SFP+
SFP+

SFP+
SFP+

24x 10G 8x 25G 16x 25G 6x100G


48x SFP 6xQSFP

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
NCS5500 Fixed Platforms
NCS-55A1-48Q6H

• 1RU: 48 ports SFP + 6 ports QSFP • Timing:


• 48x 1G/10G/25G + 6x 100G • 1588 / Sync-E Capable (Class B)
• Base version only • MACsec:
• 2x Jericho+ • 100G ports only
• no fabric, back-to-back
• 835 Mpps / 900 Gbps each Product LEM LPM
• Large LPM NCS-55A1-24Q6H-S 786k 1M-1.5M

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
NCS5500 Fixed Platforms
NCS-55A1-48Q6H

48x25G

CPU
Forwarding ASIC Forwarding ASIC

8x 25G 4x 25G 8x 25G


4x 25G
24x 24x
MACsec MACsec MACsec
25G 25G

DRAM
QSFP

QSFP

QSFP

QSFP

QSFP

QSFP
24x SFP28 24x SFP28

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
For Reference
NCS5500 Fixed Systems Comparison
ASIC QSFP SFP eTCAM Capacity Forwarding Capacity

NCS-5501 QMx 6 48 - 1.08 Tbps 800 Gbps

NCS-5501-SE QMx 4 40 Yes 800 Gbps 800 Gbps

NCS-5502 8x J 48 - - 4.8 Tbps 4.8 Tbps

NCS-5502-SE 8x J 48 - Yes 4.8 Tbps 4.8 Tbps

NCS-55A1-24H 2x J+ 24 - - 2.4 Tbps 1.8 Tbps

NCS-55A1-36H-S 4x J+ 36 - - 3.6 Tbps 3.6 Tbps

NCS-55A1-36H-SE-S 4x J+ 36 - Yes 3.6Tbps 3.6 Tbps

NCS-55A2-MOD(-SE)-S 1x J+ Up to 8 40 Yes (-SE) 1.4Tbps 900 Gbps

NCS-55A1-24Q6H-S 1x J+ 6 48 - 1.4 Tbps 900 Gbps

NCS-55A1-48Q6H 2x J+ 6 48 - 1.8 Tbps 1.8 Tbps

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
For Reference

NCS5500 Forwarding ASIC

NCS5502 NCS55A2-MOD-S NCS55A1-24H NCS5501 NCS560 NCS540


NCS5502-SE NCS55A2-MOD-SE-S NCS55A1-48Q6H NCS5501-SE
NCS55A1-24Q6H-S
NCS55A1-36H-S
NCS55A1-36H-SE-S

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
NCS5500
Modular Chassis
Three Chassis
• Common parts
• RP
• SC
• Line Cards
• Power Supply Modules
• Specific
• Chassis
• 3x Fan Tray Modules
• 6x Fabric Line Cards

BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Orthogonal Design
• No backplane/midplane for data path
• Direct connection between LC to fabric cards at 90 degrees
• Air inlets above and between optics
• Air inlets on RP & power supplies
AIR INLETS

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
NCS5500 Modular Chassis
Mechanical Layout
Fabric Behind Fans

Line Cards

Fans Fans Fabric

RP RP

Power Controller Controller

Front View Rear View Side View w/ Airflow

Air Intake
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
For Reference

NCS-5504 Chassis
Up to 14.4Tbps
• Dimensions – 7RU
• H x W x D: 12.25 x 17.5 x 31.7“
• (31.1 x 44.50 x 84.20 cm)

• Power Supplies
• 4 supplies
• AC or DC

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
For Reference

NCS-5508 Chassis
Up to 28.8Tbps
• Dimensions – 13RU (1/3 rack)
• H x W x D: 22.7 x 17.5 x 31.7”
• 57.78 x 44.50 x 80.67 cm
• Depth: 34.78 in / 88.34 cm
(from linecard ejector to fantray handles)
• Power Supplies
• 8 supplies
• NEBS via air filter door and enclosure

• 28.8 Tbps @ 6920 W = 0.24 W/Gbps


• 288 QSFP28 or QSFP+ ports
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
For Reference

NCS-5516 Chassis
Up to 57.6Tbps
• Dimensions – 21 RU (1/2 rack)
• H x W x D: 36.7 x 17.5 x 31.7”
• 93.41 x 44.50 x 80.67 cm
• Depth: 34.78 in / 88.34cm
(from LC ejector to FT handles)
• Power supplies
• 10 power supplies AC or DC
• 57.6 Tbps @ ~18000W = 0.31 W/Gbps
• 576 QSFP28 or QSFP+ ports

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Switch Fabric Cards
• Cell-based fabric
• FE3600 fabric ASIC
• Next Gen “Ramon” ASIC

• 6 Fabric Cards per chassis


• FE3600
• Same Switch Fabric Cards for
both Jericho and Jericho+
• Ramon
• Required for J2 Line Cards

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Switch Fabric Cards
Number of Fabric ASICs per Fabric Cards NCS-5516
• FE3600 FE

FE
NCS-5504 NCS-5508
FE

FE FE J FE J+
J J+ 1x25G 1 or 2
6x25G 8x25G 3x25G 4x25G x25G
=150G =200G =75G =100G FE
J FE J+
FE

• Support: J/J+ cards, not J2


• PIDs: NC55-5504-FC / NC55-5508-FC / NC55-5516-FC

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Switch Fabric Cards
Number of Fabric ASICs per Fabric Cards
• Ramon

NCS-5504 NCS-5508 NCS-5516


18x53G
=956G
J2 FE FE J2 FE
6x53G 9x53G
=318G =478G
FE
J2 FE

• Support: J/J+/J2 FE

• PIDs: NC55-5508-FC2 / NC55-5516-FC2


• NCS55-5504-FC2 in Roadmap

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Switch Fabric Cards and Fan Trays
• v2 Fabric Cards requires v2 Fan Trays
• NC55-5508-FC + NC55-5508-FAN
• NC55-5508-FC2 + NC55-5508-FAN2
• NC55-5516-FC + NC55-5516-FAN
• NC55-5516-FC2 + NC55-5516-FAN2

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
NCS5500 Modular Chassis
36x 100G Line Card Bandwidth Example
Fabric Card 0 Fabric Card 1 Fabric Card 2 Fabric Card 3 Fabric Card 4 Fabric Card 5
6x6x25G=900G 900G 900G 900G 900G 900G

Forwarding Forwarding Forwarding Forwarding Forwarding Forwarding CPU


ASIC ASIC ASIC ASIC ASIC ASIC
QSFP

QSFP

QSFP

QSFP
QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP

QSFP
DRAM

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
NCS5500 Modular Chassis
Common System Controller and Route Processor
• Route Processor • System Controller
• Ivy Bridge with 24GB RAM • Chassis control and monitoring
• Fan trays / Power supply
• Routing and management tasks
• Ethernet Out-of-Band Channel (EOBC)
• Ethernet Protocol Channel (EPC)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Modular Line Cards based on Jericho

36 Port 100GE no eTCAM (QSFP) 24 Port 100GE & 12 Port 40GE


NC55-36X100G-BA External TCAM (QSFP) - NC55-24H12F-SB

24 Port 100GE External TCAM (QSFP) 36 Port 100GE with MACsec


NC55-24X100G-SB No eTCAM (QSFP) - NC55-36X100G-BM

18 Port 100GE & 18 Port 40GE 6 Port 100/150/200GE with MACsec


No eTCAM (QSFP) - NC55-18H18F-BA No eTCAM (CFP2) - NC55-6x200-DWDM-S
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Modular Line Cards based on Jericho+

36 Port 100GE External TCAM (Scale)


NC55-36X100G-A-SB (-SE)

12X10, 2X40 & 2XMPA Line Card Base


NC55-MOD-A-S

12X10, 2X40 & 2XMPA Line Card Scale


NC55-MOD-A-SE-S

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
For Reference

NCS5500 Line Card Comparison


MAC Line Card Forwarding
ASIC 100G 40G 10G eTCAM
sec Capacity Capacity
NC55-36X100G 6x J 36 - - - - 3.6 Tbps 3.6 Tbps
NC55-36X100G-S 6x J 36 - - - Yes 3.6 Tbps 3.6 Tbps
NC55-18H18F 3x J 18 18 - - - 2.52 Tbps 2.16 Tbps
NC55-24X100G-SE 4x J 24 - - Yes - 2.4 Tbps 2.4 Tbps
NC55-24H12F-SS 4x J 24 12 - Yes - 2.88 Tbps 2.88 Tbps
6x
NC55-6X2H-DWDM-S 2x J - - - Yes 1.2 Tbps 1.2 Tbps
100/150/200

NC55-36X100G-A-SE 4x J+ 36 - - Yes - 3.6 Tbps 3.6 Tbps


NC55-MOD-A-S 1x J+ Up to 8 2 12 - Yes 1 Tbps 900 Gbps
NC55-MOD-A-SE-S 1x J+ Up to 8 2 412 Yes Yes 1 Tbps 900 Gbps

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Coming Soon
Coming Soon: Modular LCs based on Jericho2

24 Port 400GE Base LC


NC55-24D

30 Ports (18x 400GE + 12x 200G) Scale LC


NC55-18D12TH-SE

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
J2 Line Cards
NC55-24D
• 9.6T capacity line card with 2 Jericho2 chipsets

• Requires
• 2nd Gen 16/8/4 Fabric card (Ramon-based)
• 2nd Gen Fan-trays
• Post-FCS: MACsec support on all ports

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
J2 Line Cards
NC55-18D12TH-SE
• 18 x 400G QSFPDD (or 30 x 200G/100G) TCAM Line Card

• OP2 TCAM (BCM16000 KBP) for Lookup and Stats


• 7.2T capacity line card with 2 Jericho2 chipsets (3.6T per JR2)
• Requires
• 2nd Gen 16/8/4 Fabric card (Ramon-based)
• 2nd Gen Fan-trays
• Post-FCS: MACsec support on all ports

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
J2 Line Cards
NC55-18D12TH-SE
• Port utilization 400G Blocks

400G Blocks 400G Blocks


• Blocks of 400G
• one port at 400G, other is disabled
• 200G+200G or 100G+100G
• you can use all 30 ports in 100G or 200G mode
or a mix of 100/200 or 400G up to a total of 7.2T to backplane

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Mixing Different Generations of Line Cards
• Same chassis
• Keep existing RP (or RP-E) and SC cards
• Requires new fan trays and fabric cards
• At FCS
• Capability to mix J, J+ and J2 cards
• Scale numbers will be aligned on J+ for the J2 cards
• “Compatibility mode”

• Future releases
• J2-native mode with higher scale

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
NCS5500 Optics
NCS5500 Interfaces
Ethernet Only Platforms
• SFP optics slot: offering 1G or 10G (with SFP+) on the following platforms
• NCS-5501 / NCS-55A2-MOD
• NCS-55A1-24Q6H-S / NCS-55A1-48Q6H

• QSFP optics slot: offering 100G (with QSFP28), 40G (with QSFP+) and
4x 10G (QSFP+ with break-out cables) on the following platforms or LC
• NCS-5502(-SE) / NCS-55A1-24H
• NCS-55A1-36H(-SE)-S
• Line Cards

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
NCS5500 Interfaces
Ethernet Only Platforms
• QSA: QSFP to SFP Adaptor

• 25GE only supported on J+ Platforms with 4x25G break-out


• CFP2 optics slot:
• First on the 6 ports 100/150/200GE DWDM Line Cards
• Now in MPA for MOD Line Cards (2x CFP2 or combo 1x CFP2 + 2 grey ports)
• ACO vs DCO

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
NCS5500 Interfaces
Introducing 400G
• Based on QSFP-DD

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
Modulation
NRZ
• On/Off Keying
• Non Return to Zero (NRZ)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Modulation
PAM4
• PAM4 (Pulse Amplitude Modulation)
• for 400G electrical Signals and DR4, FR4, and 100G FR optical

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
400G
QSFP56-DD & QSFP28-DD
• QSFP plus a second row of pins

• Same faceplate, slightly deeper


• backward compatible to QSFP+, QSFP28, QSFP56
• QSFP56-DD for 400G
• 8 electrical lanes at 50G (56 w/ overhead)
• QSFP28-DD for 200G or 2x 100G
• 8 electrical lanes at 25G (28 w/ overhead)
• Support breakout
• Cisco modules will be multi-sourced

#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
For Reference

NCS5500 and 400G


All-in QSFP: QSFP56-DD
PMD Reach Media Lasers Modulation λ
LR8 10km (6db) Duplex SM 8 PAM4 1310nm

FR4 2km (5db) Duplex SM 4 PAM4 1310nm

DR4 500m (4db) PSM 4 PAM4 1310nm

ZR 40-80km Duplex SM 1 DP 16QAM 1550nm


ZR+ Varies Duplex SM 1 Varies 1550nm
DAC 3m Copper N/A PAM4 N/A

AOC 100m Fiber Cable Black box PAM4 1310nm

QSFP56-DD DR4 break-out to QSFP28/CPAK FR(1)


#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
400G Breakout Options
• Today, 400G doesn’t connect to existing 100G (25G based)
• 400GBASE-DR4 to 100GBASE-DR/FR Breakout (100G lambda)
• New 100G required: 1-lamba

Duplex LC SMF
Connector
1 lane of 1λ-100G-PAM4 signals
MPO-12 SMF
Connector

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
For Reference

NCS5500 and 200G


All-in QSFP: QSFP28-DD

PMD Reach Media Lasers Modulation λ


LR4 10km Duplex SM 2x4 NRZ 1310nm

CWDM4 2km Duplex SM 2x4 NRZ 1310nm

(2x4)
SR4 100m Parallel MM NRZ 850nm
MM

QSFP28-DD optics are backward compatibility with


current 100G optics generation (25Gbps-based)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
200G Breakout Options
• Provides ability to connect legacy 100G modules

Module Type Optical Connector

2x 100G-LR4 Dual Duplex CS Connector

2x 100G-CWDM4 Dual Duplex CS Connector

2x 100G-SR4 MMF MPO-24 Connector

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
NCS5500
Positioning
NCS5500 Position in Network
Multi-dimensional Equation
• The position decision of a platform should be based on:
• Ports types / density requirement for X years
• Scale requirements
• Buffering capability
• Supported features
• Power consumption
• Network OS preference (IOS XR)
• No simple rule of thumb

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
NCS5500 Position in Network
Think about…
• QoS
• ECMP-FEC
• Multi-Dimensional scale
• Counters
• Hw-profiles

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
For Reference

NCS5500 Platform Comparison


NCS-5501 NCS-5501-SE NCS-5502/-SE NCS-5504 NCS-5508 NCS-5516

10G 48+6x4 40+4x4 48x4 4x36x4 8x36x4 16x36x4


25G - - - 4x36x4 8x36x4 16x36x4
40G 6 4 48 4x36 8x36 16x36
100G 6 4 48 4x36 8x36 16x36
BW Gbps 800 800 4,800 14,400 28,800 57,600
Total Mpps 720 600 5,760 17,280 34,560 69,120
Power W 240 260 1,850 3,990 7,980 17,100
Pfx scale 1.1M+ 2.75M 2.75M Depends on LC (J/J+ w/ w/o eTCAM)
100G 6 4 48 4x 36 8x 36 16x 36
Queues 96k
Buffer 4GB per Forwarding ASIC

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
For Reference

NCS5500 Platform Comparison


NCS-55A1- NCS-55A1- NCS-55A2- NCS-55A2-
36H-S 36H-SE-S MOD-S MOD-SE-S
10G 36x4 36x4 40 (+2x 12) 40 (+2x 12)
25G 36x4 36x4 16 16+ 2x4
40G 36 36 8 8
100G 36 36 8 8
BW Gbps 3,600 3,600 1,440 1,440
Total Mpps 3,340 3,340 835 835
Power W 1,100 1,300 270 + 2x (50-75) 320 + 2x MPA
Pfx scale 1.1M+ 4M 1.1M+ 4M
100G 36 36 2x 4 2x 4
Queues 96k
Buffer 4GB per Forwarding ASIC

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
For Reference

NCS5500 Platform Comparison


NCS-55A1-24H NCS-55A1-24Q6H-S NCS-55A1-48Q6H

10G 24x4 48 + 6x4 48 + 6x4


25G 24x4 24 + 6x4 48 + 6x4
40G 24 6 6
100G 24 6 6
BW Gbps 2,400 1,440 1,440
Total Mpps 1,670 835 1x670
Power W 600 360 550
Pfx scale 2.2M+ 1.1M+ 2.2M+
Queues 96k
Buffer 4GB per Forwarding ASIC

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
VOQ and Life of a
Unicast Packet
NCS5500 Architecture
Local Routing
• Local traffic on NCS5500 series can be routed by the FA without
going through the fabric: lower latency
Optics

ASR9900 NPU FIA Fabric ASIC

Optics

Slice Fabric Card

Optics
NCS-5502 Forwarding
Fabric ASIC
NCS-5508 Optics
ASIC

Slice Fabric Card


#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
NCS5500 Architecture
Comparison with Traditional XR Platforms
• Two-lookup architecture on traditional XR platforms
Optics PSE IngressQ
Optics
CRS-3/X Fabric ASIC Inbar + OTN

PLA
+ OTN PSE
PHY EgressQ PSE FabricQ PHY

Lookup #1 Lookup #2
Egress to identify
Ingress to identify
Interface, VLAN,
destination LC
adjacency

Fabric Fabric
ASR9900 Optics NPU FIA
ASIC
Fabric ASIC
ASIC
FIA NPU Optics

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
NCS5500 Architecture
Comparison with Traditional XR Platforms
• ASR9K: Buffering in two places but mostly in egress

Buffer
Buffer

Fabric Fabric
Optics NPU FIA Fabric ASIC FIA NPU Optics
ASIC ASIC

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
NCS5500 Architecture
Comparison with Traditional XR Platforms
• Single-lookup architecture at ingress on NCS5500
• VOQ-only Model

NCS-5502 Optics
Forwarding
Fabric ASIC
Forwarding
Optics
NCS-5508 ASIC ASIC

Single lookup in
ingress FA
Relevant info set in
internal headers

Forwarding
NCS-5501 Optics
ASIC
Optics

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
NCS5500 Architecture
Comparison with Traditional XR Platforms
• NCS5500 is using ingress buffering

Buffer

Forwarding Forwarding
Optics Fabric ASIC Optics
ASIC ASIC

Ingress Pipeline Egress Pipeline

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
NCS5500 System Architecture
Three Packet Buffers / Hybrid Model
• Ingress On-chip Buffer: 16MB
• Ingress Off-chip Buffer: 4GB
• Egress On-chip port Buffer: 6MB (3MB per Core)

Off Chip Buffer


4GB

Ingress On Chip Buffer Egress Port Buffer Egress


Net FIA FIA Net
Interface 16MB 6MB Interface

Ingress Scheduler Egress Scheduler

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
NCS5500 System Architecture
Three Packet Buffers / Hybrid Model
• Normal traffic condition (no congestion)
• Packets stored in on-chip buffers only
• That’s the 99.85% of the packets

Off Chip Buffer


4GB

Ingress On Chip Buffer Egress Port Buffer Egress


Net FIA FIA Net
Interface 16MB 6MB Interface
without
congestion
Ingress Scheduler Egress Scheduler

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
NCS5500 System Architecture
Three Packet Buffers / Hybrid Model
• In case of egress queue congestion
• Packets stored in ingress off-chip buffers until they receive permission

Off Chip Buffer


4GB

Ingress On Chip Buffer Egress Port Buffer


Net FIA FIA Net Egress
Interface 16MB 6MB
Interface
with queue
Ingress Scheduler Egress Scheduler congestion

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
NCS5500 System Architecture
Three Packet Buffers / Hybrid Model
• Eviction to DRAM
DRAM
• Per virtual output queue Queue5
4GB

Queue1
Queue2
Queue3
Queue4 OCB
16MB
Queue6
Queue7
Queue8

Ingress Scheduler

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
NCS5500 System Architecture
Three Packet Buffers / Hybrid Model
• Contrary to traditional XR platforms: very short egress buffering
• 4 priorities on the egress port buffer
• High Unicast
• High Multicast Egress Port Buffer
Egress
Interface
FIA 6MB Net
• Low Unicast with queue
congestion
HP Unicast
• Low Multicast
HP Multicast
• High >> Low LP Unicast

• In case of tie-break LP Multicast

• 80% Unicast Egress Scheduler


• 20% Multicast

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
NCS5500 System Architecture
VOQ-Only Architecture (Virtual Output Queues)
• We have 8 queues per attachment point
• Attachment points are
• L2/L3 interfaces (physicals, bundles, BVI, …)
• Sub-interfaces (L2/L3)
0/7/0/0.2 Queue0

Example here:
0/7/0/0.2 Queue1
• 0/7/0/0.2 Queue2
0/7/0/0.2 Queue3

• Hu0/7/0/0.2 dot1q interface 0/7/0/0.2 Queue4


0/7/0/0.2 Queue5
0/7/0/0.2 Queue6 Egress
0/7/0/0.2 Queue7 Net
Interface
Buffer Hu0/7/0/0.2

Egress VOQ
Scheduler
LC7
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
NCS5500 System Architecture
VOQ-Only Architecture (Virtual Output Queues)
• Every NPU will have a logical (virtual) representation of these egress queue locally where
packets are actually stored in congestion situation  VOQ

0/7/0/0.2 VOQ0
0/7/0/0.2 VOQ1
0/7/0/0.2 VOQ2 Fabric Card 0
0/7/0/0.2 VOQ3
0/7/0/0.2 VOQ4 Connector
Ingress 0/7/0/0.2 VOQ5
Net 0/7/0/0.2 VOQ6
Interface 0/7/0/0.2 VOQ7
Fabric Card 1
VOQ

NPU0 Ingress VOQ


Fabric Card 2
Scheduler
LC0
0/7/0/0.2 Queue0
0/7/0/0.2 Queue1
0/7/0/0.2 VOQ0
0/7/0/0.2 VOQ1 Fabric Card 3 0/7/0/0.2 Queue2
0/7/0/0.2 Queue3
0/7/0/0.2 VOQ2
0/7/0/0.2 Queue4
0/7/0/0.2 VOQ3
0/7/0/0.2 Queue5
0/7/0/0.2 VOQ4
Ingress 0/7/0/0.2 VOQ5
0/7/0/0.2 Queue6
Net Egress
Net Fabric Card 4 0/7/0/0.2 Queue7
Interface 0/7/0/0.2 VOQ6
0/7/0/0.2 VOQ7 Egress Port Queues Interface
VOQ Hu0/7/0/0.2

NPU1 Ingress VOQ Fabric Card 5 NPU0 Egress VOQ


Scheduler Scheduler
LC1 LC7
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
NCS5500 System Architecture
VOQ-Only Architecture (Virtual Output Queues)
• Even for the same NPU 0 on the same LC7, the ingress pipeline uses this virtual
representation (Local VOQ)

0/7/0/0.2 VOQ0 0/7/0/0.2 VOQ0


0/7/0/0.2 VOQ1 0/7/0/0.2 VOQ1
0/7/0/0.2 VOQ2 Fabric Card 0 0/7/0/0.2 VOQ2
0/7/0/0.2 VOQ3 0/7/0/0.2 VOQ3
0/7/0/0.2 VOQ4 0/7/0/0.2 VOQ4 Connector
Ingress 0/7/0/0.2 VOQ5 0/7/0/0.2 VOQ5
Net 0/7/0/0.2 VOQ6
Interface 0/7/0/0.2 VOQ7
Fabric Card 1 0/7/0/0.2 VOQ6
0/7/0/0.2 VOQ7
VOQ VOQ

Ingress VOQ
NPU0 Ingress VOQ
Fabric Card 2 Scheduler
Scheduler
LC0
0/7/0/0.2 Queue0
0/7/0/0.2 Queue1
0/7/0/0.2 VOQ0
0/7/0/0.2 VOQ1 Fabric Card 3 0/7/0/0.2 Queue2
0/7/0/0.2 Queue3
0/7/0/0.2 VOQ2
0/7/0/0.2 Queue4
0/7/0/0.2 VOQ3
0/7/0/0.2 Queue5
0/7/0/0.2 VOQ4
Ingress 0/7/0/0.2 VOQ5
0/7/0/0.2 Queue6
Net Egress
Net Fabric Card 4 0/7/0/0.2 Queue7
Interface 0/7/0/0.2 VOQ6
0/7/0/0.2 VOQ7 Egress Port Queues Interface
VOQ Hu0/7/0/0.2

NPU1 Ingress VOQ Fabric Card 5 NPU0 Egress VOQ


Scheduler Scheduler
LC1 LC7
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
NCS5500 System Architecture
VOQ-Only Architecture (Virtual Output Queues)
• CLI illustration: Local and Remote visibility of the Output Queues
RP/0/RP0/CPU0:NCS5508-1_PE1#sh contr npu voq-usage interface all instance 0 location 0/0/CPU0

-------------------------------------------------------------------
Node ID: 0/0/CPU0
Intf Intf NPU NPU PP Sys VOQ Flow VOQ Port
name handle # core Port Port base base port speed
(hex) type (Gbps)
----------------------------------------------------------------------
Hu0/3/0/5 1800100 0 0 1 1537 1072 10280 remote 100
Hu0/0/0/26 200 4 1 17 273 1424 4136 local 100
Hu0/3/0/6 1800108 1 1 21 1621 1080 1064 remote 100
Hu0/0/0/27 208 4 0 9 265 1432 5416 local 100
Hu0/3/0/7 1800110 1 1 13 1613 1088 2344 remote 100
Hu0/0/0/28 210 4 0 5 261 1440 7208 local 100
Hu0/3/0/8 1800118 1 1 17 1617 1096 4136 remote 100
Hu0/0/0/29 218 4 0 1 257 1448 8488 local 100
Hu0/3/0/9 1800120 1 0 9 1609 1104 5416 remote 100
Hu0/0/0/30 220 5 1 21 341 1456 2344 local 100

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
For Reference

NCS5500 Forwarding ASIC Detail


Deep Buffer LPM
PP TM PP TM
• Expansion via off-chip resources LEM

Off-chip
• Deep GDDR5 packet buffers external packet buffers Buffers
On-chip Buffer TCAM OTM

STAT
• In normal conditions PP TM
FEC
PP TM

• Packets are stored in On-Chip Buffers only Ingress Egress

• In case of egress congestion


• Packets are moved to the Off-Chip Buffer in Virtual Output Queues
• Packets are identified by packet descriptors
• Each ASIC can manage 3M of these descriptors

• A single queue can take up to 25% of the 1.5M descriptors of a core


• Decision to move packets from on-chip to off-chip buffer is made (today)
• When a queue exceeds 200kB
• When a queue exceeds 6000 packets
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
NCS5500 VOQ-Only Architecture
Fabric Card 0

Ingress Virtual Fabric Card 1 Egress


Egress Port
Interface Output
Queues Interface
Queues
Net Fab Fabric Card 2 Fab Net

Fabric Card 3

Ingress VOQ Fabric Card 4 Egress VOQ


Scheduler Scheduler

Fabric Card 5

• Packet is received on ingress interface, classified, and stored in an internal buffer


• Single lookup
• Queuing is based on credit request and grant scheme
• Actual buffering happens on ingress devices
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
NCS5500 VOQ-Only Architecture
Fabric Card 0

Ingress Virtual Fabric Card 1 Egress


Egress Port
Interface Output
Queues Interface
Queues
Net Fab Fabric Card 2 Fab Net

Fabric Card 3

Queue-Status ?
Ingress VOQ Fabric Card 4 Egress VOQ
Scheduler Scheduler

Fabric Card 5
NO Credit
• Ingress VOQ scheduler polls Egress scheduler (maintaining a local VOQ DB)
• Egress answers with a credit-message (or not, in our example)
• Egress device decides how much traffic can be sent by granting credits to any
ingress requesting Forwarding ASIC
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
NCS5500 VOQ-Only Architecture
Fabric Card 0

Ingress Virtual Fabric Card 1 Egress


Egress Port
Interface Output
Queues Interface
Queues
Net Fab Fabric Card 2 Fab Net

Fabric Card 3

Queue-Status ?
Ingress VOQ Fabric Card 4 Egress VOQ
Scheduler Scheduler

Fabric Card 5
NO Credit
• Packets are piling up in the ingress buffer

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
NCS5500 VOQ-Only Architecture
Fabric Card 0

Ingress Virtual Fabric Card 1 Egress


Egress Port
Interface Output
Queues Interface
Queues
Net Fab Fabric Card 2 Fab Net

Fabric Card 3

Queue-Status ?
Ingress VOQ Fabric Card 4 Egress VOQ
Scheduler Scheduler

Fabric Card 5
NO Credit
• Packets are piling up in the ingress buffer
• If a given queue size is exceeded, new packets are tail-dropped

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
NCS5500 VOQ-Only Architecture
Fabric Card 0

Ingress Virtual Fabric Card 1 Egress


Egress Port
Interface Output
Queues Interface
Queues
Net Fab Fabric Card 2 Fab Net

Fabric Card 3

Queue-Status ?
Ingress VOQ Fabric Card 4 Egress VOQ
Scheduler Scheduler

Fabric Card 5
Credit
• Finally, the egress scheduler grants the credit for packet transmission

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
NCS5500 VOQ-Only Architecture
Fabric Card 0

ingress Virtual Fabric Card 1 egress


Egress Port
Interface Output
Queues Interface
Queues
Net Fab Fabric Card 2 Fab Net

Fabric Card 3

Ingress VOQ Fabric Card 4 Egress VOQ


Scheduler Scheduler

Fabric Card 5

• Packet is split in cells and load balanced among the fabric cards
• Cells are transported to the egress line card

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
NCS5500 VOQ-Only Architecture

• Let’s take the example of a 1400B packet

256B 256B 188B

256B 256B 188B

• If the last part is between 256B and 512B, we divide by 2


1400 – 4 x 256 = 376 = 2 x 188

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
NCS5500 VOQ-Only Architecture
Fabric Card 0

ingress Virtual Fabric Card 1 egress


Egress Port
Interface Output
Queues Interface
Queues
Net Fab Fabric Card 2 Fab Net

Fabric Card 3

Ingress VOQ Fabric Card 4 Egress VOQ


Scheduler Scheduler

Fabric Card 5

• Cells are collected and packet re-assembled


• Packet is stored in the port queue
• Finally packet is transmitted through the egress interface

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
NCS5500 VOQ-Only Architecture in SoCs

Ingress Virtual Egress


Egress Port
Interface Output
Queues Interface
Queues
Net Net

Queue-Status ?
Ingress VOQ Egress VOQ
Scheduler Scheduler

Credit

• Packet is received on ingress interface, classified, and stored in internal buffer


• Ingress VOQ scheduler polls Egress scheduler (maintaining a local VOQ DB)
• Egress answers with a credit-message

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
NCS5500 VOQ-Only Architecture in SoCs

Ingress Virtual Egress


Egress Port
Interface Output
Queues Interface
Queues
Net Net

Ingress VOQ Egress VOQ


Scheduler Scheduler

• Packet is stored in the port queue


• Finally packet is transmitted through the egress interface

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 126
FMQ and Life of a
Multicast Packet
Multicast in NCS5500
• (S,G) information stored in LPM and takes one entry each
• IPv4 key (VRF, S, G)
• IPv6 key (VRF, G)
• MCID / FGID
• Replication performed at two levels
• Fabric level
• Egress Forwarding ASIC level

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 128
NCS5500 System Architecture
Control Plane
• IGMP and PIM joins are punted to RP CPU process (igmp/pim)
• Packets use EPC internal network to reach the process executed on RP LXC
MRIB

RP CPU
or
L2FIB

LC1
Hu0/1/0/0
NIF

NPU-0
Hu0/1/0/5
NIF

Hu0/1/0/7 NPU-1

LC2
Hu0/2/0/3
NIF

NPU-0
Hu0/2/0/4

IGMP/PIM Join #CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 129
NCS5500 System Architecture
Control Plane
• If it’s a new group, the process (MRIB or L2FIB) will allocate a Multicast ID (MCID)
• If a MCID is already allocated, information will be updated based on join/leave
MRIB

RP CPU
or MCID 60414
L2FIB

LC1
Hu0/1/0/0
NIF

NPU-0
Hu0/1/0/5
NIF

Hu0/1/0/7 NPU-1

LC2
Hu0/2/0/3
NIF

NPU-0
Hu0/2/0/4

IGMP/PIM Join #CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 130
NCS5500 System Architecture
Control Plane: Identifying MCID
• MCID is often times referred as FGID internally
• You can find the MCID associated to a (*,G) or (S,G) pair with the following CLI:

RP/0/RP0/CPU0:Router#sh mrib route 50.41.13.11 232.31.0.12 detail

IP Multicast Routing Information Base


<SNIP>

(50.41.13.11,232.31.0.12) Ver: 0xef18 RPF nbr: 16.2.4.1 Flags: RPF, FGID: 9155
Up: 04:20:11
Incoming Interface List
Bundle-Ether162.4 Flags: A, Up: 04:20:11
Outgoing Interface List
Bundle-Ether361.6 Flags: F NS, Up: 04:20:11
RP/0/RP0/CPU0:Router#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 131
NCS5500 System Architecture
Control Plane
• The process running on RP CPU will dynamically compute two tables for each MCID
• MCID mapping is a 128 bitmap mask where Ones represent NPUs who received a join
and who expect a copy of the packet from the fabric
• MCID-DB associates ports where a MCID 60414

RP CPU
IGMP/PIM
replication is expected process
LC1
Hu0/1/0/0
NIF

NPU-0
Hu0/1/0/5 Fabric Egress LC

MCID-Mapping MCID-DB
NIF

Hu0/1/0/7 NPU-1
60414 LC1 NPU0 60414 LC1 Int-0
LC2 NPU0 Int-5
LC1 NPU1
Hu0/2/0/3 LC1
LC2 NPU0 Int-7
NIF

NPU-0 NPU1
Hu0/2/0/4
 0000010011..000
LC2 Int-3
IGMP/PIM Join NPU0 Int-4

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 132
For Reference

NCS5500 System Architecture


Show Commands
RP/0/RP0/CPU0:ios#show mrib route detail
<SNIP>
(25.1.1.2,232.1.1.4) Ver: 0x6632 RPF nbr: 25.1.1.2 Flags: RPF, FGID: 3177
Up: 2w4d
Incoming Interface List
BVI1 Flags: A, Up: 2w4d
Outgoing Interface List
TenGigE0/3/0/3/0.100 Flags: F NS LI, Up: 2w4d
RP/0/RP0/CPU0:ios#
RP/0/RP0/CPU0:ios#show mfib route 232.1.1.4 location 0/3/CPU0

(25.1.1.2,232.1.1.4), Flags:
Up: 2w4d
Last Used: never
SW Forwarding Counts: 0/0/0
SW Replication Counts: 0/0/0
SW Failure Counts: 0/0/0/0/0
TenGigE0/3/0/1/0.100 Flags: A, Up:2w4d
TenGigE0/3/0/2/0.200 Flags: NS EG, Up:2w4d

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 133
For Reference

NCS5500 System Architecture


MCID Bitmap
RP/0/RP0/CPU0:ios#show mrib fgid info 3177

FGID information
----------------
FGID (type) : 3177 (Primary)
Context : IP (0xe0000000, 25.1.1.2, 232.1.1.4/32)
Members[ref] : 0/3/0[1]
LineCard Slot : 3 :: Npu Instance 0
FGID bitmap
0x0000000000040000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000
FGID chkpt context valid : TRUE
FGID chkpt context :
table_id 0xe0000000 group 0xe8010104/32 source 0x19010102
FGID chkpt info : 0x23000000
Fgid in batch : NO
Secondary node count : 0
RP/0/RP0/CPU0:ios#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 134
For Reference
NCS5500 System Architecture
MCID Bitmap
sysadmin-vm:0_RP0# show controller fabric fgid information id 10927 detail

Displaying FGID: 10927


FGID Information:

FGID number: 10927

FGID Hex bitmap:


0x00001fffc0000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000
0x0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000
0x0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000
0x0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000
0x0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000 0000000000000000-0000000000000000

FGID Binary bitmap:


0000000000000000000111111111111111000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
NCS5500 System Architecture
Data Plane
• Multicast Packet is received on ingress interface

• Lookup provides a FEC-ID itself pointing to MCID


• In LPM for L3 packets (we will use it as an example)
• In iTCAM for L2 packets (future plans to move them to LPM too)

LC1
Forwarding FEC Resolution Fabric NPU-0 Hu0/1/0/0

NIF
Interface egress Hu0/1/0/5

LPM FEC MCID NPU-1

NIF
NIF

Hu0/1/0/7
egress

(VRF, S, G) LC2
Lookup RPF check Hu0/2/0/3
NPU-0

NIF
Ingress Pipeline Fabric Cards egress Hu0/2/0/4

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 136
NCS5500 System Architecture
Data Plane
• Internal Header has been marked with MCID

• Packet is passed to the fabric interface and split in cells


• Based on MCID-Mapping bitmap, the cells are replicated in the
fabric to the NPUs where they are re-assembled by fabric interfaces
MCID-Mapping

60414 0000010011..000 LC1


Forwarding FEC Resolution Fabric NPU-0 Hu0/1/0/0

NIF
Interface egress Hu0/1/0/5

LPM FEC MCID NPU-1

NIF
NIF

Hu0/1/0/7
egress

(VRF, S, G) LC2
Lookup RPF check Hu0/2/0/3
NPU-0

NIF
Ingress Pipeline Fabric Cards egress Hu0/2/0/4

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 137
NCS5500 System Architecture
Data Plane
MCID-DB
• Re-assembled packets 60414 LC1 NPU0 Int-0
will be replicated on Int-5
Hu0/1/0/0
egress NPU based on NPU-0

LC1

NIF
egress
MCID-DB information Hu0/1/0/5

It’s the second level


MCID-DB
• 60414 LC1 NPU0 Int-7
of replication NPU

LC1
ingress NPU-1

NIF
Hu0/1/0/7
egress

MCID-DB

60414 LC1 NPU0 Int-3


Int-4
Hu0/2/0/3

LC2
NPU-0

NIF
egress
Fabric Cards Hu0/2/0/4

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 138
Multicast Packet Queueing in NCS5500
• Based on Fabric Multicast Queues
• Pairs of Traffic Class mapped into FMQ
• TC 0 and 1 to FMQ 0
• TC 2 and 3 to FMQ 1
• TC 4 and 5 to FMQ 2
• TC 6 and 7 to FMQ 3

• Not scheduled / Not handled by QoS scheduling configuration


(but classification and remarking is supported)
• Back pressure mechanism needed
• Tie-break rule in case of egress congestion

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 139
Multicast Packet Queueing in NCS5500
Fabric Card 0

Egress Port Egress


Ingress Fabric Card 1
Fab Queues Net Interfaces
Fabric
Interface Multicast
Queues
Fabric Card 2
Net Fab

Fabric Card 3

FMQ3 – Traffic Class 6, 7


Fabric Card 4 Egress Port
Ingress classification, Fab Queues Net Egress
FMQ2 – Traffic Class 4, 5
mcast packets assigned FMQ1 – Traffic Class 2, 3 Interface
to Traffic Class X FMQ0 – Traffic Class 0, 1 Fabric Card 5

• Input policy-map sets traffic class


• Traffic Class mapped in one of the 4 FMQs, by default: goes to FMQ0

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 140
Multicast Packet Queueing in NCS5500
Fabric Card 0

Egress Port Egress


Ingress Fabric Card 1
Fab Queues Net Interfaces
Fabric
Interface Multicast
Queues
Fabric Card 2
Net Fab

Fabric Card 3

Fabric Card 4 Egress Port


Input Fab Queues Net Egress
Interface
policy- Fabric Card 5
map

• Ingress Interface receives packet, applies input policy-map


• Then it makes forwarding decision and selects FMQ based on traffic class value

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 141
Multicast Packet Queueing in NCS5500
Fabric Card 0

Egress Port Egress


Ingress Fabric Card 1
Fab Queues Net Interfaces
Fabric
Interface Multicast
Queues
Fabric Card 2
Net Fab

Fabric Card 3

Fabric Card 4 Egress Port


Not Fab Queues Net Egress
controlled Interface
by output Fabric Card 5

policy-map

• Ingress Traffic Manager selects packet from an FMQ and gives it to Ingress Fab

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 142
Multicast Packet Queueing in NCS5500
Fabric Card 0

Egress Port Egress


Ingress Fabric Card 1
Fab Queues Net Interfaces
Fabric
Interface Multicast
Queues
Fabric Card 2
Net Fab

Fabric Card 3

Fabric Card 4 Egress Port


Fab Queues Net Egress
Interface
Fabric Card 5

• Ingress Fab splits packet into cells and load balances them across the fabric cards

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 143
Multicast Packet Queueing in NCS5500
Fabric Card 0

Egress Port Egress


Ingress Fabric Card 1
Fab Queues Net Interfaces
Fabric
Interface Multicast
Queues
Fabric Card 2
Net Fab

Fabric Card 3

Fabric Card 4 Egress Port


Fab Queues Net Egress
Interface
Fabric Card 5

• Fabric cards replicate cells to each egress card


• Egress Fab reassembles and replicates to each interface’s egress queues

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 144
Multicast Packet Queueing in NCS5500
Fabric Card 0
Egress Egress
Ingress Fab Interface Net Interfaces
Fabric Fabric Card 1
Interface Queues
Multicast
Queues Not
Fabric Card 2
Net Fab
controlled
by output
Fabric Card 3
policy-map

Fabric Card 4
Egress
Fab Interface Net Egress
Queues Interface
Fabric Card 5

• Egress Traffic Manager selects packets from egress interface queues


• Egress Net transmits packets
• No ingress replication (one at the fabric, one at the egress NPU level)
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 145
Multicast Packet Queueing in NCS5500

Fabric Card 0 « priority class »


FMQ 3
Fabric Card 1 Unicast HP
Multicast HP
Fabric Card 2 Fab Net Egress
Unicast LP Interface
Fabric Card 3
Multicast LP

Fabric Card 4
Other non-priority classes
HP High Priority
LP Low Priority
FMQ 0-2
Fabric Card 5

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 146
NCS5500
Memory Structure
Route Scale per Platform
Hardware Scale
NCS-5501 1.1M pfx
NCS-5501-SE 2.75M pfx
NCS-5502 1.1M pfx
NCS-5502-SE 2.75M pfx
NCS-55A1-36H-S 1.1M pfx
NCS-55A1-36H-SE-S 4M pfx
NCS-55A1-24H 2M+ pfx
NCS-55A2-MOD-S 1.1M pfx
NCS-55A2-MOD-HD-S 1.1M pfx
NCS-55A2-MOD-SE-S 4M pfx
NCS-55A1-48Q6H 2M+ pfx
NCS-55A1-24Q6H-S 1.1M pfx
#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 148
Route Scale per Platform
Hardware Scale
NC55-36X100G 1.1M pfx
NC55-24X100G-SE 2.75M pfx
NC55-18H18F 1.1M pfx
NC55-24H12F-SE 2.75M pfx
NC55-36X100G-S 1.1M pfx
NC55-6x200-DWDM-S 1.1M pfx
NC55-36X100G-A-SE 4M pfx
NC55-MOD-A-S 1.1M pfx
NC55-MOD-A-SE-S 4M pfx

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 149
NCS5500 Forwarding ASIC Details
Memory / Databases
LPM
• Longest Prefix Match Database (LPM or KAPS) 256k-350K
Or
• Used to store IPv4 and IPv6 prefixes 1M-1.5M
entries
• Algorithmic memory: 256k-350k / 1M-1.5M entries (IPv6 uses 2)
• Large Exact Match Database (LEM) LEM
z
786k
• Used to store MAC addresses, MPLS labels and IPv4 host prefix entries
(but also /24, /23, /20… Database size: 786k entries)
• Internal TCAM (iTCAM) iTCAM
• Packet classification 48k
(ACL, QoS, VLAN ranges, tunnels. Database size: 48k entries)
• External TCAM (eTCAM, not on all line cards / systems) eTCAM
2M / 4M+
• Used for unicast route scale up to 2M or 4M+ IPv4 Routes entries

• Used to extend ACL and classification


#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 150
NCS5500 Forwarding ASIC Details
Algorithmic Database
• LPM memory is qualified for 256k IPv4 or 128k IPv6 addresses worst case

• Algorithmic memory scaling higher: around 350k with Internet v4


distribution and 160k with Internet v6 distribution
RP/0/RP0/CPU0:Router#show contr fia diagshell 0 "kbp kaps_db_stats" location 0/0/CPU0

Node ID: 0/0/CPU0

Table Configuration

Table-ID Table-Name Size Table Width AD Width Entry Count ~Capacity


8 - Public FLP IPv4 UC KAPS 256000 50 20 308390 342530
8 - Private FLP IPv4 UC KAPS 256000 50 20 308390 342530

<SNIP>

53 - Public FLP IPv4 UC SCALE SHORT KAPS 256000 42 20 308390 342530


53 - Private FLP IPv4 UC SCALE SHORT KAPS 256000 42 20 308390 342530
54 - Public FLP IPv4 UC SCALE LONG KAPS 256000 50 20 308390 342530
54 - Private FLP IPv4 UC SCALE LONG KAPS 256000 50 20 308390 342530
RP/0/RP0/CPU0:Router#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 151
NCS5500 Forwarding ASIC Details
Network Interface
PP TM LPM PP TM

Algorithmic Database – Specific Cases Off-chip


Buffers
On-chip Buffer LEM OTM

TCAM

• Platforms with large LPM J+


PP TM PP TM
STAT

Ingress FEC Egress


• NCS-55A1-24H Fabric Interface
• NCS-55A1-48Q6H
• LPM is algorithmic memory too and is qualified for minimum of 1M IPv4
prefixes and could scale up to 1.5M+
HW Resource Information
Name : lpm Current Usage
NPU-0
OOR Information Total In-Use : 287936 (17 %)
NPU-0 iproute : 287904 (17 %)
Estimated Max Entries : 1686996 ip6route : 11 (0 %)
Red Threshold : 95 ipmcroute : 1 (0 %)
Yellow Threshold : 80 ip6mcroute : 0 (0 %)
OOR State : Green

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 152
NCS5500 Forwarding ASIC Details
Memory / Databases
• FEC FEC
128k
• Used for NextHop and ECMP (128k entries)
• Contains the FEC ECMP (4k entries) ECMP FEC
4k

• Egress Encapsulation DB (EEDB)


• Used for egress rewrites (96k entries) EEDB

• Link Local – ARP, ND z


• Tunnel – MPLS label, GRE, etc
ISEM
• Ingress/Egress Small Exact Match (ISEM/ESEM)
• Used for tunnel termination and egress VLAN translation ESEM

• Statistics Stats
• Used to store all counters (256k entries)
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 153
NCS5500 Databases
For Packet Lookup
• Prefix lookup points to FEC Entry

• FEC Entry contains VOQ / Egress Interface and EEDB (encapsulation entry)
• EEDB indicates the encapsulation for the packet (ARP, ND or GRE, MPLS, …)
Forwarding FEC Resolution Header Editor Encap Editor

LEM
ECMP ECMP
EEDB
FEC FEC
LPM

FABRIC
FEC FEC
eTCAM
Next-Hop
Prefixes Load-balancing

Ingress Pipeline Egress Pipeline


#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 154
Memory Structure for Non-eTCAM Systems / LC
Host Optimized Mode (Default)

LEM LPM LEM LPM


LPM
256k-350K
IPv4 prefixes IPv4 Lookup 1 Lookup 1 Lookup 2 Lookup 2
or (except those in LEM)
1M-1.5M IPv6 prefixes (non-/48s) /32 /31  /25 /24 /23  /0
entries Multicast groups v4
z
LEM IPv4 prefixes (/32s and /24s) LPM LEM LPM
IPv6 prefixes (/48s)
IPv6 Lookup 1 Lookup Lookup 2
786k
entries
MPLS labels /128  /49 /48 /47  /0
MAC addresses

MPLS LEM
MAC Lookup

Qumran-MX no eTCAM / Jericho no eTCAM / Jericho+ no eTCAM

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 155
For Reference

Non-eTCAM Systems / LC Host Optimized Mode


Illustration with 2018 Internet View: 655815 v4 and 58966 v6 real routes
• Jericho / Qumran-MX / Jericho+ with “normal” LPM

HW Resource Information
Name : lem
v4/32 and v4/24
Current Usage
NPU-0
Total In-Use : 386610 (49 %) v6/48
iproute : 367385 (47 %)
ip6route : 19222 (2 %)
mplslabel : 5 (0 %)

HW Resource Information
Name : lpm
Other v4 routes
Current Usage
NPU-0
Total In-Use : 328236 (83 %) Other v6 routes
iproute : 288456 (73 %)
ip6route : 39767 (10 %)
ipmcroute : 0 (0 %)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 156
For Reference

Non-eTCAM Systems / LC Host Optimized Mode


Illustration with 2019 Internet View: 751665 v4 and 42856 v6 real routes
• Jericho+ with “large” LPM

HW Resource Information
Name : lem
v4/32 and v4/24
Current Usage
NPU-0
Total In-Use : 396636 (50 %) v6/48
iproute : 376997 (48 %)
ip6route : 19650 (2 %)
mplslabel : 0 (0 %)

HW Resource Information
Name : lpm
Other v4 routes
Current Usage
NPU-0
Total In-Use : 397915 (24 %) Other v6 routes
iproute : 374680 (23 %)
ip6route : 23214 (1 %)
ipmcroute : 1 (0 %)
ip6mcroute : 0 (0 %)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 157
Memory Structure for Jericho non-eTCAM
Internet Optimized Mode
LPM LEM LEM LPM
LPM IPv4 prefixes IPv4 Lookup 1 Lookup 1 Lookup 2 Lookup 2
256k-350K
or
(except those in LEM)
IPv6 prefixes (non-/48s) /32  /25 /24 and /23 /20 /22, /21, /20
1M-1.5M
entries Multicast groups v4 /19  /0

z LPM LEM LPM


LEM IPv4 prefixes (/20s, /23s - /24s) IPv6 Lookup 1 Lookup Lookup 2
IPv6 prefixes (/48s)
786k /128  /49 /48 /47  /0
entries
MPLS labels
MAC addresses
MPLS LEM
MAC Lookup

RP/0/RP0/CPU0:NCS55A1-24H-6.5.1(config)# hw-module fib ipv4 scale ?


host-optimized-disable Configure Host optimization by default
internet-optimized Configure Intetrnet optimized
RP/0/RP0/CPU0:NCS55A1-24H-6.5.1(config)#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 158
For Reference

Non-eTCAM Systems / LC Internet Optimized Mode


Illustration with Public Internet View: 655815 v4 and 58966 v6 real routes
• Jericho / Qumran-MX / Jericho+ with “normal” LPM
HW Resource Information
Name : lem
v4/24, v4/23 expanded
Current Usage v4/20
NPU-0
Total In-Use : 530670 (67 %) v6/48
iproute : 518495 (66 %)
ip6route : 19222 (2 %)
mplslabel : 5 (0 %)

HW Resource Information
Name : lpm
Other v4 routes
Current Usage v4/20 with overlaps
NPU-0
Total In-Use : 231172 (51 %) Other v6 routes
iproute : 194021 (43 %)
ip6route : 39768 (9 %)
ipmcroute : 0 (0 %)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 159
For Reference

Non-eTCAM Systems / LC Internet Optimized


Illustration with 2019 Internet View: 751665 v4 and 42856 v6 real routes
• Jericho+ with “large” LPM: not recommended

HW Resource Information
Name : lem
v4/24, v4/23 and v4/20
Current Usage
NPU-0
Total In-Use : 546064 (69 %) v6/48
iproute : 526417 (67 %)
ip6route : 19650 (2 %)
mplslabel : 0 (0 %)

HW Resource Information
Name : lpm
Other v4 routes
Current Usage
NPU-0
Total In-Use : 297077 (18 %) Other v6 routes
iproute : 273842 (17 %)
ip6route : 23214 (1 %)
ipmcroute : 1 (0 %)
ip6mcroute : 0 (0 %)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 160
Profile Recommendation For Base Systems
Hardware NPU Profile
NCS-5501 Qumran-MX Internet-optimized
NCS-5502 Jericho Internet-optimized
NCS-55A1-36H-S Jericho+ Internet-optimized
NCS-55A1-24H Jericho+ Large LPM Host-optimized
NCS-55A2-MOD-S Jericho+ Internet-optimized
NCS-55A1-48Q6H Jericho+ Large LPM Host-optimized
NCS-55A1-24Q6H-S Jericho+ Internet-optimized

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 161
Memory Structure for J w/ eTCAM Systems / LC
Default Distribution

LPM LEM eTCAM


64k-160k IPv6 pfx IPv4 Lookup Lookup
256k-350k except /48s
entries /32 /31  /0
IPv4 Multicast Groups
z
LEM IPv4 /32s
IPv6 /48s LPM LEM LPM
786k
MPLS labels
IPv6 Lookup 1 Lookup Lookup 2
entries
MAC addresses /128  /49 /48 /47  /0

eTCAM
2M IPv4 pfx (non /32s) MPLS LEM
entries MAC Lookup

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 162
For Reference

Memory Structure for J w/ eTCAM


Illustration with Public Internet View: 655815 v4 and 58966 v6 real routes
HW Resource Information
Name : lem
v4/32
Current Usage
NPU-0 v6/48
Total In-Use : 20132 (3 %)
iproute : 904 (0 %)
ip6route : 19222 (2 %)
mplslabel : 5 (0 %)

HW Resource Information
Name : lpm
No v4 routes in LPM
Current Usage
NPU-0
Total In-Use : 39786 (10 %) Other v6 routes
iproute : 0 (0 %)
ip6route : 39767 (10 %)
ipmcroute : 0 (0 %)

HW Resource Information
Name : ext_tcam_ipv4
All v4 routes
Current Usage
NPU-0 except v4/32
Total In-Use : 654937 (40 %)
iproute : 654937 (40 %)
ipmcroute : 0 (0 %)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 163
Memory Structure for J+ w/ eTCAM Systems / LC
IOS XR 6.3.2 Onwards

LPM

256k-350k IPv4 Multicast Groups


entries
eTCAM
z IPv4/IPv6 Lookup
LEM
MPLS labels Everything
786k
entries MAC addresses
MPLS LEM
MAC Lookup

eTCAM
4M IPv4 + IPv6 pfx
entries

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 164
For Reference

Demos
http://iosxr.io/ncs5500/

http://bit.ly/ncs5500-base http://bit.ly/ncs5500-scale

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 165
NCS5500
Resource
Monitoring
Monitoring Memory Resources
Thresholds Yellow / Red
• For both base and scale systems

• Hardware programming is done through an abstraction layer: DPA

Routing Data Plane Hardware


RIB
Protocols Abstraction Resources

• Each database is using two thresholds: yellow at 80% and red at 95%
LC/0/0/CPU0:Jan 18 23:41:56.750 : fia_driver[279]: %PLATFORM-DPA-1-OOR_RED : NPU 0, Table iproute
LC/0/0/CPU0:Jan 18 23:41:56.750 : fia_driver[279]: %PLATFORM-DPA-4-OOR_YELLOW : NPU 0, Table iproute
LC/0/0/CPU0:Jan 18 23:41:56.750 : fia_driver[279]: %PLATFORM-DPA-1-OOR_RED : NPU 0, Table iproute
LC/0/0/CPU0:Jan 18 23:42:00.336 : fia_driver[279]: %PLATFORM-DPA-1-OOR_RED : NPU 2, Table iproute
LC/0/0/CPU0:Jan 18 23:42:00.418 : fia_driver[279]: %PLATFORM-DPA-1-OOR_RED : NPU 4, Table iproute
LC/0/0/CPU0:Jan 18 23:42:00.438 : fia_driver[279]: %PLATFORM-DPA-4-OOR_YELLOW : NPU 4, Table iproute
LC/0/0/CPU0:Jan 18 23:42:00.439 : fia_driver[279]: %PLATFORM-DPA-1-OOR_RED : NPU 4, Table iproute

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 167
Monitoring Memory Resources
Exceeding a Database Capacity
• DPA will not program new prefixes and “Hw failures” counter will increment

• Example: advertising 800k IPv4 /24s (in LEM database):


• 784k prefixes are actually programmed and 16k are generating failures
RP/0/RP0/CPU0:NCS5508#sh dpa resources iproute location 0/0/CPU0

<SNIP>
NPU ID: NPU-0 NPU-1 NPU-2 NPU-3 NPU-4 NPU-5
<SNIP>
Errors
HW Failures: 16131 16131 16131 16132 16131 16131
Resolve Failures: 0 0 0 0 0 0
No memory in DB: 0 0 0 0 0 0
Not found in DB: 0 0 0 0 0 0
Exists in DB: 0 0 0 0 0 0
RP/0/RP0/CPU0:NCS5508#
RP/0/RP0/CPU0:NCS5508#sh contr npu resources lem location 0/0/CPU0
<SNIP>
Current Usage
NPU-0
Total In-Use : 783898 (100 %)
iproute : 783898 (100 %) (Prefix Count: 783898)
mplslabel : 0 (0 %) (Prefix Count: 0)
<SNIP>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 168
Monitoring Memory Resources
CLI to Check LEM Database Usage
RP/0/RP0/CPU0:5508-6.3.2#sh contr npu resources all loc 0/1/CPU0 <...>

HW Resource Information Current Usage


Name : lem NPU-0
Total In-Use : 434785 (55 %)
OOR Information iproute : 434784 (55 %)
NPU-0 ip6route : 0 (0 %)
Estimated Max Entries : 786432 mplslabel : 0 (0 %)
Red Threshold : 95 NPU-1
Yellow Threshold : 80 Total In-Use : 434785 (55 %)
OOR State : Green iproute : 434784 (55 %)
NPU-1 ip6route : 0 (0 %)
Estimated Max Entries : 786432 mplslabel : 0 (0 %)
Red Threshold : 95
Yellow Threshold : 80 <...>
OOR State : Green
<...> NPU-3
NPU-3 Total In-Use : 434785 (55 %)
Estimated Max Entries : 786432 iproute : 434784 (55 %)
Red Threshold : 95 ip6route : 0 (0 %)
Yellow Threshold : 80 mplslabel : 0 (0 %)
OOR State : Green
<...> <...>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 169
For Reference

Monitoring Memory Resources


CLI to Check LPM Database Usage
HW Resource Information Current Usage
Name : lpm NPU-0
Total In-Use : 26 (0 %)
OOR Information iproute : 0 (0 %)
NPU-0 ip6route : 0 (0 %)
Estimated Max Entries : 338879 ipmcroute : 1 (0 %)
Red Threshold : 95 NPU-1
Yellow Threshold : 80 Total In-Use : 26 (0 %)
OOR State : Green iproute : 0 (0 %)
NPU-1 ip6route : 0 (0 %)
Estimated Max Entries : 338879 ipmcroute : 1 (0 %)
Red Threshold : 95
Yellow Threshold : 80 <SNIP>
OOR State : Green
NPU-3
<SNIP> Total In-Use : 26 (0 %)
iproute : 0 (0 %)
NPU-3 ip6route : 0 (0 %)
Estimated Max Entries : 338879 ipmcroute : 1 (0 %)
Red Threshold : 95
Yellow Threshold : 80 <...>
OOR State : Green

<...>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 170
For Reference

Monitoring Memory Resources


CLI to Check EEDB/Encap Database Usage
HW Resource Information Current Usage
Name : encap NPU-0
Total In-Use : 2 (0 %)
OOR Information ipnh : 0 (0 %)
NPU-0 ip6nh : 0 (0 %)
Estimated Max Entries : 80000 mplsnh : 2 (0 %)
Red Threshold : 95 NPU-1
Yellow Threshold : 80 Total In-Use : 2 (0 %)
OOR State : Green ipnh : 0 (0 %)
NPU-1 ip6nh : 0 (0 %)
Estimated Max Entries : 80000 mplsnh : 2 (0 %)
Red Threshold : 95
Yellow Threshold : 80 <SNIP>
OOR State : Green
NPU-3
<SNIP> Total In-Use : 2 (0 %)
ipnh : 0 (0 %)
NPU-3 ip6nh : 0 (0 %)
Estimated Max Entries : 80000 mplsnh : 2 (0 %)
Red Threshold : 95
Yellow Threshold : 80
OOR State : Green

<...>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 171
For Reference

Monitoring Memory Resources


CLI to Check eTCAM Usage
HW Resource Information <...>
Name : ext_tcam_ipv4
Current Usage
OOR Information NPU-0
NPU-0 Total In-Use : 1186457 (30 %)
Estimated Max Entries : 4000000 iproute : 1186472 (30 %)
Red Threshold : 95 NPU-1
Yellow Threshold : 80 Total In-Use : 1186457 (30 %)
OOR State : Green iproute : 1186472 (30 %)
NPU-1 NPU-2
Estimated Max Entries : 4000000 Total In-Use : 1186457 (30 %)
Red Threshold : 95 iproute : 1186472 (30 %)
Yellow Threshold : 80 NPU-3
OOR State : Green Total In-Use : 1186457 (30 %)
iproute : 1186472 (30 %)
<SNIP>
<...>
NPU-3
Estimated Max Entries : 4000000
Red Threshold : 95
Yellow Threshold : 80
OOR State : Green

<...>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 172
For Reference

Monitoring Memory Resources


CLI to Check FEC Database Usage
HW Resource Information <...>
Name : fec
Current Usage
OOR Information NPU-0
NPU-0 Total In-Use : 68 (0 %)
Estimated Max Entries : 126976 ipnhgroup : 55 (0 %)
Red Threshold : 95 ip6nhgroup : 13 (0 %)
Yellow Threshold : 80 NPU-1
OOR State : Green Total In-Use : 68 (0 %)
NPU-1 ipnhgroup : 55 (0 %)
Estimated Max Entries : 126976 ip6nhgroup : 13 (0 %)
Red Threshold : 95 NPU-2
Yellow Threshold : 80 Total In-Use : 68 (0 %)
OOR State : Green ipnhgroup : 55 (0 %)
ip6nhgroup : 13 (0 %)
<SNIP> NPU-3
Total In-Use : 68 (0 %)
NPU-3 ipnhgroup : 55 (0 %)
Estimated Max Entries : 126976 ip6nhgroup : 13 (0 %)
Red Threshold : 95
Yellow Threshold : 80
OOR State : Green <...>

<...>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 173
For Reference

Monitoring Memory Resources


CLI to Check ECMP FEC Database Usage
HW Resource Information <...>
Name : ecmp_fec
Current Usage
OOR Information NPU-0
NPU-0 Total In-Use : 0 (0 %)
Estimated Max Entries : 4096 ipnhgroup : 0 (0 %)
Red Threshold : 95 ip6nhgroup : 0 (0 %)
Yellow Threshold : 80 NPU-1
OOR State : Green Total In-Use : 0 (0 %)
NPU-1 ipnhgroup : 0 (0 %)
Estimated Max Entries : 4096 ip6nhgroup : 0 (0 %)
Red Threshold : 95 NPU-2
Yellow Threshold : 80 Total In-Use : 0 (0 %)
OOR State : Green ipnhgroup : 0 (0 %)
ip6nhgroup : 0 (0 %)
<SNIP> NPU-3
Total In-Use : 0 (0 %)
NPU-3 ipnhgroup : 0 (0 %)
Estimated Max Entries : 4096 ip6nhgroup : 0 (0 %)
Red Threshold : 95
Yellow Threshold : 80
OOR State : Green <...>

<...>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 174
For Reference

Monitoring Memory Resources


CLI to Check ECMP FEC Database Usage before 6.3.15
RP/0/RP0/CPU0:ios#show contr npu diag alloc all instance 0 location 0/7/CPU0

Node ID: 0/7/CPU0


<SNIP>
Pool FECs for global use Total number of entries: 126976 Used entries 14 Lowest entry ID is: 4096(0x1000)
Pool VLAN translation ingress usage is unavalible.
Pool VLAN translation egress usage is unavalible.
Pool VSIs for TB VLANS Total number of entries: 4096 Used entries 0 Lowest entry ID is: 1(0x1)
Pool VSIs for MSTP Total number of entries: 28672 Used entries 1 Lowest entry ID is: 4096(0x1000)
Pool FEC Failover id (Jericho) Total number of entries: 65533 Used entries 1 Lowest entry ID is: 1(0x1)
Pool Ingress Failover id (Jericho) Total number of entries: 32767 Used entries 0 Lowest entry ID is: 1(0x1)
Pool Egress Failover id (Jericho) Total number of entries: 32767 Used entries 0 Lowest entry ID is: 1(0x1)
Pool Failover id (Arad+ and below) is unavalible.
Pool QOS INGRESS LABEL MAP ID Total number of entries: 1 Used entries 0 Lowest entry ID is: 0(0x0)
Pool QOS INGRESS LIF/COS IDs Total number of entries: 63 Used entries 0 Lowest entry ID is: 1(0x1)
Pool QOS INGRESS PCP PROFILE IDs Total number of entries: 15 Used entries 0 Lowest entry ID is: 1(0x1)
Pool QOS INGRESS COS OPCODE IDs Total number of entries: 7 Used entries 0 Lowest entry ID is: 0(0x0)
Pool QOS EGRESS REMARK QOS IDs Total number of entries: 15 Used entries 0 Lowest entry ID is: 1(0x1)
Pool QOS EGRESS MPLS PHP QOS IDs Total number of entries: 3 Used entries 0 Lowest entry ID is: 1(0x1)
Pool number of meters in processor A Total number of entries: 65536 Used entries 442 Lowest entry ID is: 0(0x0)
Pool number of meters in processor B Total number of entries: 65536 Used entries 12 Lowest entry ID is: 0(0x0)
Pool SW handles of policer Total number of entries: 7 Used entries 0 Lowest entry ID is: 1(0x1)
Pool ECMP id Total number of entries: 4095 Used entries 0 Lowest entry ID is: 1(0x1)
Pool QOS EGRESS L2 I TAG PROFILE IDs Total number of entries: 1 Used entries 0 Lowest entry ID is: 0(0x0)
Pool QOS EGRESS DSCP/EXP MARKING PROFILE ID,s Total number of entries: 4 Used entries 0 Lowest entry ID is: 0(0x0)
<SNIP>

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 175
For Reference

Monitoring Memory Resources


Alternative CLI to Check eTCAM Database Usage
RP/0/RP0/CPU0:NCS5508-1-631#show controllers npu diag kbp dbstats instance 0 location 0/1/CPU0
...
Table Configuration

Tbl-ID Tbl-Name Size Width AD Width Num ent. ~Capacity Shuffles


--------------------------------------------------------------------------------
0 IPv4 UC 1024000 80 64 37 75591 0
1 IPv4 RPF 1024000 80 32 0 0 0
18 IPV4 UC DUMMY 0 80 32 0 0 0
...
RP/0/RP0/CPU0:NCS5508-1-631#show controllers npu diag kbp dbstats instance 0 location 0/6/CPU0
...
Table Configuration

Tbl-ID Tbl-Name Size Width AD Width Num ent. ~Capacity Shuffles


--------------------------------------------------------------------------------
15 IPV4 DC 2048000 80 24 8 2048000 0
20 IPV4 DC DUMMY 0 80 32 0 0 0
...

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 176
For Reference

Monitoring Memory Resources


CLI to Check Statistics Database Usage in 6.3.x
RP/0/RP0/CPU0:NCS5508-1-631#sh contr npu resources stats instance 0 loc 0/7/CPU0

System information for NPU 0:


Counter processor configuration profile: Default
Next available counter processor: 4

Counter processor: 0 | Counter processor: 1


State: In use | State: In use
|
Application: In use Total | Application: In use Total
Trap 97 300 | Trap 97 300
Policer (QoS) 0 6976 | Policer (QoS) 0 6976
ACL RX, LPTS 171 915 | ACL RX, LPTS 171 915
|
|
Counter processor: 2 | Counter processor: 3
State: In use | State: In use
|
Application: In use Total | Application: In use Total
VOQ 104 8191 | VOQ 104 8191
|
|
Counter processor: 4 | Counter processor: 5
State: Free | State: Free
|
|
Counter processor: 6 | Counter processor: 7
State: Free | State: Free

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 177
For Reference

Monitoring Memory Resources


CLI to Check Statistics Database Usage in 6.3.x
Counter processor: 8 | Counter processor: 9
State: Free | State: Free
|
|
Counter processor: 10 | Counter processor: 11
State: In use | State: In use
|
Application: In use Total | Application: In use Total
L3 RX 0 8191 | L3 RX 7 8191
L2 RX 0 8192 | L2 RX 0 8192
|
|
Counter processor: 12 | Counter processor: 13
State: In use | State: In use
|
Application: In use Total | Application: In use Total
Interface TX 0 16383 | Interface TX 14 16383
|
|
Counter processor: 14 | Counter processor: 15
State: In use | State: In use
|
Application: In use Total | Application: In use Total
Interface TX 0 16384 | Interface TX 0 16384
|
|
RP/0/RP0/CPU0:NCS5508-1-631#
#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
Monitoring Memory Resources via YANG
<?xml version="1.0"?>
<rpc-reply message-id="urn:uuid:4883a370-4115-4779-ac18-636371bb7bef"
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data>
<dpa xmlns="http://cisco.com/ns/yang/Cisco-IOS-XR-fretta-bcm-dpa-hw-resources-oper">
<stats>
<nodes>
<node>
<node-name>0/0/CPU0</node-name>
<hw-resources-datas>
<hw-resources-data>
<resource>lem</resource>
<resource-id>0</resource-id>
<name>lem</name>
<num-npus>6</num-npus>
<npu-hwr>
<max-allowed>0</max-allowed>
<npu-id>0</npu-id>
<max-entries>750000</max-entries>
<red-oor-threshold>712500</red-oor-threshold>
<red-oor-threshold-percent>0</red-oor-threshold-percent>
<yellow-oor-threshold>600000</yellow-oor-threshold>
<yellow-oor-threshold-percent>0</yellow-oor-threshold-percent>
<inuse-objects>13</inuse-objects>
<num-lt>2</num-lt>
<oor-change-count>0</oor-change-count>
<oor-state-change-time1>N/A</oor-state-change-time1>
<oor-state-change-time2>N/A</oor-state-change-time2>
<oor-state>Green</oor-state>
...
#CLUS © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
Memory Resources
Need More Info ?
• XRDOCS: https://xrdocs.io/ncs5500/tutorials/

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 180
NCS5500
Access-Lists
Using Access-Lists
With Jericho and Jericho+ LC / Systems
• Traditional ACLs
• Supported on systems with or without eTCAM
• ACEs are stored in iTCAM only

• Hybrid / Scale ACLs


• Supported on scale systems only (with eTCAM)
• Part of the ACE will be stored and compress on eTCAM
• Other part of the ACE will be in iTCAM (2-step look-up mechanism)
• Ingress ACL only

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 182
Traditional ACLs
Using Only Internal TCAM (iTCAM)
• 12 large banks (0-11): 2k entries each

• 4 small banks (12-15): 128 entries each


• Shared between ingress and egress features configured. First come, first served
• Same ACL used on several ingress interfaces are counted once
• Same ACL used on X egress interfaces are counted X times
• Support of 32 ingress and 32/255 egress ACLs per NPU
• More with recent version of IOS XR
• Support 4000 IPv4 or 2000 IPv6 ACEs per NPU
• Smaller than potential 12k entries (bundles spread among multiple NPUs)

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 183
Traditional ACLs
Checking Internal TCAM (iTCAM) in 6.2.2 Onwards
RP/0/RP0/CPU0:NCS5508-2-622#sh contr npu internaltcam location 0/7/CPU0
Internal TCAM Resource Information
NPU Bank Entry Owner Free Per-DB DB DB
Id Size Entries Entry ID Name
=============================================================
0 0\1 320b pmf-0 2006 36 7 INGRESS_LPTS_IPV4
0 0\1 320b pmf-0 2006 2 12 INGRESS_RX_ISIS
0 0\1 320b pmf-0 2006 2 32 INGRESS_QOS_IPV6
0 0\1 320b pmf-0 2006 2 34 INGRESS_QOS_L2
0 2 160b pmf-0 2044 2 31 INGRESS_QOS_IPV4
0 2 160b pmf-0 2044 1 33 INGRESS_QOS_MPLS
0 2 160b pmf-0 2044 1 42 INGRESS_ACL_L2
0 3 160b egress_acl 2022 10 3 EGRESS_RECEIVE
0 3 160b egress_acl 2022 16 4 EGRESS_QOS_MAP
0 4\5 320b pmf-0 2024 24 8 INGRESS_LPTS_IPV6 Free Space
0 6 160b Free 2048 0 0 No ACL configured
0 7 160b Free 2048 0 0
0 8 160b Free 2048 0 0
0 9 160b Free 2048 0 0
0 10 160b Free 2048 0 0
0 11 160b Free 2048 0 0
0 12 160b pmf-1 90 37 11 INGRESS_RX_L2
0 12 160b pmf-1 90 1 13 INGRESS_MCAST_IPV4_ASM
0 13 160b pmf-0 112 2 10 INGRESS_DHCP
0 13 160b pmf-0 112 13 26 INGRESS_MPLS
0 13 160b pmf-0 112 1 41 INGRESS_EVPN_AA_ESI_TO_FBN_DB
0 14 160b Free 128 0 0
0 15 160b Free 128 0 0

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 184
Traditional ACLs
Checking Internal TCAM (iTCAM) in 6.2.2 Onwards
RP/0/RP0/CPU0:NCS5508-2-622#sh contr npu internaltcam location 0/7/CPU0
Internal TCAM Resource Information
NPU Bank Entry Owner Free Per-DB DB DB
Id Size Entries Entry ID Name
=============================================================
0 0\1 320b pmf-0 2006 36 7 INGRESS_LPTS_IPV4
0 0\1 320b pmf-0 2006 2 12 INGRESS_RX_ISIS
0 0\1 320b pmf-0 2006 2 32 INGRESS_QOS_IPV6
0 0\1 320b pmf-0 2006 2 34 INGRESS_QOS_L2
0 2 160b pmf-0 2044 2 31 INGRESS_QOS_IPV4
0 2 160b pmf-0 2044 1 33 INGRESS_QOS_MPLS
0 2 160b pmf-0 2044 1 42 INGRESS_ACL_L2
0 3 160b egress_acl 2022 10 3 EGRESS_RECEIVE
0
0
3
4\5
160b
320b
egress_acl 2022
pmf-0 2024
16
24
4
8
EGRESS_QOS_MAP
INGRESS_LPTS_IPV6
1000 ACEs configured
0 6 160b pmf-0 997 1051 16 INGRESS_ACL_L3_IPV4
0 7 160b Free 2048 0 0
0 8 160b Free 2048 0 0
0 9 160b Free 2048 0 0
0 10 160b Free 2048 0 0
0 11 160b Free 2048 0 0
0 12 160b pmf-1 90 37 11 INGRESS_RX_L2
0 12 160b pmf-1 90 1 13 INGRESS_MCAST_IPV4_ASM
0 13 160b pmf-0 112 2 10 INGRESS_DHCP
0 13 160b pmf-0 112 13 26 INGRESS_MPLS
0 13 160b pmf-0 112 1 41 INGRESS_EVPN_AA_ESI_TO_FBN_DB
0 14 160b Free 128 0 0
0 15 160b Free 128 0 0

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 185
Traditional ACLs
Counters
• Limitations with packets targeted to the router
• For-us packets matching deny ACE
• Counted and dropped
• For-us packets matching permit ACE
• Punted and not counted

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 186
Traditional ACLs
Counting with permit ACEs
• By default only deny ACEs are allocated counters

• Permit entries can be allocated counters via configuration


RP/0/RP0/CPU0:NCS5508-1-631(config)#hw-module profile stats acl-permit
RP/0/RP0/CPU0:NCS5508-1-631(config)#commit

• Requires a reload of the line card to be activated


RP/0/RP0/CPU0:NCS5508-1-631#sh access-lists ipv4 PERMIT-TEST hardware ingress location 0/7/CPU0

ipv4 access-list PERMIT-TEST


10 permit icmp any host 1.1.1.1
15 permit icmp any host 1.1.1.3
16 permit tcp any any eq telnet (2 matches) 
17 permit tcp any eq telnet any
20 permit udp any any
30 permit tcp any any
40 deny ipv4 any any (1169 matches)
RP/0/RP0/CPU0:NCS5508-1-631#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 187
Hybrid ACLs
Only on eTCAM Systems
• In 6.3.2, requires a carving

• IPv4 and IPv6


• Ingress only
• Two-step look-up
• First in eTCAM
• Second in iTCAM eTCAM

v4 Pfx 80%
iTCAM

ACL 20%

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 188
Hybrid ACLs
Example
• CLI to display an RP/0/RP0/CPU0:R1#sh access-lists ipv4 network-object-acl

expanded version of the


ipv4 access-list network-object-acl
10 deny tcp net-group netobj1 port-group portobj1 any
access-list 20 permit ipv4 net-group netobj1 any

RP/0/RP0/CPU0:R1#sh access-lists ipv4 network-object-acl expanded


ipv4 access-list network-object-acl
object-group network ipv4 netobj1 10 deny tcp 10.2.1.0 0.0.0.255 eq telnet any
10.2.1.0/24 10 deny tcp 10.2.1.0 0.0.0.255 eq bgp any
host 1.3.5.7 10 deny tcp 10.2.1.0 0.0.0.255 range 100 200 any
host 1.11.111.1 10 deny tcp host 1.11.111.1 eq telnet any
! 10 deny tcp host 1.11.111.1 eq bgp any
object-group port portobj1 10 deny tcp host 1.11.111.1 range 100 200 any
eq telnet 10 deny tcp host 1.3.5.7 eq telnet any
eq bgp 10 deny tcp host 1.3.5.7 eq bgp any
range 100 200 10 deny tcp host 1.3.5.7 range 100 200 any
! 20 permit ipv4 10.2.1.0 0.0.0.255 any
20 permit ipv4 host 1.11.111.1 any
20 permit ipv4 host 1.3.5.7 any
RP/0/RP0/CPU0:R1#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 189
For Reference

Hybrid ACLs
Monitoring Resource: 1- On eTCAM
RP/0/RP0/CPU0:NCS5508-1-631#sh contr npu externaltcam loc 0/7/CPU0

External TCAM Resource Information


=============================================================
NPU Bank Entry Owner Free Per-DB DB DB
Id Size Entries Entry ID Name
=============================================================
0 0 80b FLP 983784 654616 15 IPV4 DC
0 1 80b FLP 28634 38 81 INGRESS_IPV4_SRC_IP_EXT
0 2 80b FLP 28671 1 82 INGRESS_IPV4_DST_IP_EXT
0 3 160b FLP 26624 0 83 INGRESS_IPV6_SRC_IP_EXT
0 4 160b FLP 26624 0 84 INGRESS_IPV6_DST_IP_EXT
0 5 80b FLP 28664 8 85 INGRESS_IP_SRC_PORT_EXT
0 6 80b FLP 28672 0 86 INGRESS_IPV6_SRC_PORT_EXT
...

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 190
For Reference

Hybrid ACLs
Monitoring Resource: 2- On iTCAM
RP/0/RP0/CPU0:NCS5508-1-631#sh contr npu internaltcam loc 0/7/CPU0
Internal TCAM Resource Information
=============================================================
NPU Bank Entry Owner Free Per-DB DB DB
Id Size Entries Entry ID Name
=============================================================
0 0\1 320b pmf-0 1963 49 7 INGRESS_LPTS_IPV4
0 0\1 320b pmf-0 1963 2 12 INGRESS_RX_ISIS
0 0\1 320b pmf-0 1963 11 32 INGRESS_QOS_IPV6
0 0\1 320b pmf-0 1963 23 34 INGRESS_QOS_L2
0 2 160b pmf-0 2030 11 31 INGRESS_QOS_IPV4
0 2 160b pmf-0 2030 6 33 INGRESS_QOS_MPLS
0 2 160b pmf-0 2030 1 42 INGRESS_ACL_L2
0 3 160b egress_acl 2032 16 4 EGRESS_QOS_MAP
0 4\5 320b pmf-0 2021 27 8 INGRESS_LPTS_IPV6 `
0 6\7 320b pmf-1 2045 3 49 INGRESS_HYBRID_ACL
0 8 160b Free 2048 0 0
0 9 160b Free 2048 0 0
0 10 160b Free 2048 0 0
0 11 160b Free 2048 0 0
0 12 160b pmf-1 88 40 11 INGRESS_RX_L2
0 13 160b pmf-0 84 3 10 INGRESS_DHCP
0 13 160b pmf-0 84 1 13 INGRESS_MCAST_IPV4_ASM
0 13 160b pmf-0 84 13 26 INGRESS_MPLS
0 13 160b pmf-0 84 1 41 INGRESS_EVPN_AA_ESI_TO_FBN_DB
0 13 160b pmf-0 84 26 79 INGRESS_BFD_IPV4_NO_DESC_TCAM_T
0 14 160b Free 128 0 0
0 15 160b Free 128 0 0

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 191
NCS5500
Introduction to QoS
Quality of Service on NCS5500
• Ingress direction supports classification and remarking
• Egress direction supports the same with less flexibility
• Policing only in ingress
• Shaping only in egress

Ingress Egress
Policing Queueing

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 193
Quality of Service
Internal Markers
• We use internal markers at ingress to take egress actions

Ingress Egress

match xxx
match qos-group Egress Remarking
set qos-group

match yyy Queueing / Shaping


match traffic-class
set traffic-class

match zzz random-detect discard-class 1 x ms y ms


random-detect discard-class 2 x ms y ms
WRED
set discard-class

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 194
Configuring Quality of Service
Policer Configuration
Ingress Egress

class-map classify1
match precedence 1 Class-Map
policy-map Pol1
Match criterias
class classify1
set qos-group 1
set dscp ef
police rate percent 10 set qos-group (optional)
interface hu 0/0/0/0

(optional)
service-policy input Pol1
set dscp/…

Policer

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 195
For Reference

Configuring Quality of Service


Policer Configuration

class-map classify1
match precedence 1
class-map classify2
match precedence 2
class-map classify3
30Gbps Prec 1
match precedence 3 qos-group 1
20Gbps Prec 1
policy-map ingress-policy
class classify1 10Gbps Prec 2 qos-group 2 10Gbps Prec 2
set qos-group 1
qos-group 3
police rate percent 10 peak-rate percent 20 10Gbps Prec 3 10Gbps Prec 3
class classify2 qos-group 0
set qos-group 2 10Gbps Prec 4 10Gbps Prec 4
class classify3
set qos-group 3
interface hu 0/0/0/0
service-policy input ingress-policy

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 196
Configuring Quality of Service
Shaper Configuration
class-map match-any classify1 Ingress Egress class-map match-any tc1
match traffic-class 1
match precedence 1 end-class-map
end-class-map !
! class-map match-any tc2
class-map match-any classify2 match traffic-class 2
match precedence 2
end-class-map Class-Map end-class-map
! Class-Map Match traffic-
!
class-map match-any tc3
class-map match-any classify3
match precedence 3 Match criterias class
match traffic-class 3
end-class-map
end-class-map !
! policy-map Pol1
policy-map Pol1 class tc1
class classify1
set traffic-class 1
Set traffic-class Shaper priority level 1
shape average percent 20
! !
class classify2 class tc2
set traffic-class 2 shape average percent 50
! !
class classify3 class tc3
set traffic-class 3 30Gbps Prec 1
shape average percent 30
! qos-group 1
!
class class-default class class-default
qos-group 2
set traffic-class 7 40Gbps Prec 2 !
! qos-group 3 end-policy-map
end-policy-map !
interface bundle-ether 1 qos-group 0
20Gbps Prec 3 interface hu 0/0/0/0
service-policy input Pol1 service-policy output Pol1
10Gbps Prec 4

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 197
For Reference

Configuring Quality of Service


class-map match-any tc3
match traffic-class 3
end-class-map
Egress Dual-Policy Example !
class-map match-any tc5
match traffic-class 5
class-map match-any cos1 class-map match-any qos1 end-class-map
match cos 1 match qos-group 1 !
end-class-map end-class-map policy-map egress-queuing
! ! class tc3
class-map match-any cos2 class-map match-any qos2 priority level 1
match cos 2 match qos-group 2 shape average 10 mbps
end-class-map end-class-map !
! ! class tc5
policy-map ingress-classify policy-map egress-marking bandwidth remaining <>
class cos1 class qos1 !
set qos-group 1 set cos 1 class class-default
set traffic-class 3 ! !
! class qos2 end-policy-map
class cos2 set cos 2 !
set qos-group 2 set dei 1
set traffic-class 5 ! interface TenGigE0/0/1/0/0
! class class-default service-policy input ingress-classif
class class-default set cos 7 service-policy output egress-marking
! ! service-policy output egress-queuing
end-policy-map !

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 198
Configuring Quality of Service
Shaper Configuration on Bundles
• All QoS rules applied to a bundle are applied to all members

Priority1: 10% Priority1: 10%


Priority1: 10% Priority1: 10%

Queue2: 50% Queue2: 50%


Hu0/0/0/0 Hu0/0/0/0
Queue3:25% Queue3:25%
Queue2: 50% Default: 15% Queue2: 50% Default: 15%

BE100 BE100
Priority1: 10%
Hu0/1/0/0
Queue3:25% Queue2: 50% goes down Queue3:25%
Hu0/1/0/0
Queue3:25%
Default: 15% Default: 15%
Default: 15%

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 199
Configuring Quality of Service
Shaper Configuration on Bundles
• If we use absolute values, they are applied to each member too
 Use percent
Priority1: 5G Priority1: 5G
Priority1: 5G Priority1: 5G

Queue2: 25G Queue2: 25G


Hu0/0/0/0 Hu0/0/0/0
Queue3: 12G Queue3: 12G
Queue2: 25G Default: 7G Queue2: 25G Default: 7G

BE100 BE100
Priority1: 5G
Hu0/1/0/0
Queue3: 12G Queue2: 25G goes down Queue3: 12G
Hu0/1/0/0
Queue3: 12G
Default: 7G Default: 7G
Default: 7G

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 200
Key Differences with Traditional XR Platforms
Unicast is Scheduled but Multicast Traffic doesn’t Follow VOQ-only Model
• In case of egress interface congestion
• If unicast or multicast is high priority, it will take full precedence over the other
• If same priority (HP/HP or LP/LP), then the forwarding will be 80% ucast / 20% mcast
10G10G 10G 10G 10G 10G
HP LP LP LP LP HP

HunG HunG HunG

10G 10G 10G 10G 10G

TenG TenG TenG

10G #CLUS2G
10G
8G © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
NCS5500
Gotchas /
Good-to-know
NCS-5501-SE
100Mbps / 1Gbps Limitations
• NCS-5501-SE ports 0/8 to 0/15
• Don’t support 100Mbps copper SFP modules (GLC-T)
• Don’t support auto-neg for 1G optical SFP

• NCS-5501-SE other SFP ports


• Support 1G and 100M speeds
• Support 1G Auto Neg (Clause 37)
• No limitation on the 48 ports of NCS-5501

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 203
NCS-55A2-MOD 10G/25G QUADs
• Ports 0/0/0/24 to 0/0/0/39 supports 1/10G or 25G
• Config per block of 4 ports aka « Quad »
Quad 0 : ports 0/0/0/24 to 0/0/0/27
Quad 1 : ports 0/0/0/28 to 0/0/0/31
Quad 2 : ports 0/0/0/32 to 0/0/0/35
Quad 3 : ports 0/0/0/36 to 0/0/0/39

0 1 2 3
24x1/10G 16x1/10/25G
0/0/0/0-23 0/0/0/24-39

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 204
NCS-55A2-MOD 10G/25G QUADs
• Default on these ports is 25G « TF0/0/0/x »
• 1G/10G optics can NOT be mixed with 25G optics in the same quad
• 1G and 10G optics CAN co-exist in the same quad
• Configuration does not require reboot

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 205
NCS-55A2-MOD 10G/25G QUADs
RP/0/RP0/CPU0:55A2-MOD-SE(config)#do sh int brief | i 0/0/0/2
<SNIP>
Te0/0/0/23 admin-down admin-down ARPA 1514 10000000
TF0/0/0/24 admin-down admin-down ARPA 1514 25000000
TF0/0/0/25 admin-down admin-down ARPA 1514 25000000
TF0/0/0/26 admin-down admin-down ARPA 1514 25000000
TF0/0/0/27 admin-down admin-down ARPA 1514 25000000
TF0/0/0/28 admin-down admin-down ARPA 1514 25000000
TF0/0/0/29 admin-down admin-down ARPA 1514 25000000
RP/0/RP0/CPU0:55A2-MOD-SE(config)#hw-module quad 0 location 0/0/CPU0 mode ?
WORD 10g or 25g, (10g mode also operates 1g transceivers)
RP/0/RP0/CPU0:55A2-MOD-SE(config)#hw-module quad 0 location 0/0/CPU0 mode 10g
RP/0/RP0/CPU0:55A2-MOD-SE(config)#commit
RP/0/RP0/CPU0:55A2-MOD-SE(config)#do sh int brief | i 0/0/0/2
<SNIP>
Te0/0/0/23 admin-down admin-down ARPA 1514 10000000
Te0/0/0/24 admin-down admin-down ARPA 1514 10000000
Te0/0/0/25 admin-down admin-down ARPA 1514 10000000
Te0/0/0/26 admin-down admin-down ARPA 1514 10000000
Te0/0/0/27 admin-down admin-down ARPA 1514 10000000
TF0/0/0/28 admin-down admin-down ARPA 1514 25000000
TF0/0/0/29 admin-down admin-down ARPA 1514 25000000
RP/0/RP0/CPU0:55A2-MOD-SE(config)#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 206
Modular Port Adaptors
100Mbps / 1Gbps Limitations
• 1G supported on 8 ports out of 12 ports on MPA-12T-S
• Ports 0-3 and 8-11

NC55-MPA-12T-S Connector
Up to 16x25G=400G
12 x 10G

SFP+
OTN, MACSec
SFP+
SFP+

SFP+
SFP+

SFP+

SFP+

SFP+
SFP+

SFP+

SFP+

SFP+
12 ports SFP+ 0/x/m/0-11

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 207
25G Support
• No support for 4x25G breakout on Jericho
• Only supported on J+ systems and line cards
• Native SFP28 ports in
• NCS-55A2-MOD*
• NCS-55A1-48Q6H
• NCS-55A1-24Q6H

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 208
Breakout
• First, interface name depends on optics inserted
• QSFP+: Fo0/x/y/z
• QSFP28: Hu0/x/y/z

• Breakout requires
• Appropriate optics
• Configuration

RP/0/RP0/CPU0:NCS5500(config)#controller optics 0/0/0/2


RP/0/RP0/CPU0:NCS5500(config-Optics)# breakout 4x10

• Interface name is changed to 25G (TF) or 10G (Te) with a 5th tuple
• Fo0/x/y/z becomes Te0/x/y/z/b

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 209
100G ER4L Configuration
• ER4L uses Forward Error Correction (FEC) to reach 40km
• No configuration required with similar systems back to back
RP/0/RP0/CPU0:router#show controllers HundredGigE0/0/0/13 all | in Forward
Forward error correction: Standard (Reed-Solomon)

• If remote system does not support RS-FEC, reach is 25km


RP/0/RP0/CPU0:router(config)#interface HundredGigE <0/2/0/8>
RP/0/RP0/CPU0:router(config-if)#fec ?
base-r Enable BASE-R FEC
none Disable any FEC enabled on the interface
standard Enable the standard (Reed-Solomon) FEC
RP/0/RP0/CPU0:router(config-if)#fec none

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 210
Timing
• RP-E + J+ line cards needed on chassis
• Not supported
• On Jericho-based systems, except NCS-5501-SE
• On 1G mode on SFP28 and QSFP28 interfaces
• On 1G SFP copper interfaces

• Roadmap
• Support on logical interfaces: bundle, BVI and loopback
• Support on MPLS interfaces

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 211
QoS on Sub-Interface
• By default egress QoS can be applied on main interfaces only
• To enable it on L2/L3 sub-if you need to configure HQoS mode:
RP/0/RP0/CPU0:Router(config-subif)#show config failed
!! SEMANTIC ERRORS: This configuration was rejected by
!! the system due to semantic errors. The individual
!! errors with each failed configuration command can be
!! found below.

interface TenGigE0/0/0/0.1
service-policy output CORE-OUTPUT-QOS
!!% 'DNX_QOSEA' detected the 'warning' condition 'QoS is supported on sub-interface(s) only in
Hierarchical QoS Mode.'
!
end

RP/0/RP0/CPU0:Router(config-subif)#exit
RP/0/RP0/CPU0:Peyto-SE(config)#hw-module profile qos hqos-enable
In order to activate this new qos profile, you must manually reload the chassis/all line cards
RP/0/RP0/CPU0:Peyto-SE(config)#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 212
For Reference

HealthCheck
• Some useful show commands to track the router health
show hw-module fpd
show media
show watchdog memory-state location all
show health gsp
show health cfgmgr
show health sysdb
show asic-errors all summary location <LC>
show dpa resource iproute location <LC>
show dpa resource ip6route location <LC>
show contr npu resource all loc <LC>
admin show controllers fabric health
admin show environment temperatures
admin show environment fan
admin show environment power
admin show vm

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 213
For Reference

Hardware Profiles
RP/0/RP0/CPU0:Peyto-SE(config)#hw-module ?
fib Forwarding table to configure
oversubscription Configure oversubscription
profile Configure profile.
quad Configure quad.
route-stats Configure multicast per-route statistics
service Configure service role.
subslot Configure subslot h/w module
tcam Configure profile for TCAM LC cards
vrrpscale to scale VRRP sessions
RP/0/RP0/CPU0:Peyto-SE(config)#hw-module profile ?
acl Configure acl profile
bundle-scale Max number of bundles supported
bw-threshold Asic Fabric Link Bandwidth Availability Threshold
flowspec Configure support for v6 flowspec
l2 Configure l2 profile
load-balance Configure load balance parameters
netflow Configure Netflow profile.
offload Offload profile in NCS5501-SE
qos Configure qos profile
segment-routing Segment routing options
sr-policy SR Policy options
stats Configure stats profile.
tcam Configure profile for TCAM LC cards
RP/0/RP0/CPU0:Peyto-SE(config)#
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public
Conclusion
Conclusion
• Merchant silicon is not something new in SP portfolio
• Many form factors
• NCS5500 can be used in multiple roles in Networks such as
• Core, Peering, SP DC, Aggregation and Edge: You decide.
• Architecture based on VOQ-only for unicast and FMQ for multicast
• Compared to traditional IOS XR platforms
• Resources needs to be monitored differently
• Features can have a different implementation

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 216
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-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 217
Continue your education

Demos in the
Walk-in labs
Cisco campus

Meet the engineer


Related sessions
1:1 meetings

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 218
NDA Roadmap Sessions at Cisco Live
Customer Connection Member Exclusive
Join Cisco’s online user group to …

Connect online with 29,000 peer and Cisco NETWORKING ROADMAPS SESSION ID DAY / TIME
experts in private community forums
Roadmap: SD-WAN and Routing CCP-1200 Mon 8:30 – 10:00

Roadmap: Machine Learning and


CCP-1201 Tues 3:30 – 5:00
Learn from experts and stay informed Artificial Intelligence
about product roadmaps Roadmap: Wireless and Mobility CCP-1202 Thurs 10:30 – 12:00
 Roadmap sessions at Cisco Live
 Monthly NDA briefings

Give feedback to Cisco product teams Join at the Customer Connection Booth
(in the Cisco Showcase)
 Product enhancement ideas
 Early adopter trials Member Perks at Cisco Live
 User experience insights • Attend NDA Roadmap Sessions
• Customer Connection Jacket
Join online: www.cisco.com/go/ccp • Member Lounge
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 219
Thank you

#CLUS
#CLUS
NCS5500
TCAM Carving
Default eTCAM Carving
Jericho w/ eTCAM

IOS XR 6.1.x eTCAM


eTCAM 80% IPv4 pfx
IPv4 pfx 1.6M
IOS XR 6.3.2 2M IOS XR 6.2.x entries except /32s
entries except /32s

20% hybrid ACLs

RP/0/RP0/CPU0:NCS5508-6.3.2#sh contr npu ext loc 0/6/CPU0 RP/0/RP0/CPU0:TME-5508-6.2.3#sh contr npu externaltcam loc 0/6/CPU0

External TCAM Resource Information External TCAM Resource Information


============================================================= =============================================================
NPU Bank Entry Owner Free Per-DB DB DB NPU Bank Entry Owner Free Per-DB DB DB
Id Size Entries Entry ID Name Id Size Entries Entry ID Name
============================================================= =============================================================
0 0 80b FLP 2047993 7 15 IPV4 DC 0 0 80b FLP 498950 1139450 15 IPV4 DC
1 0 80b FLP 2047993 7 15 IPV4 DC 0 1 80b FLP 28672 0 76 INGRESS_IPV4_SRC_IP_EXT
2 0 80b FLP 2047993 7 15 IPV4 DC 0 2 80b FLP 28672 0 77 INGRESS_IPV4_DST_IP_EXT
3 0 80b FLP 2047993 7 15 IPV4 DC 0 3 160b FLP 26624 0 78 INGRESS_IPV6_SRC_IP_EXT
0 4 160b FLP 26624 0 79 INGRESS_IPV6_DST_IP_EXT
RP/0/RP0/CPU0:NCS5508-6.3.2# 0 5 80b FLP 28672 0 80 INGRESS_IP_SRC_PORT_EXT
0 6 80b FLP 28672 0 81 INGRESS_IPV6_SRC_PORT_EXT
...

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 223
Default eTCAM Carving
Jericho w/ eTCAM with URPF Loose
• Activating URPF requires to disable the eTCAM dual capacity mode

RP/0/RP0/CPU0:NCS5508(config)#hw-module tcam fib ipv4 scaledisable


RP/0/RP0/CPU0:NCS5508(config)#commit

80b 80b
IPv4 Route IPv4 Route IPv4 Route IPv4 Route
IPv4 Route IPv4 Route IPv4 Route IPv4 Route
IPv4 Route IPv4 Route IPv4 Route IPv4 Route
IPv4 Route IPv4 Route IPv4 Route IPv4 Route
IPv4 Route IPv4 Route IPv4 Route IPv4 Route
IPv4 Route IPv4 Route IPv4 Route IPv4 Route

Double capacity mode Double capacity


mode disabled

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 224
Default eTCAM Carving
Jericho w/ eTCAM with URPF Loose
• It effectively reduces the eTCAM size by half

eTCAM 80% IPv4 pfx


eTCAM IPv4 pfx 800k
IOS XR 6.1.x 1M
except /32s entries
except /32s
entries
IOS XR 6.3.2 IOS XR 6.2.x 20% hybrid ACLs

disabled disabled

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 225
Default eTCAM Carving
Jericho+ w/ eTCAM
• In 6.3.2, the system is validated for 4M v4 routes (with or without uRPF)

• Hybrid ACL objects are stored in a different zone and don’t impact the
scale

eTCAM
4M IPv4 / IPv6 pfx
entries

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 226
Modifying eTCAM Carving
Jericho w/ eTCAM
• It’s advised to configure a total of 100% for predictable results
RP/0/RP0/CPU0:R(config)#hw-module profile tcam fib ipv4 unicast percent 50
RP/0/RP0/CPU0:R(config)#hw-module profile tcam fib ipv6 unicast percent 50
RP/0/RP0/CPU0:R(config)#commit

• After reload of the line cards


RP/0/RP0/CPU0:R#show controllers npu diag kbp dbstats instance 0 location 0/7/CPU0

Statistics Rack: 0, Slot: 7, Asic instance: 0

Table Configuration

Tbl-ID Tbl-Name Size Width AD Width Num ent. ~Capacity Shuffles


-------------------------------------------------------
3 IPv6 UC 256000 160 64 7 51200 0
4 IPv6 RPF 256000 160 32 0 51200 0
15 IPV4 DC 1024000 80 48 5 1024000 0

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 227
Modifying eTCAM Carving
Jericho w/ eTCAM
LEM eTCAM
IPv4 Lookup Lookup
LPM IPv4 Multicast Groups
/32 /31  /0

z
LEM
IPv4 /32s
eTCAM
786k MPLS labels IPv6 Lookup
entries MAC addresses
/128  /0

eTCAM x% IPv4 pfx (non /32s)


2M/4M y% IPv6 pfx MPLS LEM
entries x+y=100
MAC Lookup

Only v4/32s are programmed in LEM Configuring 100% IPv6 in eTCAM is not possible,
All other v4/v6 routes go to eTCAM except but 1% / 99% is accepted
if x=100 / y=0, IPv6 will be moved to LEM/LPM
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 228
Mixing Scale and
Base LineCards
Selective Route Download Feature
• eTCAM and non-eTCAM can co-exist in the same chassis
• It’s possible to select routes that will be programmed in scale line cards only
• In BGP configuration
LPM LPM
• using a table-policy and a specific path-color “external-reach”
256k-350K 256k-350K
• With this feature entries entries

• IGP routes will be programmed in both LC types z z


LEM LEM
• BGP routes with path-color external-reach
786k 786k
will be programmed in Scale LC only entries entries
• Other BGP routes will programmed in both LC types

eTCAM
2M
entries

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 230
Selective Route Download Configuration
route-policy PEER-EXT
set community PEER-EXT-comm
end-policy
!
route-policy HILO-FIB
if community matches-any PEER-EXT-comm then
set path-color external-reach
pass
else
pass
endif
end-policy!

router bgp 100


address-family ipv4 unicast
table-policy HILO-FIB
!
!
neighbor 192.168.100.151
address-family ipv4 unicast
route-policy PEER-EXT in
maximum-prefix 8000000 75
route-policy PERMIT-ANY out
!

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 231
Selective Route Download Verification
• Check a route
RP/0/RP0/CPU0:NCS5508-1-631#sh route 1.0.144.0/20

Routing entry for 1.0.144.0/20


Known via "bgp 100", distance 200, metric 0, external-reach-lc-only
Tag 2914, type internal
Installed Nov 27 22:48:56.925 for 00:00:45
Routing Descriptor Blocks
192.168.100.151, from 192.168.100.151
Route metric is 0
No advertising protos.
RP/0/RP0/CPU0:NCS5508-1-631#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 232
Selective Route Download Verification
RP/0/RP0/CPU0:NCS5508-1-631#sh cef 1.0.144.0/20 detail

1.0.144.0/20, version 25081094, external-reach-lc-only, internal 0x5000001 0x0 (ptr 0x8f485390) [1], 0x0
(0x0), 0x0 (0x0)
Updated Nov 27 22:48:56.929
local adjacency 192.168.100.151
Prefix Len 20, traffic index 0, precedence n/a, priority 4
gateway array (0x8e0e9250) reference count 655801, flags 0x2010, source rib (7), 0 backups
[1 type 3 flags 0x48501 (0x8e18f758) ext 0x0 (0x0)]
LW-LDI[type=0, refc=0, ptr=0x0, sh-ldi=0x0]
gateway array update type-time 1 Nov 27 22:48:56.929
LDI Update time Nov 27 22:48:56.929
via 192.168.100.151/32, 2 dependencies, recursive [flags 0x6000]
path-idx 0 NHID 0x0 [0x8e0bf1b0 0x0]
next hop 192.168.100.151/32 via 192.168.100.151/32

Load distribution: 0 (refcount 1)

Hash OK Interface Address


0 Y MgmtEth0/RP0/CPU0/0 192.168.100.151

RP/0/RP0/CPU0:NCS5508-1-631#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 233
Selective Route Download Use-Case
• Lookup executed in ingress only
• Position of the Base and Scale line card is opposite than ASR9k or CRS
• Internet-facing interface could be DWDM card or MACsec card
Content
Servers DC role Peering role
Scale Base MPLS Scale Base
LC LC Core LC LC Internet
Internal MPLS
All Only
+ all and
Internet Internal
Internet Customer
Routes Routes
Routes Routes

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 234
For Reference

Demo

http://bit.ly/ncs5500-mix

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 235
NCS5500 Internals
NCS5500 System Architecture
Intra-Chassis Communication
• EOBC and EPC: two isolated networks
• EOBC network: Ethernet Out-of-Band Channel
• Used for inter-process communication (IPC)
• EPC network: Ethernet Protocol Channel
• Used for packet punt (all “for-us packets”)
• EMON
• Kernel process running on all cards and managing the path
• Replaces spanning tree to offer loop free topology
• HeartBeat (HB) every 40ms, 5 misses  failure
• System Controller
• All these messages are going through the SC cards in NCS-5508 chassis

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 237
RP0 RP1
NCS5500 Internals GMAC0 GMAC1 GMAC0 GMAC1
EOBC in Modular Chassis
• Ethernet Out-of-Band Channel
• Intra-system management
communication EOBC EOBC
SC0 SC1
• EOBC channel is provided via a Switch Switch

switch chipset on the System


Controllers that inter-connects all
modules together, including RPs,
Fabric Cards and Line Cards EOBC
Switch
EOBC
Switch

GMAC0 GMAC0

LC0-7 FC0-5
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 238
RP0 RP1
NCS5500 Internals GMAC0 GMAC1 GMAC0 GMAC1
EPC in Modular Chassis
• Ethernet Protocol Channel
• Intra-system data plane protocol SC0 EPC EPC
Switch Switch SC1
communication
• EPC switch only connects Fabric
Cards to RPs EPC
• If protocol packets need to be sent Switch
FC0-5
to RP, line cards utilize the internal
data path to transfer packets to
Fabric Cards first, Fabric Cards
then redirect them via the EPC EPC
Switch
channel to supervisor engines
• Uses different VLAN for different GMAC0 LC0-7
traffic types (one VLAN per NPU for
Netflow sampled packets)
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 239
For Reference

NCS5500 Internals
Internal Switches in Modular Chassis
sysadmin-vm:0_RP0# show controller switch reachable

Rack Card Switch


---------------------
0 SC0 SC-SW EPC switch
0 SC0 EPC-SW EOBC swith
0 SC0 EOBC-SW
0 SC1 SC-SW Both EOBC and EPC
0 SC1 EPC-SW
0 SC1 EOBC-SW
0 LC0 LC-SW
0 LC1 LC-SW
0 LC3 LC-SW
0 FC0 FC-SW
0 FC1 FC-SW
0 FC2 FC-SW
0 FC3 FC-SW
0 FC4 FC-SW
0 FC5 FC-SW

sysadmin-vm:0_RP0#

#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 240
NCS5500 Internals
EPC/EOBC Switches FC0-5 SC0 SC1
• In Line Cards, switches EPC
Switch
SC0
EOBC
SC1
EOBC
are shared for EPC/EOBC Switch Switch

• Different bandwidth
depending on the LC type EPC
(1G, 2.5G) EOBC+EPC
EOBC
• Only one Fabric Card link EPC EOBC LC
CPU
Switch Switch down
is forwarding

NPU5
NPU1

NPU2

NPU3

NPU4
NPU0
#CLUS BRKARC-3000 © 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public 241
Example: EPC/EOBC in 24x100G Line Cards
sysadmin-vm:0_RP0# show controller switch summary location 0/LC7/LC-SW FC0-5 SC0 SC1
Rack Card Switch Rack Serial Number
EPC SC0 SC1
--------------------------------------
0 LC7 LC-SW FGE194714QQ Switch EOBC EOBC
Switch Switch
Phys Admin Port Protocol Forward
Port State State Speed State State Connects To
--------------------------------------------------------------------
4 Up Up 2.5-Gbps - Forwarding LC CPU (EPC 0)
5 Up Up 2.5-Gbps - Forwarding LC CPU (EPC 1)
6 Up Up 2.5-Gbps - Forwarding LC CPU (EPC 2)
7 Up Up 2.5-Gbps - Forwarding LC CPU (EOBC)
8 Up Up 2.5-Gbps - Forwarding NPU2
9 Up Up 2.5-Gbps - Forwarding NPU1 EPC EOBC LC
10 Up Up 2.5-Gbps - Forwarding NPU0 Switch Switch CPU
11 Up Up 2.5-Gbps - Forwarding NPU3
12 Up Up 1-Gbps - Forwarding FC0
13 Down Down 1-Gbps - - FC1

NPU1

NPU2

NPU3
NPU0
14 Down Down 1-Gbps - - FC2
15 Down Down 1-Gbps - - FC3
16 Down Down 1-Gbps - - FC4
17 Down Down 1-Gbps - - FC5
18 Up Up 1-Gbps - Forwarding SC0 EOBC-SW
19 Down Down 1-Gbps - - SC1 EOBC-SW
sysadmin-vm:0_RP0#
EOBC EPC
#CLUS BRKARC-3000 EOBC+EPC
© 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy