Tecspg 2401

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

Cisco IOS XE Routers

ASR 1000 & ISR 4000


The Evolution of Converged
Network Edge Architectures
David Roten, Technical Marketing Engineer
Marcelo Magno, Lead Product Manager
TECSPG-2401
TECSPG-2401 Agenda

• Introduction, What’s new about IOS XE


• Software Architecture
• ASR1000 / CSR1000V / ISR4000
• DRAM Demystified
• High Availability on ASR1000
• QoS, similarities and differences across platforms
• Performance
• Configuration Specifics
Introducing IOS XE
With ASR1000 and ISR4000 series routers
• 2007
• ASR1000 introduced as the first routing platform
using IOS XE software

• 2013
• ISR4000 series routers inherit the new IOS
architecture and married with the previous
innovations from the ISR G2 series of routers

• 2014
• 5 new ISR4000 series routers introduced to
extend coverage through all branch connectivity needs

• 2015
• 3 new ASR1000 chassis along with new MIP and Interfaces blades

• 2016
• Two new fixed ASR1000-HX chassis introduced along with ISR4221
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
What is IOS XE
How is it different than Classic IOS at 30,000 feet?
• BIG differences!
• Linux is the underlying operating system for the chassis
• IOSd runs as a process in Linux
• Benefit from protected memory and process isolation
• Very familiar CLI (some things are best kept the same)
• Separation of control and data planes into discrete processes
• Multicore support for data plane
• Introduction of services plane in addition to control and data plane

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
Linux? where?
I don’t see a shell prompt anywhere!
• Linux, yes, but the only interface with the system is via IOSd
• IOSd presents the same CLI interface that everyone loves from
other platforms like 7200, 7600, and ISR G2 routers
• Because IOSd is running as a discrete process it has protected
memory that is isolated from crashes in other processes and
failures in other components in the system.
• Individual software component upgrade opportunity
• With “service internal” and “request platform
software system shell” commands you can find Linux.
Don’t do it without a good reason. Here be dragons and you taste
good with ketchup. Requires one-day license from TAC since you
go well with ketchup.
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Same CLI
Not like IOS-XR that looks like you understand it until you don’t…
• In general configurations from Classic IOS platforms move
forward to IOS XE without any changes
• There are certain features like QoS, carrier grade NAT (CGN),
WAAS, CME that when moved forward are going to have slight
variations or need updating to take advantage of new features
• More details on some of these later
• Cisco Active Advisor can analyze configurations from Classic IOS platforms and
provide updated configurations for IOS XE platforms
https://ciscoactiveadvisor.com/

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Divided we stand, united we fall!
Wait, isn’t it supposed to be the other way around?
• Classic IOS is a single threaded monolithic blob of code that has
served us well for a long time
• Impossible to separate control and data plane
• Processors aren’t getting faster so much, their number of cores are
growing though
• Multi-core lets us to dedicate certain cores for control plane and
others for data plane, i.e. no starving data plane for control plane
• Furthermore, we can use one chip architecture for control and a
separate for data plane for mix and match to meet needs
• We have even created a services plane that can run alongside
IOSd and not impact platform performance

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Three legged stool
Balances a whole lot better than a two legged stool
• Previous router platforms had only the concept of a control
plane and data plane

• IOS XE introduced the service-plane which allows for rich


appliance type functions to be provided in the same sheet metal
chassis as WAN edge functionality

• Consolidates equipment ownership, service contract


management / expense, power, cooling, and space
requirements

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Services plane
Coffee, tea, soft drinks, peanuts, watch your elbows please…
• All platforms have multiple cores on the control plane, no truck rolls
needed!
• IOSd consumes one core with occasional use for extra cores for
specific features
• Remaining cores are given to a hypervisor which can run dedicated
applications to provide appliance like services
• vWAAS
• EnergyWise
• SNORT
• WireShark
• Single memory pool is used for Linux, IOSd, and the services plane

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
IOS XE in enterprise next generation networks
Corporate HQ WAN aggregation
DCI

Regional office
Internet gateway

Branch Cloud

High Speed CPE WAN Aggregation Data Center Interconnect


High-end Branch DMVPN / GETVPN / FlexVPN for access Internet gateway
Regional office IPSec Zone-Based Firewall
Corporate headquarters Cloud Services Edge

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
IOS XE in service provider NextGen networks
Corporate HQ Access & aggregation Edge
ISP
Internet
WAG
Peering
WiMAX
BNG LNS
Branch
ETTx IP/MPLS Core
IPSec Route
xDSL reflector
PE
Home office Content
xPON farm
SBC
800 series
CMTS WiFi Access Gateway
High end CPE Internet Peering
Corporate headquarters BNG-PPPoE
LNS
Branch IPoE, LAC, PTA, ISG
Route Reflector
Home office IPSec Aggregator
PE (L3VPN and L3VPN)
VoIP SBC

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Cisco’s routing portfolio
Service Provider Edge Routers

Enterprise Edge / DC ASR 9000


Managed L2 / L3 VPNS Integrated Security
Application Recognition 7600 Series

ASR 1000
ISR G1 & G2 Series
7200 Series 200G per Slot
Carrier Ethernet + BNG
IP RAN
40G per Slot L2/L3 VPNs
ISR 4000 Series Carrier Ethernet Vidmon
IP RAN
2.5 – 200 GB Per Hosted Firewall
SBC/VoIP
System IP Sec
Broadband
Broadband SBC/VoIP
Vidmon
Route Reflector DPI
Distributed PE

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Software Architecture
IOS XE software architecture

Control-plane
• IOS + IOS XE Middleware + Platform IOS active IOS standby
Software
Platform Adaptation Layer (PAL)
• IOS runs as its own Linux process for control Chassis manager Forwarding manager-RP
plane
Linux Kernel
• Linux kernel with multiple processes running
in protected memory Control
messaging
• Fault containment, re-startability

Data plane
Forwarding engine client
• ISSU of individual SW packages
Forwarding engine driver
• With redundant data plane hardware packet
Chassis manager Forwarding manager-FP
loss can be as low as 50 ms at failover
Linux Kernel

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
IOS XE software architecture ASR1000 implementation

Control-plane
IOS active IOS standby
ISR4000 implementation
Platform Adaptation Layer (PAL)

Linux Kernel
IOS active
Control-
plane

Chassis manager Forwarding manager-RP

Platform Adaptation Layer (PAL)


Linux Kernel

Control messaging
Chassis manager Forwarding manager-RP
Chassis

Control
messaging
Forwarding engine client
plane
Data

Data plane
Forwarding engine driver Forwarding engine client

Forwarding manager-FP Forwarding engine driver

Chassis manager Forwarding manager-FP

Linux Kernel

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
IOS XE architecture building blocks • Provides abstraction layer
between hardware & IOS

Control plane
• Runs Control Plane IOS active IOS standby • Manages ESP redundancy
• Generates configurations • Maintains copy of FIB and
• Maintains routing tables (RIB, interface list
Platform Adaptation Layer (PAL) • Communicates FIB status to
FIB…)
active & standby data plane FM
Chassis manager Forwarding manager - RP
• Initialization of RP processes
• Initialization of installed cards Linux Kernel
• Detects and manages OIR of
cards • Maintains copy of FIBs
• Manages system status, Control
messaging • Programs forwarding plane and
environmentals, power, EOBC forwarding engine DRAM
• Statistics collection & RP
Data plane
Forwarding engine client
communication
Forwarding engine driver
• All messaging done via IP • Communicates with forwarding
datagrams in the kernel or over Chassis manager Forwarding manager - FP
manager in control plane
the backplane of the chassis • Provides interface to QFP client &
Linux Kernel
driver

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
IOS XE Linux kernel
• Control CPUs run a Linux operating system kernel
• handles process scheduling, memory management, interrupts
• modular ASR1000 routers run multiple instances of Linux
• fixed ASR1000s and ISR4000s run a single instance of Linux
• Includes a suite of low-level applications
• Linux console access for debugging
• base software is common, but may vary slightly on different platforms
• Connectivity to other system components via IPC
• device drivers for EOBC, Hypertransport, PCIe
• kernel is responsible for directing IPC messages to the respective software processes
(IOS, chassis manager, etc.)
• Implements punt-path for legacy data packets
• Pre-emptible (can interrupt and prioritize processes)
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
IOS XE IOSd
• IOSd runs as a process
• IOS timing is governed by Linux kernel scheduling
• Provides virtualized management ports
• no direct hardware component access
• Handles all control plane features
• CLI, configuration processing, SNMP handling
• running routing protocols & computing routes
• session management
• Processes punted packets (legacy protocols, all protocols communications)
• Two IOS processes can run in parallel for software redundancy on non-
redundant chassis
• Based on IOS 12.2SR features (includes 12.2SB and 12.4T-based features)
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
For your
reference
IOS XE features
Routing & IPv4 / IPv6 routing CRoMPLS BGP PIC Core BGP PE-CE Opt.
MPLS & L2 BGP, RIP, IS-IS, OSPF EoMPLS IPv4 selective Download mVPN
(IPv4 / IPv6) static routes PW redundancy Ethernet, POS, ATM Half-duplex VRF
GRE MLPPP GLBP, HSRP, VRRP BGP Pic Best External
MPLS LDP GEC IP event dampening IPv4 over IPv6 Tunnels
MPLS VPN PBR BFD for IS-IS, OSPF, Static (IPv4 & PfR
Inter-AS & CsC Netflow (v5, v8, v9) IPv6) L2TPv3
MPLSoGRE BGP policy accounting WCCP VxLAN
MPLS TE FRR BGP NSF 8000 eBGP/iBGP EVPN
VRF-aware features BGP 4-byte AS (DOT) 4000 VRF Segment Routing

Broadband LAC, LNS, PTA per-user Firewall PPPoE Relay ISG VRF-transfer
L2TP ANCP ISG postpaid, tariff switching VPND Multihop
32K sessions with HA& QoS dynamic Policies ISG flow control L2TP forwarding of PPP Tags
AAA support BNG clustering VRF-aware ISG PPPoEoA
DHCP Relay for IPv4 & IPv6 template ACL ISG-SCE control bus IPv6 Broadband
remote access MPLS LI: Radius & SNMP RADIUS COA / PoD ANCP on ATM
per-session QoS PPPoE Tag support (RID, CID) ISG single sign-on

Multicast PIM IPv6 BSR Multicast NAT IGMPv2/v3


PIM BiDir MVPN Multicast CAC Extended ACL for Multicast
IPv6 Multicast Routing MVPN Extranet MVPN NSF/SSO

QoS HQF support dual/single rate 3 color policing bandwidth remaining ratio ATM service policies (VP/VC)
2PQs, 128K queues 16K policy-maps policy aggregation NBAR
MQC: classification / marking 1000 class-maps ATM shaping per VP/VC FPM
egress queuing 3-level hierarchical scheduling egress classification on QoS group

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
For your
reference
IOS XE features
Security hardware assisted IPSec Zone-based Firewall FIPS compliance DMVPN Hierarchical Hub
IPSec VPN 3DES/AES NAT IPv6 IPSec static VI VRF-aware IPSec
DMVPN RTSP Firewall ALG VRF-aware zone-based Firewall VRF-aware Zone-based FW
GETVPN Control Plane Policing VRF-aware NAT

SBC Distributed and Integrated SBC NAPT Twice NAT for IPv4 Flexible header manipulation
Topology Identity hiding Megaco/H.248 No NAT for IPv6 Privacy Header
DoS Protection Flow-based QoS control H.248 ACK 3-way Signaling congestion control
Pinhole/filter control DBE control interface H.248, V4 H.248 interim accounting IPv6 support
SIP Signaling/latching transport, UDP, TCP, etc SIP-H.323, H.323-H.323 SBC Endpoint switching

HA Config sync IPv6 IPSec


SNMP, ARP, NAT FR, PPP, MLPPP, HDLC, VLAN MPLS, MPLS-VPN, LDP, VRF-lite
Stateful IS-IS DHCPv4/v6

Network LAN Management Solution MPLS Diagnostics Expert Traffic Engineering Manger Syslog
management Cisco Information Center Netflow Collector MPLS LSP Ping / Traceroute VRF-aware NF
QoS Policy Manager Cisco Security Manager MIBs Netconf/YANG
IP Solution Center Cisco Multicast Manager SNMP Orchestration

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
IOS XE chassis manager

Control-plane
• Initializes hardware and boots other processes IOS active IOS standby
• Manages EOBC switch on RP in ASR1000
• Manages ESI links on RP/ESP/SIP in ASR1000 Platform Adaptation Layer (PAL)
• Manages timing circuitry Chassis manager Forwarding manager-RP
• Controls reset, power-down of modules
• Selects active/standby hardware, initiates failover Linux Kernel

• Detects OIR Control


• starts image download and boot process of the messaging
respective hardware component

Data plane
Forwarding engine client
• Communicates with IOS to make it aware of the
hardware components Forwarding engine driver

Chassis manager Forwarding manager-FP


• Monitors environmental variables and
alarms Linux Kernel

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
IOS XE forwarding manager

Control-plane
• FM in control plane communicates with peer FM IOS active IOS standby
processes in data plane
• Distributed control function Platform Adaptation Layer (PAL)
Chassis manager Forwarding manager-RP
• Propagates control plane operations to data plane
• Exports forwarding information to / from IOS to data Linux Kernel
plane (CEF tables, ACLs, NAT, QoS hierarchies, etc.)
• Maintains its own copy of forwarding state tables
Control
messaging
• Communicates state information back to RP
• statistics

Data plane
Forwarding engine client
• FM on the active control plane maintains state for Forwarding engine driver
both active and standby data plane hardware
Chassis manager Forwarding manager-FP
• Facilitates NSF after re-start with bulk-download of
state information Linux Kernel

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
IOS XE forwarding engine control

Control-plane
• Forwarding engine client IOS active IOS standby
• Allocates and manages resources on forwarding engine
(data structures, memory, scheduling hierarchy) Platform Adaptation Layer (PAL)
• Receives requests from IOS via FM processes
Chassis manager Forwarding manager-RP
• Re-initializes FE and memory if a software error occurs
Linux Kernel
• Forwarding engine driver
• Provides low-level access and control of FE
Control
• Provides communication path between FE client and messaging
actual forwarding engine via IPC

Data plane
• Forwarding engine (runs μcode) Forwarding engine client

• ASR1000 QFP implements data plane on PPEs Forwarding engine driver


• ISR4000 platforms use other multicore chips running Chassis manager Forwarding manager-FP
the same microcode compiled for alternate processor
Linux Kernel

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Feature Invocation Array – FIA
IPv6 IPv4 MPLS X-connect L2 Switch
L2/L3
Classify
IPv4 validation
show platform hardware qfp active interface if-name <name>

SSLVPN Netflow Forwarding NAT ISG


ERSPAN ISG APS Marking
• IP Unicast
MLP QPPB • Loadbalancing WCCP Policing
• IP Multicast
IP Hdr. Compress. QoS Classify/Police • MPLS Imposit. Classify Accounting
• MPLS Dispos. SSLVPN
VASI IPSec TCP MSS Adjust
• MPLS Switch.
LI uRPF • FRR Firewall Netflow
• AToM Dispos.
LISP NAT • MPLSoGRE IPSec LI
FPM PBR ACL BDI & Bridging
ACL SBC GEC IP Tunnels
L2/L3

IPv4
BGP Policy Acct. WCCP FPM Queuing
Classify
MLP

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
System Architecture –
ASR1000 Modular Platforms
ASR 1000 series
Compact, Business-Critical Instant On
Powerful Router Resiliency Service Delivery
 Line-rate performance 2.5G to 200G+  Fully separated control and forwarding  Integrated firewall, VPN, encryption,
with services enabled planes NBAR, CUBE
 Hardware QoS engine with up 128K  Hardware and software redundancy  Scalable on-chip service provisioning
queues per ASIC  In-service software upgrades through software licensing
 Investment protection with modular
engines, IOS CLI and SPAs for I/O

One IOS-XE Feature Set

ASR 1006
ASR 1001-X ASR 1002-X ASR 1001-HX ASR 1002-HX ASR 1004 ASR1006-X ASR 1009-X ASR 1013

2.5 - 20 2.5 - 36 20 - 40 20 - 100 100-200+ 40 - 200+


60 Gbps 100 Gbps Gbps Gbps
Gbps Gbps Gbps Gbps

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
ASR1000 building blocks
CPU CPU

RP

RP
FECP FECP

ESP
ESP

interconn. GE switch interconn. GE switch


Crypto QFP Crypto QFP
Assist. PPE BQS Assist. PPE BQS

interconnect
interconn. interconnect

Midplane

interconnect interconnect interconnect


SIP

SIP

SIP
SPA SPA SPA
IOCP IOCP IOCP
Aggreg. Aggreg. Aggreg.

SPA SPA SPA SPA SPA SPA

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
ASR1000 building blocks
CPU CPU

RP

RP
FECP FECP

ESP
ESP

interconn. GE switch interconn. GE switch


Crypto QFP Crypto QFP
Assist. PPE BQS Assist. PPE BQS

interconnect
interconn. interconnect
Route Processor
Handles control plane
Midplane Manages system

interconnect interconnect interconnect


SIP

SIP

SIP
SPA SPA SPA
IOCP IOCP IOCP
Aggreg. Aggreg. Aggreg.

SPA SPA SPA SPA SPA SPA

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
ASR1000 building blocks
CPU CPU

RP

RP
FECP FECP

ESP
ESP

interconn. GE switch interconn. GE switch


Crypto QFP Crypto QFP
Assist. PPE BQS Assist. PPE BQS

interconnect
interconn. interconnect
Route Processor
Handles control plane
EmbeddedMidplane
Service Processor Manages system
Handles forwarding plane traffic

interconnect interconnect interconnect


SIP

SIP

SIP
SPA SPA SPA
IOCP IOCP IOCP
Aggreg. Aggreg. Aggreg.

SPA SPA SPA SPA SPA SPA

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
ASR1000 building blocks
CPU CPU

RP

RP
FECP FECP

ESP
ESP

interconn. GE switch interconn. GE switch


Crypto QFP Crypto QFP
Assist. PPE BQS Assist. PPE BQS

interconnect
interconn. interconnect
Route Processor
Handles control plane
EmbeddedMidplane
Service Processor Manages system
Handles forwarding plane traffic

interconnect interconnect interconnect


SIP

SIP

SIP
SPA SPA SPA
IOCP IOCP IOCP
Aggreg. Aggreg. Aggreg.

SPA SPA SPA SPA SPA SPA


SPA Interface Processor
Houses SPA’s
Queues packets in & out

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
ASR1000 building blocks • Route Processor (RP)
• Handles control plane traffic
• Manages system
CPU CPU

RP

RP
FECP FECP
• Embedded Service Processor

ESP
ESP

interconn. GE switch interconn. GE switch


QFP QFP
Crypto (ESP) Crypto
Assist. PPE BQS Assist.
• Handles data plane traffic
PPE BQS

interconnect
interconn. interconnect
• SPA Interface Processor (SIP)
Route Processor
• Shared Port Adapters provide interface connectivity
Handles control plane
EmbeddedMidplane
Service Processor
Handles forwarding plane traffic
Manages system
• Centralized Forwarding
interconnect
Architecture interconnect
interconnect
• All traffic flows through the active ESP, standby is
synchronized with all flow state with a dedicated 10-
SIP

SIP

SIP
SPA SPA SPA
IOCP IOCP Gbps link IOCP
Aggreg. Aggreg. Aggreg.

SPA SPA SPA • SPA


Distributed Control
SPA Architecture
SPA
• All major system components have a powerful
SPA Interface Processor control processor dedicated for control and
Houses SPA’s management planes
Queues packets in & out

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
ASR1000 data plane architecture
• Enhanced SerDes Interconnect
CPU (ESI)
CPU

RP

RP
FECP FECP

ESP
ESP

interconn. GE switch
•interconn.
serial communication
GE switch
via midplane
QFP QFP
Crypto • can run at 11.5Gbps or 23Gbps
Crypto
PPE BQS PPE BQS

interconnect
interconn. • Provides data packet
interconnect
communication
Midplane • data packets between ESPs and other linecards
punt/inject traffic to/from RP
interconnect • state synchronizationinterconnect
interconnect between ESPs
• two ESI links between each ESP and all linecards
SIP

SIP

SIP
SPA SPA SPA
Aggreg.
IOCP
Aggreg. • Additional full set of
IOCP ESI links IOCP
Aggreg. to standby ESP CRC
protection of packet contents
SPA SPA SPA SPA SPA SPA

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
ASR1000 control plane architecture
EthernetEthernet Out of Band Channel (EOBC)
out-of-band
1Gbps Ethernet bus
channel (EOBC)
CPU CPU cards are installed FECP

RP

RP
FECP indicationUsedif by and ready loading
RP to pass control messages,

ESP
ESP
images, stats
statistics collection
and program QFP
interconn. GE switch interconn. GE switch
Crypto QFP messages to program QFPCrypto QFP
Assist. PPE BQS Assist. PPE BQS

Inter-Integrated Circuit 2
(I C)
interconnect
interconn. interconnect
monitor health of hardware components
control resets
Midplane
communicate active/standby
real time presence and ready indicators
control the other RP (reset, Circuit
Inter-Integrated power-down,etc.)
(I2C) Bus
interconnect report power-supply
interconnect status
interconnect
Slow (few kbps)
EEPROM access
SIP

SIP

SIP
SPA SPA Used for system monitoring
SPA
IOCP IOCP (temp., OIR, IOCP
fan speed,…)
Aggreg. Aggreg. Aggreg.
SPA control links
SPA SPA SPA detect
SPA SPA OIR SPA SPA
reset SPAs (via I2C)
power-control SPAs (via I2C)
SPA Control Link
read EEPROMs
Works between the SPA’s and SIP

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
ASR1000 chassis configuration ASR1004 supports redundant
control planes via dual IOS
process redundancy on a single
CC0, CC1 and CC2 RP card.
SPA interface access

FP0 and FP1


data plane processing

RP0 and RP
control plane processing

ASR1006, ASR1006-X, ASR1009-X,and


ASR1013 support redundant control and
data planes via active/standby hardware.
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
ASR1000 – power supplies
ASR1001-X
ASR1002

ASR1004
3x multispeed
fan per PEM ASR1013
2 PEM total 3x multispeed
fan per PEM

4 PEMs total
ASR1006
3x multispeed
fan per PEM

2 PEM total

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
ASR1000-X – power supplies in new chassis

ASR1009-X
3x multispeed fans
Up to 6 power supplies
(2 included by default)

ASR1006-X
3x multispeed fans
Up to 6 power supplies
(2 included by default)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
ASR1000 systems
ASR ASR ASR ASR ASR ASR ASR ASR ASR
1001-X 1002-X 1001-HX 1002-HX 1004 1006 1006-X 1009-X 1013
Expansion 1 SPA 8 SPA 12 SPA 8 SPA 12 SPA 24 SPA
3 SPA None 1 EPA
slots 1 NIM 2 EPA 6 EPA 4 EPA 6 EPA 12 EPA

RP Slots Integrated Integrated Integrated Integrated 1 2 2 2 2

ESP Slots Integrated Integrated Integrated Integrated 1 2 2 2 2

SIP / MIP Slots Integrated Integrated Integrated Integrated 2 SIP 3 SIP 3 MIP / SIP 2 MIP / SIP 6

IOS
Software Software Software Software Software Hardware Hardware Hardware Hardware
Redundancy
8 GE +
Built-In 6 GE + 8 GE +
6 GE 4 TenGE + N/A N/A N/A N/A N/A
Ethernet 2 TenGE 8 TenGE
4 Flex GE

Bandwidth
2.5 to 20 5 to 36 60 100 20 to 40 20 to 100 40 to 100 40 to 200 40-200+
Gbps

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
ASR1000 systems
ASR ASR ASR ASR ASR ASR ASR ASR ASR
1001-X 1002-X 1001-HX 1002-HX 1004 1006 1006-X 1009-X 1013
1.75” 15.75” (9 22.7”
Height 3.5” (2RU) 6 GE 6 GE 7” (4RU) 10.5” (6RU) 10.5” (6RU)
(1RU) RU) (13RU)
Max AC
250W 470W 360W 500W 765W 1275W 4030W 4575W 3390W
Output Power
Front to Front to Front to Front to Front to Front to Front to Front to Front to
Airflow
back back back back back back back back back

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
ASR1000 SPA interface processor (aka SIP)
• Supports up to 4 SPAs, full OIR support
• Does not participate in forwarding decisions
• Preliminary QoS
• Ingress packet classification – high & low priority
• Ingress over-subscription buffering
• 128MB of ingress oversubscription buffering
• Capture stats on dropped packets
• Network clock distribution to SPAs, reference selection from SPAs
• IOCP manages midplane links, SPA OIR, SPA drivers
• SIP40 supports minimally disruptive restart for ISSU (MDR)
• SIP reboot times of 25 seconds or less
• SPA reboot times of 10 seconds or less TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
ESI, 11.2 Gbps
SPA-SPI, 11.2Gbps
Hypertransport, 10Gbps
Other
Links for data packets
RPs
SIP40 block
RPsdiagram Standby ESP GE, 1Gbps
I2C
SPA Control
SPA Bus
Active ESP
Output ref
clocks
Input ref
clocks
IO Control processor Guarantee bandwidth
running Linux to all interfaces
Interconnect
EV-RP
EV-FC

Egress
DDRAM Ingress
Buffer
Scheduler
Status
Boot Flash IO control
(OBFL,…) processor
JTAG Ctrl
SPA C2W

Aggregation …
Network
clock
Reset / Pwr Ctrl
128MB of input
buffering

ASIC distribution
8MB of output
Temp Sensor
buffering

Network
clocks
EEPROM
Ingress Ingress
Egress
Chassis buffers SPA Agg.
Classifier buffers
management

Classify high and low


RPs priority traffic 4 SPAs 4 SPAs 4 SPAs 4 SPAs 4 SPAs

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
For your
reference
Supported SPAs and SFPs
WAN optics Ethernet Optics POS SPAs Serial SPAs Ethernet SPAs
SFP-OC3-MM SFP-GE-S / SPA-2XOC3-POS SPA-4XT-Serial SPA-4X1FE-TX-V2
SFP-OC3-SR GLC-SX-MMD SPA-4XOC3-POS SPA-8XCHT1/E1 SPA-8X1FE-TX-V2
SFP-OC3-IR1 SFP-GE-L / SPA-8XOC3-POS SPA-4XCT3/DS0 SPA-2X1GE-V2
SFP-OC3-LR1 GLC-LH-SMD SPA-1XOC12-POS SPA-2XCT3/DS0 SPA-5X1GE-V2
SFP-OC3-LR2 SFP-GE-Z SPA-2XOC12-POS SPA-1XCHSTM1/OC3 SPA-8X1GE-V2
SFP-OC12-MM SFP-GE-T SPA-4XOC12-POS SPA-1XCHOC12/DS0 SPA-10X1GE-V2
SFP-OC12-SR CWDM SPA-8XOC12-POS SPA-2XT3/E3 SPA-1X10GE-L-V2
SFP-OC12-IR1 XFP-10GLR-OC192SR / SPA-1XOC48-POS/RPR SPA-4xT3/E3 SPA-1X10GE-WL-V2
SFP-OC12-LR1 XFP10GLR-192SR-L SPA-2XOC48POS/RPR SPA-2X1GE-SYNCE
SFP-OC12-LR2 XFP-10GER-192IR+ / SPA-4XOC48POS/RPR
SFP-OC48-SR XFP10GER-192lR-L SPA-OC192POS-XFP
SFP-OC48-IR1 XFP-10GZR-OC192LR
SFP-OC48-LR2 XFP-10G-MM-SR ATM SPAs Service SPAs CEOPs SPAs
DWDM-XFP
XFP-10GLR-OC192SR (32 fixed channels) SPA-1XOC3-ATM-V2 SPA-WMA-K9 SPA-1CHOC3-CE-ATM
XFP-10GER-OC192IR SPA-3XOC3-ATM-V2 SPA-DSP SPA-24CHT1-CE-ATM
XFP-10GZR-OC192LR GLC-GE-100FX SPA-1XOC12-ATM-V2
GLC-BX-U SPA-2CHT3-CE-ATM
GLC-BX-D

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
For your
reference
ASR1000 End-of-Sale platform hardware
End of Sale Replacement
PID EoS Announce EoS Date PID
ASR1000-ESP20
ASR1000-ESP5 31-Mar-2015 29-Apr-2016
ASR1002-X
ASR1000-ESP20
ASR1000-ESP10 31-Mar-2015 29-Apr-2016
ASR1002-X
ASR1000-RP1 31-Mar-2015 29-Apr-2016 ASR1000-RP2
ASR1000-SIP10 31-Mar-2015 29-Apr-2016 ASR1000-SIP40
ASR1001 31-Mar-2015 29-Apr-2016 ASR1001-X
ASR1002 31-Mar-2015 29-Apr-2016 ASR1002-X

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
ASR1000 MIP-100 interface card (aka MIP)
• Supports up to 2 EPAs, full OIR support
• Does not participate in forwarding decisions
• Preliminary QoS
• Ingress packet classification – high & low priority
• Ingress over-subscription buffering
• Capture stats on dropped packets
• Network clock distribution to SPAs, reference selection from SPAs
• IOCP manages midplane links, SPA OIR, SPA drivers
• MIP100 supports minimally disruptive restart for ISSU (MDR)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
EPAs for the MIP-100
• Ethernet Port Adapters
support Ethernet only EPA Optics

• Feature parity with existing EPA-1X100GE CPAK-100G-SR10 CPAK-100G-LR4


Ethernet interfaces
CPAK-100G-SR10 with required
EPA-CPAK-2X40GE
• SyncE, Y.1731 (CFM) breakout cable CAB-MPO24-2XMPO12
SFP-10G-SR SFP-10G-LRM
• MACSEC EPA-10X10GE SFP-10G-SR-X SFP-10G-LR-X
SFP-10G-LR SFP-10G-ER
• Currently four models GLC-GE-100FX
• EPA-18X1GE GLC-SX-MMD GLC-SX-MM
GLC-LH-SMD GLC-LH-SM
• EPA-10X10GE SFP-GE-T GLC-EX-SMD
EPA-18X1GE
• EPA-CPAK-2X40GE GLC-BX-U GLC-ZX-SMD
GLC-BX-D DWDM-SFP
• EPA-1X100GE GLC-TE CWDM-SFP

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
ESI, 11.2 Gbps
SPA-SPI, 11.2Gbps

MIP100 block diagram Hypertransport, 10Gbps


Other
GE, 1Gbps
Links for data packets
RPs
Standby ESP I2C
Active ESP Input ref
Output ref
RPs SPA Control
clocks clocks
SPA Bus
IO Control processor Guarantee bandwidth
running Linux to all interfaces
Interconnect
EV-RP
EV-FC

Egress
DDRAM Ingress
Buffer
Scheduler
Status
Boot Flash IO control
(OBFL,…) processor
JTAG Ctrl
EPA C2W

aggregation …
Network
clock
Reset / Pwr Ctrl
input buffering

ASIC distribution
Temp Sensor output buffering

Network
clocks
EEPROM
Ingress Ingress
Egress
buffers SPA Agg.
Classifier buffers

Classify high and low


priority traffic 2 EPAs 2 EPAs 2 EPAs 2 EPAs 2 EPAs

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Fixed configuration Ethernet linecards

Support Key features and advantages


ASR1000-2T+20X1GE – XE3.10 Full feature parity with existing Ethernet interfaces

ASR1000-6TGE – XE3.12 SyncE, Y.1731 (CFM)

Requires modular chassis (1004, 1006, 1006-X, Significant price savings versus fully populated SIP40
1009-X, or 1013) with corresponding SPAs

Requires RP2 with minimum of ESP40 Line rate performance for all interfaces concurrently

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Modular route processors: RP2 and RP3
• RP2
• 2.66Ghz Intel dual-core architecture
• 64-bit IOS XE
• Up to 16GB IOS memory
• 2GB Bootflash (eUSB)
• Hot swappable 80GB hard drive
• RP3
• 2.66Ghz Intel quad-core architecture
• 64-bit IOS XE
• Up to 64GB IOS memory
• Crypto co-processor to aid in crypto session setup
• 2GB Bootflash (eUSB)
• Hot swappable 100GB solid state hard drive
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
GE, 1Gbps
I2C
SPA Control
SPA Bus

RP2 block diagram ESI, 11.2-40 Gbps


SPA-SPI,11.2Gbps
Hypertransport, 10Gbps
Other
Route Processor No forwarded traffic
Manages all System Logging
chassis functions Core Dumps
Management
and runs IOS Ethernet BITS
(input & output)
Card Infrastructure Console 2.5’’
USB & Aux
RIB, FIB & other Hard disk Runs IOS, Linux OS
processes Boot Flash
(OBFL,…)
Manages boards and chassis
Determines BGP
routing table size 33MB
NVRAM
RP2: 8 or 16GB
CPU Memory
RP control processor Bootdisk 2GB
Intel 2.66 GHz dual core
Stratum-3 Network
clock circuit
I2C Chassis
Management Bus Interconnect EOBC Switch

For punt path traffic

SIPs ESPs RP Misc ESPs SIPs ESPs RP SIPs SIPs RP RP


Ctrl Output Input
clocks clocks

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
GE, 1Gbps
I2C
SPA Control
SPA Bus

RP3 block diagram ESI, 11.2-40 Gbps


SPA-SPI,11.2Gbps
Hypertransport, 10Gbps
Other
Route Processor No forwarded traffic
Manages all System Logging
chassis functions Core Dumps
Card Infrastructure Management
and runs IOS Ethernet BITS
(input & output)
Boot Flash Console
(OBFL,…) USB 2.5’’
& Aux
Faster L3 crypto Hard disk Runs IOS, Linux OS
setup Manages boards and chassis
Crypto Assist

NVRAM 33MB
RIB, FIB & other
processes RP control processor 2GB
CPU Memory Bootdisk
Determines BGP Intel 2.66 GHz dual core
routing table size Stratum-3 Network
RP2: 8 or 16GB clock circuit
I2C Chassis
Management Bus Interconnect EOBC Switch

For punt path traffic

SIPs ESPs RP Misc ESPs SIPs ESPs RP SIPs SIPs RP RP


Ctrl Output Input
clocks clocks

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Route processor overview
ASR1001-X ASR1002-X ASR1001-HX ASR1002-HX RP2 RP3

quad core, quad core, quad core, quad core, dual core, quad core,
CPU 2.0GHz 2.13GHz 2.5Ghz 2.5Ghz 2.66GHz 2.66GHz
Default
8GB (4x2GB) 4GB 8GB 16GB 8GB, 4x2GB 16GB, 4x4GB
memory
Memory
upgrade 16GB (4x4GB) 16GB (4x4GB) 16GB 32GB 16GB (4x4GB) 64GB (4x16GB)
options
Built-In eUSB
8GB 8GB 8GB 8GB 2GB 2GB
Bootflash
optional 160 GB optional 160GB NIM Module 100GB solid state
80GB HDD
Storage HDD HDD external external USB HDD
external USB
HDD
external USB USB external USB external USB
IOS XE OS 64 bit 64 bit 64 bit 64 bit 64 bit 64 bit
ASR1004,
ASR1006 ASR1006-X,
Chassis
integrated integrated integrated integrated ASR1006-X, ASR1009-X,
Support TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
ASR1009- ASR1013
55
ASR1000 Embedded Services Processor
• Centralized, programmable forwarding engine providing full-packet processing
• Packet Buffering and Queuing/Scheduling (BQS) ESP40
• For output traffic to carrier cards/SPAs
• For special features such as traffic shaping, reassembly,
replication, punt to RP, cryptography, etc.
• 5 levels of HQoS scheduling, up to 464K Queues,
Priority Propagation
• Dedicated crypto co-processor ESP100

• Interconnect providing data path links (ESI) to/from


other cards over midplane
• Input scheduler for allocating QFP BW among ESIs
• FECP CPU manages QFP, crypto device, midplane links, etc.
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
For your
reference
ASR1000 Embedded Services Processor

SPI MUX
Interconnect
ASIC

TCAM

Crypto Engine

QFP Subsystem
PPE + BQS
FECP CPU

PPE DRAM
FECP DRAM

BQS Packet DRAM


TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Buffering Queuing & Scheduling

ESP40 block diagram PPE engines


responsible for all feature implementation
Executes complex QoS scheduling
Queues and schedules packets

Forwarding Engine Control Processor


Manages board Reset / Pwr Ctrl Resource Packet
TCAM Part Len /
DRAM Buffer DRAM
Programs QBS, PPE, Crypto (40Mbit) BW SRAM
Temp Sensor (1 GB) ( 256 MB)
Linux Kernel
EEPROM

DDRAM
QFP complex
Packet Processor Engines BQS GE, 1Gbps
Boot Flash FE control I2C
(OBFL,…) PPE1 PPE2 PPE3 PPE4 PPE5 SPA Control
processor E-CSR SPA Bus

JTAG Ctrl … ESI, 23 or 11.2Gbps


SPA-SPI, 11.2Gbps
PPE6 PPE7 PPE8 PPE40 Hypertransport, 10Gbps
E-RP* Other
PCI*
Crypto assist ASIC
responsible for all
encryption functions crypto Dispatcher Quantum Flow Processor
coprocessor Responsible for forwarding
packets
SPI Mux
Reset / Pwr Ctrl
SA table
DRAM Interconnect Interconnect System bandwidth is 40 Gb/sec full duplex

( 40 Gb/sec up plus 40 Gb/sec down )


RPs RPs ESP RPs SIPs

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
GE, 1Gbps
I2C
SPA Control
SPA Bus

ESP100 Block diagram ESI, 11.2 or 23 Gbps


SPA-SPI, 11.2Gbps
Hypertransport, 10Gbps
Other

Reset / Pwr Ctrl Resource Packet Full mesh between QFP


TCAM Part Len /
DRAM Buffer DRAM BW SRAM
complexes to exchange
(80 Mbit) forwarded traffic
Temp Sensor (1 GB) (1 GB total)

EEPROM

QFP complex QFP complex


DDRAM
PPEs BQS PPEs BQS
Boot Flash
FE control
PPE1 PPE2 PPE3 PPE1 PPE2 PPE3
processor E-CSR

JTAG Ctrl
PPE4 PPE64 PPE4 PPE64

PCI*

crypto Dispatcher Dispatcher


coprocessor

Reset / Pwr Ctrl


SA table
DRAM Interconnect Interconnect
System bandwidth is 69 Gb/sec full duplex x2
RPs RPs ESP RPs System bandwidth is 69 Gb/sec full duplex x2
( 69 Gb/sec up plus 69 Gb/sec down on each
( 69 Gb/sec up plus 69 Gb/secSIPs
down )
link)
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
For your
reference
ASR1000 ESP reference
ASR ASR ASR ASR
ESP20 ESP40 ESP100 ESP200
1001-X 1002-X 1001-HX 1002-HX
System 2.5/5/10/20 5/10/20/36 44 – 60 Gbps 44 – 100 Gbps
20 Gbps 40 Gbps 100 Gbps 200 Gpbs
bandwidth Gpbs Gbps port based port based
Performance 17 Mpps 30 Mpps 59 Mpps 58 Mpps 24 Mpps 24 Mpps 59 Mpps 113 Mpps
QFP Cores 31 64 128 128 40 40 128 256
Crypto BW
8 Gpbs 4 Gbps 16 Gbps 25 Gpbs 8.5 Gbps 11 Gbps 29 Gbps 78 Gbps
(1400B)
QFP
4GB 2 GB / QFP 2 GB / QFP 2 GB / QFP
Resource 1GB 4GB 1GB 1GB
(unified) 4GB Total 4GB Total 8GB total
Mem
512MB
Packet Buffer 512MB 1GB 1GB 256MB 256MB 1GB 2GB
(unified)
Quad core Quad core Quad core Quad core Single core Dual core Dual core Dual core
Control CPU
2.00 GHz 2.13 GHz 2.5 GHz 2.5 GHz 1.2 GHz 1.8 GHz 1.73 GHz 1.73 GHz
Control
shared shared shared shared 4 GB 8 GB 16 GB 32 GB
Memory
TCAM 10 Mb 40 Mb 40 Mb 80 Mb 40 Mb 40 Mb 80 Mb 2 x 80 Mb
Chassis 1004, 1006, 1013, 1006, 1013,
Integrated Integrated Integrated Integrated 1004, 1006 1009-X, 1013
Support 1006-X, 1009-X 1006-X,1009-X
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
For your
reference
ASR1000 computational reference
ASR ASR ASR ASR
FRU RP2 RP3 ESP20 ESP40 ESP100 ESP200
1001-X 1002-X 1001-HX 1002-HX
Control plane cores 2 4 4 4 4 4 1 1 2 2
Control plane
2.66 GHz 2.2 GHz 2.00 GHz 2.13 GHz 2.5 GHz 2.5 GHz 800 MHz 1.80 GHz 1.73 GHz 1.73 GHz
clocking
Data plane cores 31 62 62 128 40 40 128 256

Data plane clocking 1.5 GHz 1.2 GHz 1.5 GHz 1.5 GHz 1.2 GHz 1.2 GHz 1.5 GHz 1.5 GHz
Control plane 8/16/32/64
8/16 GB 8/16 GB 4/8/16 GB 8/16 GB 16/32 GB 4 GB 8 GB 16 GB 32 GB
SDRAM GB
Bootflash 2 GB 8 GB 8 GB 8 GB 32 GB 32 GB

NVRAM 32 MB 32 MB 32 MB 32 MB 32 MB 32 MB 32 MB 32 MB 32 MB 32 MB

QFP memory 4 GB 1 GB 1 GB 4 GB 1 GB 1 GB 4 GB 8 GB
Packet buffer
512 MB 512 MB 512 MB 1 GB 256 MB 256 MB 1 GB 2 GB
memory
TCAM 10 Mbit 40 Mbit 40 Mbit 80 Mbit 40 Mbit 40 Mbit 80 Mbit 2x80 Mbit

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
ESP-100 and QFP Responsibilities
• Each ESP 100 uses 2 QFP-NG ASICs to achieve
performance
• Each QFP-NG is associated with a subset of the SPA-
bays and interfaces
• Should be taken into account for
• QoS
• Multicast
• NAT

Egress queuing for interfaces handled by QFP0


Egress queuing for interfaces handled by QFP1

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
ESP-200 and QFP Responsibilities
• Each ESP200 uses 4 QFP ASICs to achieve performance
• Each QFP is associated with a subset of the SPA-bays
and interfaces
• SIP40 linecards may be split amongst multiple QFPs
• SIP10 linecards will be serviced entirely by the leftmost QFP
indicated per slot
• Should be taken into account for
• QoS
• Multicast Egress queuing for interfaces handled by QFP0
• NAT QFP1
QFP2
QFP3

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
ESP100 / ESP200 – In-service HW upgrade
• Support for ESP40 to ESP 100 upgrade provided the following criteria
are met
• Old image already supports ESP100 (XE 3.7 or later)
• ESP40 config has less than 4000 QoS schedules per hierarchy
• ESP40 config has less than 116K QoS queues on those interfaces associated
with a single QFP on ESP100 or ESP200
• Typically only ever a risk in Broadband configurations
• Can be mitigated by spreading the queues across multiple interfaces distributed in the
chassis

• Downgrading
• Need to ensure that the ESP100 config does not exceed the scaling limits of
ESP40 in any respect

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
For your
reference
TCAM Uses

Definition
Ternary Content-Addressable Memory is designed for rapid, hardware-based table
lookups of Layer 3 and Layer 4 information. In the TCAM, a single lookup provides
all Layer 2 and Layer 3 forwarding information.

Which ASR 1000 • Security Access Control Lists (ACL) • Multi Topology Routing
features use • Firewall • NAT
TCAM? • IPSec • Policy Based Routing
• Ethernet Flow Point for Ethernet • QoS
Virtual Circuits • NBAR / SCEASR
• Flexible Packet Matching • Web Cache Control Protocol
• Lawful Intercept • Edge Switching Services
• Local Packet Transport Services • Event Monitoring
(LPTS)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
SIP and ESP combinations in modular chassis
ESP-200
ESP-100
ESP-200
Available ESI links

ASR1009-X
100 40 40 40 or 100 200
100 40 40 40 or 100 200
100 40 40 40 or 100 200

support
Future
ESP-100
100 40 40
100 40 40

ASR1006-X
100 40 40
40 or 100 200
40 or 100 200
40 = 20 + 20

Any slot that is 40 compatible actually has ESP-200


two 20 links. One serves the right side SPA
ESP-100
and the other serves the left side SPAs.
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Max speed per slot in 40
40
modular chassis 40 or 100

ASR1013
ESP-200 ESP-40 ESP-200
Available ESI links

100 40 40 40 ESP-100
100 40 40 40 ESP-40
100 40 40 40
40 40 or 100

40 40
ESP-100
40 40
100 40 40

ASR1004 ASR1006
100 40 40 40 ESP-100
100 40 40 40 ESP-40
40
ESP-20
ESP-20 40 40 40

Any slot that is 40 compatible will also support


10 with the SIP-10 card which has been EoS. 40 ESP-40
40 ESP-20
Only for non-X chassis though. No 10 support
in -X chassis TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Quantum Flow Processor – ASR 1000 innovation
• Five year design and continued evolution – developing the 3rd generation
• Massively parallel: 64 cores, 4 threads per core for 256 packets in flight
• QFP Architecture designed to scale to beyond 100Gbit/sec
• High-priority traffic path throughout forwarding processing
• Packet replication capabilities for Lawful Intercept
• Full visibility of entire L2 frame
• Latency: tens of microseconds with features enabled
Cisco QFP
• Interfaces on-chip for external cryptographic engine Cisco QFP
Packet Processor Traffic Manager
• 2nd generation QFP is capable of 70Gbit/sec, 32Mpps processing
• Can cascade 1, 2 or 4 chips to build higher capacity ESPs
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Cisco Quantum Flow Processor
custom versus off the shelf
• Custom design needed for next-gen • Preserves C-language programming
Network Integrated Services support
• Existing CPUs do not offer forwarding • Including stacking for nested procedures
power required • Differentiator as compared to NPUs
• Architecture of general purpose CPUs • Key to feature velocity
relies on larger memory caches
• Support for portable, large-scale
(64B/128B) which is inefficient for
development
network features
• Add hardware assists to further boost
• QFP uses 16 byte memory access
performance
• minimizes wasted memory reads and
increases memory access • TCAM, PLU, HMR…
• for the same raw memory bandwidth, a • Trade-off power requirement vs. board
16B read allows 4-8 times the number of space
memory accesses/sec as a CPU using
64/128B accesses TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Cisco Quantum Flow Processor
2nd generation details
• Used in ASR1002-X, ESP100 & • 1st and 2nd gen QFPs run the same
ESP200 code
• 2nd gen QFP integrates both the PPE • Maintains identical feature behavior
engine and the Traffic manager into a between QFP hardware releases
single ASIC • Full configuration consistency

• 64 PPEs per 2nd gen QFP • Identical feature behavior (NAT, FW, etc)
40 PPE for 1st gen QFP • In-service hardware upgrade from
• 116K queues per 2nd gen QFP ESP40 to ESP100 supported
128K queues for 1st gen QFP • Differences
• Can be used in a matrix of 2 or 4 • Minor behavioral show-command
differences
• ESP100 has 232K queues
• Deployment differences in deployments
• ESP200 has 464K queues with large number of BQS schedules
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
For your
reference
Quantum Flow Processor Video

http://www.cisco.com/cdc_content_elements/flash/netsol/sp/quantum_flow/demo.html

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
40 PPEs (1st Gen); 64 PPEs (2nd Gen)
• Tensilica (MIPS-like) instruction set architecture

AR1000 QFP Architecture •



Data cache (1KB per thread, 16B cache line)
Four HW threads per PPE
• PPEs operate at different speeds on various ESPs
• Extensive HW Assists: ACL, TBM-lookup, WRED, Flow Locks
PPE Processing Array

Memory Interconnect
Distributor Assigns Each Packet to
General Resources Memory Resources Memory Access Resources
a PPE/Context

DRAM0

DRAM7

INFRA
SRAM

WRC
HMR
TCM
RLB

ARL

PLU
• QFP is not doing flow-based load-
balancing among processors
• Distribution is to any eligible
PPE/Context
Resource Interconnect • Hardware locks for ordering and
mutual exclusion

Boundary
Queuing
Dist FLB Buffering, Queuing, & Scheduling (BQS)
Hi Perf. Memory • HQF/MQC compatible
• TCAM4: 200 M • 128K queues
searches/ SPI/HT GPM Gather BQS OPM SPI/HT • Flexible allocation of schedule resources
second with QFP IPM
• 5+ levels of scheduling hierarchy
• DRAM: 1.6 billion
cache line accesses Data Path Resources
per second
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
QFP Hardware Assists
• RLB = Regular Lock Block
• TCM = TCAM Controller
• ARL = ACL Range Lookup
• INFRA = DMA Engine, HT access, CSR access
• PLU = Pointer Lookup Unit (Tree Bitmap lookup)
• HMR = Hash Mod Read
• WRC = Weighted RED Controller
• Gather = gathers fragments
• FLB = Flow lock block
• Packets are given internal ID based on source / destination interface, packet header
fields etc
• ID then used internally to ensure packet sequencing
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
System Architecture –
CSR 1000V
CSR1000V
UCS System
Dataplane Control Plane
Hypervisor
Shared core (1vCPU) Shared core (1vCPU) CSR1000v installed as VM
or dedicated cores (2/4/8vCPU) or dedicated core (2/4/8vCPU) 1 to 8 Cores
Shared Memory Shared Memory

Interfaces Interfaces Physical


Input/Output Pkts Input/Output Pkts vSwitch
Interface

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
CSR 1000V - virtualized IOS XE
• Virtualized IOS XE
Forwarding Plane Control Plane
• Generalized to work on any x86 system
IOS
FFP Client / Driver
• Hardware specifics abstracted through a
Chassis Mgr. virtualization layer
Chassis Mgr. Forwarding Mgr. • Forwarding (ESP) and Control (RP) mapped to
Forwarding Mgr. vCPUs
• Bootflash: NVRAM: are mapped into memory from
FFP code Linux Container hard disk
• Boot loader functions implemented by GRUB
vCPU vMemory vDisk vNIC
• Limitations
• No dedicated crypto engine – we leverage the Intel
Hypervisor (VMware / Citrix / KVM) AES-NI instruction set to provide hardware crypto
assist.
• No QFP – lower forwarding performance
CPU Memory Disk NIC • No HW Accelerators – Less efficient feature
processing
Physical Hardware

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
CSR 1000V - virtualized IOS XE
• IOS XE Cloud Edition
CSR 1000V • Select IOS XE Features based on use case

App App • Infrastructure Agnostic


RP • Supports any x86 server or vSwitch
OS OS FP • Runs on ESXi, KVM, Hyper-V, Xen, Amazon AWS,
Microsoft Azure

• Throughput Elasticity
Hypervisor • Delivers 10Mbps to 20Gbps performance
Virtual Switch • Multiple Licensing Models
• Term, Perpetual, Usage
Server • Programmability
• RESTful API for automated management

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
CSR 1000V – Hypervisor Interactions
UCS System
• Hypervisor abstracts and shares
Blade physical hardware resources across
multiple VMs
Hypervisor
• Scheduling of vCPU onto physical
CSR CSR cores can create non-deterministic
behavior
Virtual Machine VNIC VNIC Virtual Machine
• Scheduling of vNICs onto physical
ports can lead to packet loss and
vMem vCPU port port vMem
jitter
vSwitch vCPU
BladeTables Tables
vCPU vCPU • ESXi scheduler spreads the load
across all physical cores intelligently
Scheduler according to a proportional share-
based algorithm

CPU CPU Memory


core core core core core core core core

physical interface physical interface


TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
CSR 1000V – vCPU Allocation
Control Plane Data Plane
# vCPUs Virtual Route Virtual Forwarding CSR 1000V
Processor Processor
1 1 1 RP
2 1 2 FP
3 1 2-3
4 1 2-4 • Separation of control-plane
and data-plane
5 1 2-5
• vCPU allocation is static
6 1 2-6 and done during bootup
7 1 2-7
8 1 2-8

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
CSR 1000V – Network I/O
Method Driver Performance Pros/Cons Supported

Emulated E1000 Low • Wide compatibility NO


• Worst Performance

Para-virtualized VMXNET3 Excellent • Virtualization Aware Yes (Default)


VirtIO • High degree of interaction
between guest OS and
hypervisor
Pass-through NIC Dependent Best • Direct access to HW – Yes – only Intel NICs
High I/O (ixgbevf / ixgbe
• Lose virtualization drivers)
features such as vMotion

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
CSR 1000V – Network I/O Optimization
SR-IOV with PCIe Pass-Through
• Allows a single PCIe device to appear Guest-OS Guest-OS Guest-OS
to be multiple separate devices (NIC App App App
Supports Virtualization) App App App
App App App
• Network traffic bypasses software VF driver VF driver VF driver
switch layers
• Creates physical and virtual functions:
Host-OS /
• PF: Controls sorter KVM
SR-IOV
• VF: Passes packets Master
• Requires support in BIOS/Hypervisor Driver

• Intel VT-D / AMD IOMMU PF


NIC VF VF VF
• Only supported on Intel NICs
layer-2 sorter / switch / classifier

x86 machine

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
CSR 1000V – Network I/O Optimization
UCS VM-FEX
• UCS VM-FEX provides dedicated
hardware resources to each VM
• vSwitch and hypervisor virtualization
layers are bypassed
• Virtualization performed in hardware
• Supports DirectPath or Emulated
mode
• Support for vMotion
• Requires dedicated cards (eg.
VIC1280)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
System Architecture –
ISR 4000
Introducing the Cisco ISR 4000 Family
Enabling Branch Services for the 21st Century Network
Delivering the Ultimate Application Experience Over Any Connection

Revolutionary Architecture Service Innovation

 4-10 times faster, at the same price  Native Layer 2 – 7 services


 Deterministic performance with services  Converged network, compute, storage
 Simple, scalable WAN path control
 Pay as you grow
 Best-of-breed security: Sourcefire® IDS
 Virtualized network function

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
ISR4000 system specification
4221 4321 4331 4351 4431 4451

4 Core CP/SP 4 Core CP/SP


CPU architecture 2 Core 4 Core 8 Core 8 Core
6 Core DP 10 Core DP

NIM slots 2 2 2 3 3 3

SM-X slots 0 0 1 2 0 2

1 * dual Phy
1 * dual Phy 1 * dual Phy
Front-Panel Ethernet 1 RJ45 3 dual Phy 4 * dual Phy 4 * dual Phy
1 RJ45 1 RJ45
1 SFP
50 / 100 100 / 300 200 / 400 500 / 1000 1000 / 2000
Performance (default / max) 35 / 75 Mbit/s
Mbit/s Mbit/s Mbit/s Mbit/s Mbit/s
One External One External One Internal One Internal Dual Internal Dual Internal
Power Supplies
AC AC AC AC/DC AC or DC AC or DC
4 / 16 GB for 4 / 16 GB for
4 / 8 GB 4 / 16 GB 4 / 16 GB
Default / maximum DRAM 4 GB shared CP/SP CP/SP
shared shared shared
2 GB for DP 2 GB for DP

Default / maximum Flash 8 GB 4 / 8 GB 4 / 16 GB 4 / 16 GB 8 / 32 GB 8 / 32 GB

Management Ethernet 1 Gbit/s 1 Gbit/s 1 Gbit/s 1 Gbit/s 1 Gbit/s 1 Gbit/s


TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
CP= Control Plane, DP = Data Plane, SP = Services Plane
Cisco ISR 4400 Architecture 4 x 1 Gb/sec SGMII

Control Plane Data Plane (6 or


DRAM (1 core) and Services Plane (3 10 cores)
cores) FPGE
4xPCIe
Service containers
KVM WAAS
3rd party EnergyWise DRAM

IOSd
4xPCIe 10G XAUI 1 Gb/sec SGMII
Mgmt Ethernet
ISC
Console/Aux Platform
System Multigigabit
Controller
USB FPGA Fabric SM-X
Hub
Flash 10 Gb/sec per slot

2 Gb/sec per slot NIM

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Cisco ISR 4200 and 4300 Architecture 3 x 1 Gb/sec SGMII

Control Plane (1 core)


DRAM Services Plane (3 cores)
Data Plane (4 cores) FPGE

Service containers
KVM WAAS
3rd party EnergyWise

IOSd
4xPCIe
10G XAUI 1 Gb/sec SGMII
Mgmt Ethernet
ISC
Console/Aux Platform
System Multigigabit
Controller
USB FPGA Fabric SM-X
Hub
Flash 10 Gb/sec per slot
mSATA
2 Gb/sec per slot NIM

Note: 4321 uses 2DP, 1CP & 1SP cores


4221 uses 1DP and 1CP cores TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Service Virtualization for networking
Service Containers

 Dedicated virtualized compute resources


 CPU, disk, memory for each service
 Easily repurpose resources
 Industry-standard hypervisor
VM 1 VM 2 VM 3
WAAS Energywise Future App
Benefits

 Better performing network services


 Ease of deployment with zero
footprint; no truck roll
 Greater security through fault isolation
 High reliability
 Flexibility to upgrade network services
independent of router IOS® Software

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Future service virtualization
Process Hosting End-Point Hosting

Blade Hosting

Container Cisco IOS XE Cisco IOS XE


Cisco IOS XE
Embedded
Network Services
Feature

External
Server
Feature or Application
Container
Blade

Network Services and


Applications

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Maximum interface termination

ISR4221 ISR4321 ISR4331 ISR4351 ISR4431 ISR4451 Comment


SM-X (single width) 0 0 1 2 0 2
NIMs (single width) 2 2 2 (3) 3 (5) 3 3 (5) With SM-X-NIM-ADPTR each ( SM-X = NIM )

10GE Routed 0 0 1 2 0 2 With SM-X-4X1G-1X10G


3+10 = 3+18 = 4+6 = With onboard + SM-X-6X1G and/or NIM-2GE-
1 GE Routed 2+4 = 6 2+4 = 6 4+18 = 22
13 21 10 CU-SFP
1 GE Switched 16 16 40 72 24 72 With NIM-ES2-8-P & SM-X-ES3-24-P
T3/E3 Clear
0 0 1 2 0 2 With SM-X-1T3/E3
Channel
T1/E1 Clear With NIM-8MFT-T1/E1 or NIM-4MFT-T1/E1
8 8 24 40 24 40
Channel (4321)
With NIM-8CE1T1-PR or NIM-2CE1T1-PR
T1/E1 Channelized 4 4 24 40 24 40
(4321)
FXS - 8 12 20 12 20 With NIM-4FXS
FXO - 8 12 20 12 20 With NIM-4FXO
Serial 4 4 12 20 12 20 With NIM-4T or NIM-2T (4321)
VA DSL 2 2 3 5 3 5 With NIM-VAB-A or NIM-VA-B or NIM-VAB-M

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
DRAM demystified
ISR 4400, 4GB CP, 2GB
DP, IOS-XE 3.13.1
ISR 4400 – Memory allocation
4GB Control Plane 2GB Data Plane

Linux

3.25 GB 1.5 GB 512 MB


750 MB Total:
Linux System EXMEM
free ~18% Free
reserved Reserved Allocated

750 MB 750 MB 750 MB free 1000 MB 750 MB Total: 750 MB packet 750 MB 40 MB 472 MB
Linux OS Linux Cache IOS dHeap IOSd buffer system EXMEM EXMEM
~62.5% Free used
used free free free

470 MB 280 MB Total:


IOSd IOSd
~67.5% Free
free used

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
What is DP and CP memory used for?
• Control Plane Memory
• Used for IOS daemon
• This daemon holds the IOS system as well Control Plane Tables (i.e. Routing Information Base)
• Used for Linux
• This manages the entire device and also allocates memory to service containers
• The linux portion grows when IOS is growing due to information replication into other processes

• Data Plane Memory:


• Used exclusively by IOS for data plane services
• Packet Buffering
• System internal processes
• EX Memory, this grows when scalable features are used (Forwarding Information Base, NAT Table
etc.)

• * Allocation will vary by IOS-XE release

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
ISR 4400, 4GB CP, 2GB
DP, IOS-XE 3.13.1
ISR 4400 – Memory allocation
ISR 4400, 4GB CP, 2 GB DP, IOS-XE 3.13.1

Control plane Data plane

Linux
EXMEM
IOSd

750 MB Linux 750 MB 750 MB free 1000 MB 470 MB 280 MB 750 MB packet 750 MB 40 MB 472 MB
OS Linux Cache IOS dHeap IOSd IOSd buffer system EXMEM EXMEM
used free free free used used free

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
ISR 4400, 4GB CP, 2GB
DP, IOS-XE 3.13.1
ISR 4400 – How to monitor CP and DP
ISR4451#show version
<snip>
System image file is "bootflash:/isr4400-universalk9.03.13.01.S.154-3.S1-ext.SPA.bin"
<snip>
cisco ISR4451-X/K9 (2RU) processor with 1687854K/6147K bytes of memory.
Processor board ID FGL165210MU
4 Gigabit Ethernet interfaces Reserved IOS Memory
Total CP Memory 32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
7393215K bytes of flash memory at bootflash:.
Total Flash Memory

Control plane Data plane

750 MB Linux 750 MB 750 MB free 1000 MB 470 MB 280 MB 750 MB packet 750 MB 40 MB 472 MB
OS Linux Cache IOS dHeap buffer system EXMEM EXMEM
IOSd IOSd used
used free free free
free used
ISR4451#show platform resources
**State Acronym: H - Healthy, W - Warning, C - Critical
Resource Usage Max Warning Critical State
----------------------------------------------------------------------------------------------------
RP0 (ok, active) Usable CP Memory H
Control Processor 2.40%
Reserved CP100%
Memory 90% 95% H
DRAM 3180MB(82%) 3878MB 90% 95% H
ESP0(ok, active) H
Reserved DP Memory Total DP Memory
QFP H
DRAM 1589776KB(75%) 2097152KB 80% 90% H
IRAM 0KB(0%) 0KB TECSPG-2401 80% © 2017 Cisco and/or90%
its affiliates. All rights reserved.HCisco Public 102
ISR 4400, 4GB CP, 2GB
DP, IOS-XE 3.13.1
ISR 4400 – How to monitor CP
ISR4451#show memory
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Address Bytes Prev Next Ref PrevF NextF Alloc PC
Processor 7F4A5B545010 1728363504 284041616 1444321888 679710664 1048575908
lsmpi_io 7F4A5AE431A8 6295128 6294304 824 824 412
Dynamic heap limit(MB) 1000 Use(MB) 0 Total used Total free IOS Memory
Total available dHeap dHeap used IOS Memory (includes dHeap)

Total reserved
IOS Memory (includes dHeap)
Control plane Data plane

750 MB Linux 750 MB 750 MB free 1000 MB 470 MB 280 MB 750 MB packet 750 MB 40 MB 472 MB
OS Linux Cache IOS dHeap buffer system EXMEM EXMEM
IOSd IOSd used
used free free free
free used
ISR4451#show platform software status control-processor brief
Load Average
Slot Status 1-Min 5-Min 15-Min
RP0 Healthy 0.00 0.04 0.06 Total used Memory (excludes
Cache & dHeap, includes full
Memory (kB) 750 MB IOS)
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
RP0 Healthy 3972052 3259444 (82%) 712608 (18%) 1506452 (38%)

CPU Utilization
Slot CPU User System Nice Idle IRQ SIRQ IOwait
RP0 0 2.39 0.39 0.00 97.00 0.09 0.09 0.00TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
ISR 4400, 4GB CP, 2GB
DP, IOS-XE 3.13.1
ISR 4400 – How to monitor DP
ISR4451#show platform hardware qfp active infrastructure exmem statistics
QFP exmem statistics
Total Physical DP Memory
Type: Name: DRAM, QFP: 0
Total: 2147483648
InUse: 1648148480 DP Memory used by System (750 MB), Buffer (756MB) and EX (~20MB)
Free: 499335168
Lowest free water mark: 432488448
<snip>
Free DP memory (used by EX only!)

75% of memory appear to be used


These are reserved for packet buffers and system internals
The EX part (that scales with features like the RIB) has 499 MB free out of 512 MB, hence
it’s utilization is only 2%

Control plane Data plane

750 MB Linux 750 MB 750 MB free 1000 MB 470 MB 280 MB 750 MB packet 750 MB 40 MB 472 MB
OS Linux Cache IOS dHeap buffer system EXMEM EXMEM
IOSd IOSd used
used free free free
free used

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
ISR 4200 / 4300 – Memory allocation
ISR4300, 4GB CP & DP, IOS-XE 3.13.1

IOSd

Linux

Packet Buffer
950 MB 750 MB 1000 MB 530 MB 220 MB

300 MB
100 MB
Linux OS Linux Cache IOS dHeap IOSd IOSd

free
used free free free used

236 MB 20 MB
EXMEM EXMEM
free used

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
ISR 4300, 4GB CP & DP,
IOS-XE 3.13.1
ISR 4200 / 4300 – Memory allocation
4GB Control & Data Plane

Linux

1.7 GB 100 MB Total: ~2% Free


Linux free
reserved

Packet Buffer
950 MB 750 MB 1000 MB 750 MB Total: ~42% Free

EXMEM
256 MB
100 MB

300 MB
free
Linux OS Linux Cache IOS dHeap IOSd
used free free

530 MB 220 MB 236 MB 20 MB


IOSd IOSd EXMEM EXMEM
Total: ~ 65% Free
free used free used

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
ASR 1002-X, 16GB CP,
2GB DP, IOS-XE 3.13.1
ASR1002-X – How to monitor CP
Total reserved
IOS Memory
ASR1002-X#show memory
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 7F0615A74010 4840049792 555705528 4284344264 4284328728 4284338796
lsmpi_io 7F06152711A8 6295128 6294304 824 824 412
Total used Total free IOS Memory
IOS Memory (includes dHeap)
ASR1002-X#show platform software status control-processor brief Total used Memory
Load Average
(*includes*Cache & dHeap,
Slot Status 1-Min 5-Min 15-Min
RP0 Healthy 0.00 0.00 0.00 includes full 750 MB IOS)

Memory (kB)
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
RP0 Healthy 16337120 3547568 (22%) 12789552 (78%) 6015204 (37%)

CPU Utilization The “show memory” command is


Slot CPU User System Nice Idle IRQ SIRQ IOwait
RP0 0 2.29 3.19 0.00 94.40 0.00 0.09 0.00 executed inside IOSd, therefore it
1 0.80 0.90 0.00 98.30 0.00 0.00 0.00 will only show what is available to
2 0.20 0.50 0.00 99.30 0.00 0.00 0.00
3 0.19 0.39 0.00 99.40 0.00 0.00 0.00
the IOSd process.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
ASR 1002-X, 16GB CP,
2GB DP, IOS-XE 3.13.1
ASR1002-X – How to monitor DP
ASR1002-X# show platform hardware qfp active infrastructure exmem statistics
QFP exmem statistics

Type: Name: DRAM, QFP: 0


Total: 1073741824 Total Physical DP Memory
InUse: 205749248 DP Memory used
Free: 867992576 Free DP memory
Lowest free water mark: 867992576
<snip>

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
Differences between Platforms
ISR4200 / ISR4300 ISR4400 ASR1000
• CP IOS monitoring: • CP IOS monitoring: • CP IOS monitoring:
• IOS can grow into dHeap • IOS can grow into dHeap • IOS has fixed allocation at boot, no
growth into dHeap
• CP memory monitoring: • CP memory monitoring: • CP memory monitoring:
• “used” shows allocated memory • “used” shows allocated memory • “used” shows used memory
• “committed” shows used memory • “committed” shows used memory • “committed” shows allocated
memory

• DP memory monitoring: • DP memory monitoring: • DP memory monitoring:


• DP memory shows only EXMEM • DP memory includes system, • DP memory shows only EXMEM
buffer and EXMEM

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
ISR 4400, 4GB CP, 2GB
DP, IOS-XE 3.13.1
Routing Scale Test
show plat hardware qfp
show platform software active infra
show platform resources show memory status control-processor brief exmem statistics
IPv4 BGP Total Total Heap
Routes Reserved CP Reserved DP used Free Used used free committed InUse Free
0 3233MB(83%) 1591MB(75%) 290MB 1411MB 0MB 3312MB (83%) 659MB (17%) 1506MB (38%) 1648MB 499MB
100000 3523MB(90%) 1617MB(77%) 431MB 1296MB 0MB 3603MB (91%) 368MB ( 9%) 1661MB (42%) 1656MB 490MB
200000 3819MB(98%) 1627MB(77%) 569MB 1158MB 0MB 3907MB (98%) 64MB ( 2%) 1813MB (46%) 1667MB 480MB
300000 3854MB(99%) 1636MB(78%) 707MB 1020MB 48MB 3945MB (99%) 26MB ( 1%) 1998MB (50%) 1675MB 472MB
400000 3779MB(97%) 1646MB(78%) 845MB 882MB 160MB 3870MB (97%) 101MB ( 3%) 2282MB (57%) 1685MB 461MB
500000 3851MB(99%) 1654MB(78%) 984MB 744MB 304MB 3943MB (99%) 28MB ( 1%) 2580MB (65%) 1694MB 453MB
600000 3853MB(99%) 1664MB(79%) 1122MB 606MB 448MB 3946MB (99%) 25MB ( 1%) 2882MB (73%) 1704MB 442MB
700000 3851MB(99%) 1674MB(79%) 1260MB 467MB 576MB 3943MB (99%) 28MB ( 1%) 3165MB (80%) 1713MB 434MB
800000 3850MB(99%) 1683MB(80%) 1398MB 330MB 688MB 3942MB (99%) 29MB ( 1%) 3430MB (86%) 1723MB 423MB
900000
Unsupported
1000000

Free Memory and Committed Memory should be monitored closely.


Other data is misleading due to the inclusion of heap and cache.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
ISR 4300, 4GB CP & DP,
IOS-XE 3.13.1
Routing Scale Test
show platform hardware
qfp
show platform software active infrastructure
show platform resources show memory status control-processor brief exmem statistics
IPv4 BGP Total Total Heap
Routes Reserved CP Reserved DP used Free Used used free committed InUse Free
0 3773MB(97%) 22MB(8%) 229MB 1498MB 0MB 3888MB (98%) 61MB ( 2%) 2302MB (58%) 23MB 244MB
100000 3830MB(99%) 49MB(18%) 366MB 1362MB 0MB 3920MB (99%) 29MB ( 1%) 2457MB (62%) 50MB 218MB
200000 3830MB(99%) 59MB(22%) 507MB 1220MB 0MB 3920MB (99%) 29MB ( 1%) 2609MB (66%) 60MB 207MB
300000 3830MB(99%) 67MB(25%) 641MB 1087MB 0MB 3920MB (99%) 29MB ( 1%) 2762MB (70%) 69MB 199MB
400000 3829MB(99%) 77MB(29%) 782MB 946MB 112MB 3920MB (99%) 29MB ( 1%) 3030MB (77%) 79MB 188MB
500000 3828MB(99%) 86MB(33%) 919MB 808MB 240MB 3921MB (99%) 29MB ( 1%) 3313MB (84%) 88MB 179MB
600000 3828MB(99%) 96MB(36%) 1056MB 671MB 368MB 3921MB (99%) 29MB ( 1%) 3598604 (91%) 98MB 170MB
700000
800000
Unsupported
900000

In comparison to 4400 the IOSd memory limit was probably not reached on this 4300.
The overall memory consumption identified by “committed memory” is the limitation.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Conclusion
• There are 3 possible memory bottlenecks:
• 1. IOSd Memory
• Even including dHeap there is a limit to how big IOSd can grow
• 2. Overall Linux Memory
• Because Linux grows at about the same rate as IOSd and reduces it’s cache constantly
this absence of cache eventually becomes an issue
• 3. EXMEM (Data Plane)
• This is unrelated to the control-plane memory but still can pose a limitation, especially
as it can’t be increased as of current software

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Scaling up with bigger memory (IOS-XE 3.13.1)
CP & DP IOS IOS Service
Platform Linux EXMEM
Memory dHeap static Containers
4400 4GB, 2GB 2.25 GB 1 GB 750 MB 512 MB 0 GB

4400 8GB, 2GB 4.25 GB 3 GB 750 MB 512 MB 4 GB

4400 16GB, 2GB 8.25 GB 7 GB 750 MB 512 MB 8 GB

4300 4GB 1.6 GB 1 GB 750 MB 256 MB 0 GB

4300 8GB 3.6 GB 3 GB 750 MB 256 MB 4 GB

4300 16GB 7.6 GB 7 GB 750 MB 256 MB 8 GB

part of fixed
ASR1002-X 16GB, 2GB 12 GB 4GB 1024MB 0 GB
Linux memory

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
High Availability
High-Availability on the ASR 1000

RP

RP
• Redundant ESP / RP on ASR 1006, 1006-X, 1009-X & 1013 CPU CPU

• Software Redundancy on ASR 1001-X, 1002-X & 1004 FECP FECP

ESP
ESP
QFP Crypto
QFP
• Max 50ms loss for ESP fail-over Crypto PPE BQS
Crypto
Assist. PPE BQS

• Zero packet loss on RP fail-over


• Intra-chassis Stateful Switchover (SSO)
• Stateful features: PPPoX, AAA, DHCP, IPSec, NAT, Firewall SPA

SIP
IOCP
Aggreg.

• IOS XE also provides full support for Network Resiliency SPA SPA

• NSF/GR for BGP, OSPFv2/v3, IS-IS, EIGRP, LDP SPA

SIP
IOCP
Aggreg.
• IP Event Dampening; BFD (BGP, IS-IS, OSPF)
SPA SPA
• first hop redundancy protocols: GLBP, HSRP, VRRP
SPA

SIP
IOCP
Aggreg.
• Support for ISSU super and sub-package upgrades
SPA SPA

• Stateful inter-chassis redundancy available for NAT, SBC, Firewall


TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
ASR1000 data plane redundancy
CPU CPU

RP

RP
FECP FECP
ESP

ESP
interconn. GE switch interconn. GE switch
Crypto QFP Crypto QFP
Assist. PPE BQS Assist. PPE BQS

interconnect interconnect

Midplane

interconnect interconnect interconnect


SIP

SIP

SIP
SPA SPA SPA
IOCP IOCP
Aggreg. Aggreg. Aggreg.

SPA SPA SPA SPA SPA SPA

Backup link, prenegotiated and ready for forward


Active link, forwarding traffic
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
ASR1000 control plane architecture
CPU CPU
CPU

RP
FECP FECP

RP

ESP
ESP

interconn. GE switch interconn.


interconn. GEswitch
GE switch
Crypto QFP Crypto QFP
Assist. PPE BQS Assist. PPE BQS

interconnect
interconn. interconnect

Midplane

interconnect interconnect interconnect


SIP

SIP

SIP
SPA SPA SPA
IOCP IOCP IOCP
Aggreg. Aggreg. Aggreg.

SPA SPA SPA SPA SPA SPA

Ethernet out of band channel (EoBC)


I2C bus
SPA bus TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
ASR 1006 High Availability Infrastructure
RIB MRIB IPC
IOS active IDB RT Transport IOS standby

Platform Adaptation Layer (PAL) Platform Adaptation Layer (PAL)


RP

RP
Chassis MFIB Chassis
manager
Forwarding manager manager
Forwarding manager
FIB

Linux Kernel Linux Kernel

QFP client QFP client

QFP driver QFP driver

ESP
ESP

Chassis Chassis
manager
Forwarding manager manager
Forwarding manager

Linux Kernel Linux Kernel

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
Which Events Trigger Failovers?
• The following events may trigger failovers on the RP/ESP:
• Hardware component failures
• Software component failures
• Online Insertion and Removal (OIR)
• CLI-initiated failover (e.g. reload command, force-switchover command)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 126
Failover Triggers: Hardware Failures RP-CPU I2C Mux

• What hardware failures? Memories Bootflash

RP
• CPUs: RP-CPU, QFP, FECP, IOCP, interconnect CPU, I2C EOBC
Mux, ESP Crypto Chip, heat sinks, …
• Memory: NVRAM, TCAM, Bootflash, RP SDRAM, FECP Interconnect CPU
SDRAM, resource DRAM, Packet buffer DRAM, particle
length DRAM, IOCP SDRAM, …
• Interconnects: ESI Links, I2C links, EOBC Links, FECP SPA-SPI I2C
SPA-SPI bus, local RP bus, local FP bus QFP TCAM

ESP

SIP
IOCP
• Detected using Crypto Memories

• Software running on the failed hardware will crash -> see


Interconnect CPU Interconnect CPU
software crashes
• Watchdog timers: low level watchdogs to monitor for
failures

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 127
Failover Triggers: Software Failures IOS
active
IOS
standby
• What software Failures? Platform Adaptation Layer

RP
(PAL)
• Kernel: Linux on RP / ESP / SIP Chassis Forwarding
manager manager
• Middleware: chassis manager, forwarding manager
• IOS, SPA drivers Linux Kernel

• Detected using the process manager (PMAN)


• PMAN: every software process has a QFP client SPASPA
driver
driver
corresponding PMAN process to check its SPA driver
QFP driver

ESP
health

SIP
Chassis
Chassis Forwarding manager
• if software process crashes, PMAN will detect via a manager manager
signal from the kernel Linux Kernel
Linux Kernel
• IPC: between 2 IOS (and only for IOS)
• Hardware watchdog timers supervise Linux and software
stack

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 128
Failover Triggers: Software Failures IOS
active
IOS
standby
• Kernel will take the module down in a controlled Platform Adaptation Layer

RP
(PAL)
manner Chassis Forwarding
manager manager
• IOS, CMESP, CMSIP, FMESP, QFP Driver/Client are not
re-startable Linux Kernel
• PMAN-initiated failover using CPLD register bits for ESP or
RP
(failover within 3ms) QFP client SPASPA
driver
driver
SPA driver
• some processes are re-startable (CMRP, QFP driver

ESP

SIP
Chassis
FMRP, SSH, telnet, …) Chassis
manager
Forwarding
manager
manager

• Kernel will try to re-start the processes in this Linux Kernel Linux Kernel
case
• If unsuccessful, then the process will be held
down and console message logged

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 129
Stateful Application Inter-Chassis Redundancy
• Current Intra-chassis HA typically protects NAT, Firewall,
against CUBE support
• Control Plane (RP) Failures
• Forwarding Plane (ESP) failures RP
Crash

• Interface failures can be mitigated using link


RP
bundling (e.g. GEC)
ESP
Crash

• Any other failures may result in extended


ESP
recovery times Crash
SIP
• Inter-chassis redundancy provides additional
SIP
resilience against
• Interface Failures
Down
• System failures
• Site failures (allowing for geographic redundancy)
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 137
System level redundancy
• VSS, nV RG Infra
• Failover Granularity at the System Level • Failover granularity at the application level
(NAT, Firewall, SBC etc)
• Control-plane active-standby • Control plane active-active
• Active RP considers ‘remote’ linecards under its control – Each RP only considers its own linecards, but
synchronizes application state
• Forwarding-plane active-active
• Forwarding-plane active-active
• No application granularity for failover • Can have one set of firewall services resilient,
• Need to ensure all features are SSO capable and other set of firewall services non-resilient

RPact
Crash RPstby RP
Crash
act FW FW RPact
fabric fabric ESP ESP
linecard linecard SIP SIP
linecard linecard SIP SIP

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 138
Introduction to RG-Infra
• RG Infra is the IOS Redundancy Group Infrastructure to enable the synchronization of
application state data between different physical systems
• Does the job of RF/CF between chassis

• Infrastructure provides the functions to


• Pair two instances of RG configured on different chassis for application redundancy purposes
• Determine active/standby state of each RG instance
• Exchange application state data (e.g. for NAT/Firewall)
• Detect failures in the local system
• Initiate & manage failover (based on RG priorities, allows for pre-emption)

• Assumptions
• Application state has to be supported by RG infra (ASR 1000 currently supports NAT, Firewall, SBC)
• Connectivity redundancy solved at the architectural level (need to ‘externalize’ the redundant ESI
links of the intra-chassis redundancy solution)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 139
Redundancy Groups Functions
• Registers applications as clients
• Registers (sub)interfaces / {SA/DA}-tuplets in case of firewall
• Determines if traffic needs to be processed or not
• Communicates control information between RGs using a redundancy group protocol
• Advertisement of RGs and RG state
• Determination of peer IP address
• Determination of presence of active RG

• Synchronizes application state data using a transport protocol


RG state
• Manages Failovers!
RG control

FW FW
RPact RG infraact RG infrastby RPact

ESP ESP
SIP SIP
SIP SIP

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 140
ISSU - In Service Software Upgrade
IOS XE Software packaging - terminology
• IOS XE software for ASR 1000 is released every 4 months, 3 times a year
• Software that is posted in cisco.com is called ‘Consolidated Package’
• Consolidated Package contains several ‘sub-packages’ which are extracted
from the Consolidated Package
• The sub-packages can be used to individually upgrade a specific software
component of the ASR 1000

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 143
Software Sub-packages
• RPBase: RP OS
IOS IOS
• Upgrading of the OS will require reload to the RP and expect minimal changes
• RPIOS: IOS
active standby
• Facilitates Software Redundancy feature Platform Adaptation Layer

RP
• RPAccess (K9 & non-K9): (PAL)
Chassis Forwarding
• Software required for Router access; 2 versions will be available. manager
manager
One that contains open SSH & SSL and one without
• To facilitate software packaging for export-restricted countries
Linux Kernel
• RPControl :
• Control Plane processes that interface between IOS and the rest of the platform
• IOS XE Middleware Control
• ESPBase: messaging
• ESP OS + Control processes + QFP client/driver/ucode:
• Any software upgrade of the ESP requires reload of the ESP
QFP client / driver SPASPA
driver
• SIPBase: driver
SPA driver
• SIP OS + Control processes QFP code

ESP

SIP
Chassis
• OS upgrade requires reload of the SIP Forwarding manager
Chassis
• SIPSPA: manager manager
• SPA drivers and FPD (SPA FPGA image) Linux Kernel
Linux Kernel
• Facilitates SPA driver upgrade of specific SPA slots

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 144
Universal software images
• In IOS XE 3.X software, only the ASR1001-X and the ASR1002-X platforms
were running universal software images
• As of 16.x software, all ASR1000 platforms are running universal images
• With universal images, licensing commands entered on the CLI determine the
feature set
Product ID in Product ID in Description in License in
Cisco IOS XE 3.x Cisco IOS XE 16.3 Cisco IOS XE 16.3 Cisco IOS XE 16.3
Cisco ASR 1000 Series RP2 SASR1R2- AISK9-316S SASR1KRPUK9-163 Cisco ASR 1000 Series RPX86 AIS
ADVANCED IP SERVICES UNIVERSAL
Cisco ASR 1000 Series RP2 SASR1R2AI S9NLI316S SASR1KRPUNLIK9-163 Cisco ASR 1000 Series RPX86 AIS
ADVANCED IP SERVICES W/O LI UNIVERSAL W/O LI
Cisco ASR 1000 Series RP2 ADV SASR1R2- AESK9-316S SASR1KRPUK9-163 Cisco ASR 1000 Series RPX86 AES
ENT SERVICES UNIVERSAL
Cisco ASR 1000 Series RP2 ADV SASR1R2AE S9NLI316S SASR1KRPUNLIK9-163 Cisco ASR 1000 Series RPX86 AES
ENT SERVICES W/O LI UNIVERSAL W/O LI
Cisco ASR 1000 Series RP2 IP SASR1R2- IPBK9-316S SASR1KRPUK9-163 Cisco ASR 1000 Series RPX86 None
BASE UNIVERSAL
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 146
Cisco IOS XE Images content
Advanced enterprise
IP Base Advanced IP services services
ACL BGP EIGRP IP Base features Advanced IP services features
ISIS OSPF RIP BFD DECNet V
EEM ERSPAN ISSU Broadband (BNG / ISG) IPX
HSRP VRRP GLBP CUBE (SP) CUBE (Ent)
Multicast NAT NBAR Firewall L2 & L3 VPN
Netflow PPPoE client SNMP MPLS OTV
TACACS All intf IPSLA PfR LISP
IPv6 parity to IPv4 features LI IPSec EVC/BDI
K9 images: SSH SSL E-OAM

Some of the features require Feature Data current to IOS XE3.13. Always check Cisco Feature
Licenses in addition to the software Navigator for the most up to date information regarding
image features included in releases and feature sets.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 147
ISSU Support Criteria
• When a new IOS XE feature release or rebuild is released, a compatibility matrix
will be published identifying all the previous releases and rebuilds that release
has been tested for ISSU compatibility.
• The matrix will be available as part of the cisco.com documentation – ASR1000
Configuration Guide
• Compatibility matrix will refer to IOS XE releases and rebuilds using
‘Consolidated Packages’ only.
• Heterogeneous packages are not used for ISSU compatibility testing.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 148
ASR 1000 ISSU
• Ability to perform software upgrade of the IOS image on the single-engine systems
• Support for in-service software downgrade
• “In Service” component upgrades (SIP-Base, SIP-SPA, ESP-Base) without reboot to the system
• Hitless upgrade of some of the software packages in a single engine system
• Hitless upgrade of some software packages in the active RP of a redundant engine system
• Pre-provisioning Capability
• RP Portability - installing & configuring hardware that are physically not present in the chassis
• Allows configuration of RP in one system (i.e. a 1004) and then move it to another system (i.e. a fully populated 1006)

To / From 3.16.0 3.16.1 3.16.2 3.17.0 3.17.1


3.16.0 N/A Tested SSO Tested SSO
3.16.1 Tested N/A Tested Tested SSO
3.16.2 SSO Tested N/A Tested Tested
3.17.0 Tested Tested SSO N/A Tested
3.17.1 SSO SSO Tested Tested N/A
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 149
ISSU Compatibility Summary
• ISSU compatibility is determined by the CONTENT of what went into a release,
not the type of release (ie release, rebuild, etc)
• ISSU supported: Across IOS XE rebuilds (Example: 3.16.1 to 3.16.2)
• ISSU goal: ISSU to work across IOS XE Feature releases (Example 3.15.3 to 3.16.2)
• Compatibility is both forward and backward, if applicable (assuming
configuration compatibility)
• Skipping of releases will be allowed, if the 2 releases are ISSU deemed
compatible and stated as such in the Compatibility Matrix
• Compatibility is only supported between like IOS XE images. Both images need
to have the same feature set of the RP-IOS sub-package. For example:
• From IPBase-K9 To IPBase-K9
• From AIS-non-K9 To AIS-non-K9
• Non-universal to universal ISSU upgrade not supported
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 151
One shot ISSU procedure
• Existing ISSU procedure is a multiple step process. This enhancement greatly
simplifies the ISSU process by a single CLI which will execute the multiple steps
• CLI: request platform software package install node file
<filename> sip-delay <1-172800>
• Sip-delay will allow delay for each SIP upgrade in the sub-package mode
• When this command is executed, it will automatically be adapted to
‘consolidated mode’ or ‘sub-package mode’ running in the system
• In sub-package mode, this CLI will execute the step-by-step procedure
documented in cisco.com
Platform Consolidated package one shot Sub-packages one shot
• This table summarizes the support ASR 1013, ASR1009-X Support Support
matrix of one shot ISSU in terms of ASR 1006, ASR1006-X Support Support

ASR 1000 platform and package ASR 1004 N/A Not Supported
ASR 1002-X N/A Not Supported
mode running in the system
ASR 1001-X TECSPG-2401 N/A Not Cisco
© 2017 Cisco and/or its affiliates. All rights reserved. Supported
Public 154
Minimum Disruptive Restart (MDR) IOS IOS
active standby
• Non-MDR upgrade causes 100s packet loss due to re-
Platform Adaptation Layer
boot of SIP/SPAs

RP
(PAL)
Chassis Forwarding
• MDR reboot time is 25s for SIP, and 10s for SPAs manager manager

• SIP/SPA software upgrade can be done with minimal Linux Kernel

interruption packet flow


Control
• During MDR period, some functions are disabled messaging
• OIR (SPA or transceiver), APS, interface configuration
changes, line alarms QFP client / driver SPASPA
driver
driver
SPA driver
• Requirements / Caveats QFP code

ESP

SIP
Chassis
Forwarding manager
• Hardware (RP, ESP) redundancy Chassis
manager manager
• Supported for SIP40 (SIP10 does not support MDR) Linux Kernel
Linux Kernel
• CPLD or FPGA upgrades require full reload of SPA
• ‘from’ and ‘to’ software versions must support MDR
• Statistics counters will be re-set after the software
upgrade TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 155
Break – 15 minutes
Quality of Service
ISR4000 only

ISR4000 overall forwarding path with QoS


Packet buffers used
SW pattern matching by forwarding engine
IOS Process
Buffers
Advanced
Forwarding engine
classification,
policing, WRED

FPGE MulitGig Fabric Hierarchical egress


FPGE
FPGE packet scheduling

NIM

UCS-E
Non-blocking fabric
for internal transport
SM-X

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 159
ASR1000 only

ASR1000 overall forwarding path with QoS


Packet buffers used
TCAM by QFP
IOS Process
Buffers
Interconnect
Advanced
QFP
classification,
Interconnect policing, WRED

Port rate limiting &


weighting for Interconnect Hierarchical egress
forwarding to ESP packet scheduling
Scheduling Interconnect

Ingress packet Buffers Buffers


buffering Egress SIP packet
buffering
Classifiers
Basic ingress
classification SPA SPA SPA SPA

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 160
ASR1000 only

ASR 1000 QoS – SIP ingress path


• Ingress packet priority classification
Interconnect
Classification based on:
802.1p, IPv4 TOS, IPv6 TC, MPLS EXP
Configurable per port or VLAN Buffer status
Scheduling
reporting
• Ingress SIP buffering
Ingress Egress
128 MB input buffer Buffers Buffers
2 queues, high & low per port
• Ingress SIP scheduler Classifiers

Defaults to weighted fair amongst


ingress ports SPA
SPA
SPA
Excess bandwidth is shared SPAs
Excess weight per port is configurable

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 161
ASR1000 only

ASR 1000 SIP ingress path QoS config For your


reference
• plim qos input policer bandwidth X strict-priority
• Limits the amount of high-priority traffic accepted on an interface.
• X is expressed in kilobits per second.

• plim qos input queue [0 | strict-priority ] pause enable


• Enables the generation of Ethernet pause frames when low / high priority packet depth hits a certain
threshold

• plim qos input queue [0 | strict-priority ] pause threshold X


• Defines the threshold of when to generate an ethernet pause frame back to the remote device.
• X is expressed in percent of queue limit.

• plim qos input weight X


• Defines the weight of the ingress interfaces traffic when scheduling traffic to be sent from the SIP to
the ESP for forwarding

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 163
ASR1000 only

ASR 1000 SIP ingress path QoS config For your


reference
• plim qos input map [ ip | ipv6 | mpls | cos ] … queue
[ 0 | strict-priority ]
• Access to CLI to maps specific IPv4 TOS, IPv6 traffic class , MPLS EXP, or 802.1p values to high or
low priority queues.
• It is possible to classify the various encapsulations simultaneously.
• cos option is only available on Ethernet subinterfaces.
• Enabling cos matching will override any main interface matching for traffic on that specific vlan(s).

• By default the following traffic classes are considered high priority


• IPv4: precedences 6 & 7, DSCP values cs6, cs7
• IPv6: traffic class ef (46)
• MPLS: EXP values 6 & 7
• 802.1p: values 6 & 7

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 164
ASR1000 only

ASR 1000 SIP ingress path QoS stats For your


reference
• show platform hard port x/y/z plim qos …
• Provides details on QoS configuration for SIP forwarding to ESP.
• show platform hard port x/y/z plim buffer settings detail
• Provides details on SIP buffer utilization in transmit and receive directions.
• show platform hard interface A x/y/z plim qos input map
• Provides details on packet classification for high and low precedence ingress queues on
the SIP.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 165
ASR1000 only

ASR 1000 QoS – SIP egress path


• 2 Mbyte of egress buffering per SIP card
Interconnect
• No need for additional SIP based
classification or queuing.
Buffer status
Scheduling
reporting
• Heavy lifting already done by QFP
engine. Ingress Egress
Buffers Buffers
• Egress SIP has high and low priority
buffers in case there is backpressure
Classifiers
from a SPA

SPA
SPA
SPA
SPAs

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 166
For your
reference
ASR1000 SIP egress path
• Egress path on SIP has two queues per interface, high and low priorities
• All packets in high priority queue for an interface must be drained before any low priority
packets will be sent to the SPA for egress
• show platform hard slot X plim buffer settings detail
• Provides details on egress buffer utilization on SIP. These parameters are not user configurable.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 167
ISR4000 only

ISR4000 QoS forwarding path


packet buffers
A. Ingress packets arrive from MGF Resource memory
and FPGE and are temporarily
stored in small internal packet
buffer until processed C SW pattern matching
scheduling
Multicore dataplane software
B. Available core is allocated for a
packet and begins processing
(security ACLs, ingress QoS, etc) B

C. Dataplane cores use SW pattern


matching to perform lookups for Dispatcher / buffers
features enabled for this packet,
update statistics, update state for A
stateful features, forward to crypto
engine, find egress interface, etc.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 168
ASR1000 only

ASR1000 QoS ESP forwarding path


Resource BQS pkt buffers
A. Ingress packets arrive through the TCAM
memory
interconnect and are temporarily C
stored in small internal packet Policer
buffer until processed assist
QFP scheduling
QFP forwarding complex complex
B. Available QFP PPE is allocated for
a packet and begins processing
(security ACLs, ingress QoS, etc) B

C. QFP PPEs use DRAM and TCAM


to perform lookups for features Dispatcher / buffers
enabled for this packet, update
statistics, update state for stateful A
features, forward to crypto engine, Interconnect
find egress interface, etc.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 169
ASR1000 only

ASR 1000 ESP Interconnect scheduling


• ESP Interconnect scheduling ensures fair access by each SIP to the Cisco
QFP
• By default each SIP is allocated:
• a minimum of approximately 50 Mb/sec of high priority traffic to the Cisco QFP
• an equal weight for any excess bandwidth beyond the guaranteed minimum
• All high priority traffic from all SIPs is processed before low priority traffic is
handed to the Cisco QFP
• These parameters are not user-configurable.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 170
ASR1000 only

ASR1000 ESP interconnect status For your


reference
• show plat hard slot X serdes qos
• Where X is F0 or F1
• This shows how minimum bandwidth is allocated on the ESP forwarding card for incoming traffic for
various linecards in the chassis.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 171
IOS XE Packet Processing Engines for QoS
• Packets are accepted into the forwarding engine and allocated a free core to
handle the packet
• Multiple packets are handled simultaneously in the forwarding engine
• The following QoS functions are handled by forwarding engine:
• Classification
• Marking
• Policing
• WRED
• After all the above QoS functions (along with other packet forwarding features
such as NAT, Netflow, etc.) are handled the packet is put in packet buffer
memory handed off to the Traffic Manager

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 172
ISR4000 only

ISR4000 QoS forwarding path


packet buffers
D. Once packet processing is Resource memory
complete and packet has been D
modified, packet is given to the
scheduler. SW pattern matching
scheduling
E. Based on default and user Multicore dataplane software
configurations, packets are
scheduled for transmission based
on the egress physical interface.
E
F. After the packet is release for
egress, it is sent to the MGF or
PCIe bus for transmission out the Dispatcher / buffers
physical interface.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 173
ASR1000 only

ASR1000 QoS ESP traffic manager path


Resource BQS pkt buffers
D. Once packet processing is TCAM
memory
complete and packet has been D
modified, packet is given to the Policer
scheduler. assist
QFP scheduling
E. Based on default and user QFP forwarding complex complex
configurations, packets are
scheduled for transmission based
on the egress physical interface.
E
F. After the packet is release for
egress, it is sent to the interconnect
then to the SIP card for egress Dispatcher / buffers
from a physical interface.
Interconnect F

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 174
Traffic Manager processing
• The Traffic Manager performs all packet scheduling decisions.
• Packets move through the QoS hierarchy even if MQC QoS is not configured.
• Traffic Manager implements a 3 parameter scheduler which gives advanced
flexibility
• Minimum - bandwidth
• Excess - bandwidth remaining
• Maximum - shape
• Priority propagation (via minimum) ensures that high priority packets are
forwarded first without loss

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 175
For your
reference
Traffic Manager statistics
• show plat hard qfp active stat drop all | inc BqsOor
• This gives a counter which shows if any packets have been dropped because of packet buffer
memory exhaustion.

• show plat hard qfp active infra bqs status


• Gives metrics on how many active queues and schedules are in use. Also gives statistics on QFP
QoS hierarchies that are under transition.
• show plat hard qfp active bqs 0 packet-buffer util
• Gives metrics on current utilization of packet buffer memory

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 177
For your
reference
Forwarding engine specifications
Card Packet memory Maximum queues TCAM

ASR 1001-X 512 MB 16,000 10 Mb


ASR 1002-X 512MB 116,000 40 Mb
ASR 1001-HX 512MB 116,000 40 Mb
ASR 1002-HX 1GB 232,000 80 Mb
ESP-20 256 MB 128,000 40 Mb
ESP-40 256 MB 128,000 40 Mb
ESP-100 1GB 232,000 80 Mb
ESP-200 2GB 464,000 80 Mb x 2
ISR 4400 series 750MB limited by available n/a
ISR 4300 series 300MB memory n/a

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 178
IOS XE – non-queuing highlights
• Classification
• IPv4 precedence/DSCP, IPv6 precedence/DSCP, MPLS EXP, FR-DE, ACL, packet-length, ATM
CLP, COS, inner/outer COS (QinQ), vlan, input-interface, qos-group, discard-class
• QFP is assisted in hardware by TCAM on ASR1000, optimized software matching on ISR4000

• Marking
• IPv4 precedence/DSCP, IPv6 precedence/DSCP, MPLS EXP, FR-DE, discard-class, qos-group,
ATM CLP, COS, inner/outer COS

• Detailed match and marker stats may be enabled with a global configuration option
• platform qos marker-statistics
• platform qos match-statistics per-filter
• platform qos match-statistics per-ace
• Detailed statistics will show per line match statistics in class-maps. For marking, the detailed stats
show the number of packets marked per action.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 179
IOS XE QoS – non-queuing
• Policing
• 1R2C – 1 rate 2 color
• 1R3C – 1 rate 3 color
• 2R2C – 2 rate 2 color
• 2R3C – 2 rate 3 color
• color blind and aware in XE 3.2 and higher software
• supports RFC 2697 and RFC 2698
• explicit rate and percent based configuration
• dedicated policer block in QFP hardware on ASR1000
• Policing order of operation (not configurable)
• XE 3.1 and earlier software evaluates from the parent down to the child
• XE 3.2 and later software evaluates from the child up through to the parent (the same as queuing
functions)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 180
IOS XE QoS – non-queuing
• WRED
• precedence (implicit MPLS EXP), dscp, and discard-class based
• ECN marking
• byte, packet, and time based CLI on ASR1000
• packet based only on ISR4000
• packet based configurations limited to exponential constant values 1 through 6 on
ASR1000
• dedicated WRED block in QFP hardware on ASR1000

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 181
IOS XE QoS – queuing
• Up to 3 layers of queuing configured with MQC QoS
• Two levels of priority traffic (1 and 2), followed by non-priority traffic
• Strict and conditional priority rate limiting
• 3 parameter scheduler (minimum, maximum, & excess)
• Priority propagation (via minimum) to ensure no loss priority forwarding via minimum
parameter
• burst parameters are accepted but not used by scheduler
• Backpressure mechanism between hardware components to deal with external flow
control
• fair-queue consumes 16 queues for each class configured with it
• Allows configuration of aggregate queue depth and per-flow queue depth

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 182
IOS XE QoS – queuing
• Queue-limit may be manually configured with various units on ASR1000
• packets, time, or bytes (packets only on ISR4000)
• Within a policy-map, all classes must use the same type of units for all features
• Using packets based queue-limit deals well with bursts of variable size packets
while providing a maximum limit to introduced latency when all packets are MTU
sized
• Using time or byte based queue-limits provides more exact control over
maximum latency but will hold a variable number of packets based on the size of
the packets enqueued
• Simplifies use of the same policy-map on interfaces of different speeds
• Time based configuration results in bytes programmed in hardware when policy-map is
attached to egress interface

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 183
IOS XE QoS – 3 parameter scheduler
• ASR 1000 QFP provides an advanced 3 parameter scheduler
• Minimum - bandwidth
• Excess - bandwidth remaining
• Maximum - shape

• 3 parameter schedulers share excess bandwidth equally in default configuration


• versus 2 parameter schedules that share excess bandwidth proportional to the minimum
configuration

• bandwidth and bandwidth remaining may not be configured in the same policy-
map or class in current software

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 186
3 parameter scheduler – Injected
minimum traffic
policy-map child

dropped
class voice 9 Mb/sec Calculate
priority level 1 Satisfy mins excess sharing
police cir 1000000 (bit/sec) 10 Mb/sec 1 Mb/sec
class critical_services
bandwidth 10000 (kbit/sec) 5 Mb/sec 5 Mb/sec
class internal_services

25 Mb/s
bandwidth 10000 (kbit/sec)
class class-default 10 Mb/sec
bandwidth 1000 (kbit/sec) 15 Mb/sec
! 1 Mb/sec
policy-map parent

dropped
1 Mb/sec 4 Mb/sec
class class-default
10 Mb/sec
shape average 25000000
service-policy child
dropped
4 Mb/sec
5 Mb/sec

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 189
3 parameter scheduler – Injected
excess traffic
policy-map child

dropped
class voice 9 Mb/sec Calculate
priority level 1 Satisfy mins excess sharing
police cir 1000000 (bit/sec) 10 Mb/sec 1 Mb/sec
class critical_services
bandwidth remaining ratio 4 5 Mb/sec 5 Mb/sec
class internal_services

25 Mb/s
bandwidth remaining ratio 1
class class-default 9.5 Mb/sec
bandwidth remaining ratio 1 15 Mb/sec
!

dropped
policy-map parent 5.5 Mb/sec
class class-default
10 Mb/sec 9.5 Mb/sec
shape average 25000000
service-policy child dropped

0.5 Mb/sec
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 190
IOS XE QoS hierarchies
• Generally, MQC based policy-maps with queuing functions may be attached to a
physical interface or sub-interface
• It is possible to attach a non-queuing policy-map to one location and then a
queuing policy-map to the other
• Some scenarios are supported with 2 level hierarchical policy-maps on tunnels
and a class-default shaper on the physical interface
• Broadband applications have their own set of supported scenarios which
support queuing policy-maps on sub-interfaces and then on the dynamically
created sessions which traverse that sub-interface
• Innovative hierarchies which move beyond strict parent-child hierarchies can be
built using service-fragment CLI

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 193
IOS XE QoS hierarchy
policy-map level1
class class-default
shape average 100000000
!
!
policy-map level2
class user1
shape average 60000000
service-policy level3
class class-default
shape average 60000000
service-policy level3
!
policy-map level3
class prec0
priority
police cir 10000000
class class-default
!
interface default interface gig0/0/0.2
interface !
queue
schedule !
interface gig0/0/0.3
SIP root !
schedule

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 194
IOS XE QoS hierarchy
policy-map level1
class class-default
shape average 100000000
!
!
policy-map level2
class user1
shape average 60000000
service-policy level3
class class-default
shape average 60000000
service-policy level3
!
policy-map level3
class prec0
priority
level1 police cir 10000000
schedule class class-default
!
interface default interface gig0/0/0.2
interface service-policy out level1
queue
schedule !
interface gig0/0/0.3
SIP root !
schedule

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 195
IOS XE QoS hierarchy
level3 policy-map level1
queues class class-default
shape average 100000000
service-policy level2
!
policy-map level2
class user1
shape average 60000000
service-policy level3
class class-default
level2 shape average 60000000
schedules service-policy level3
!
policy-map level3
class prec0
priority
level1 police cir 10000000
schedule class class-default
!
interface default interface gig0/0/0.2
interface service-policy out level1
queue
schedule !
interface gig0/0/0.3
SIP root !
schedule

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 196
IOS XE observed Packet and frame sizes
• Traffic manager calculates ethernet packet size on everything between the MAC L2
header and the end of payload
• IFG, preamble, and FCS are not included
• For queuing features, the packet size can be adjusted manually

shape average 1000000 account user-defined -4

• atm cell overhead compensation is available so that ATM L2 links downstream are not overdriven

shape average 1000000 account user-defined 24 atm

• Traffic manager includes the 4 byte CRC in packet sizes for frame-relay
• MQC based QoS for ATM performs L3 shaping and only compensates for atm cell
overhead with the above atm directive in shaped classes
• ATM vc rate configurations are ATM L2 based shaping

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 203
IOS XE Etherchannel QoS support
• With VLAN based load balancing
1. Egress MQC queuing configuration on Port-channel sub-interfaces
2. Egress MQC queuing configuration on Port-channel member link
3. Policy Aggregation – Egress MQC queuing on sub-interface
4. Ingress policing and marking on Port-channel sub-interface
5. Egress policing and marking on Port-channel member link
6. Policy Aggregation – Egress MQC queuing on main-interface (XE2.6 and higher)

• Active/standby with LACP (1+1)


7. Egress MQC queuing configuration on Port-channel member link (XE2.4 and higher)
9. Egress MQC queuing configuration on PPPoE sessions, model D.2 (XE3.7 and higher)
10. Egress MQC queuing configuration on PPPoE sessions, model F (XE3.8 and higher)

• Etherchannel with LACP and load balancing (active/active)


8. Egress MQC queuing configuration supported on Port-channel member link (XE2.5 and higher)
11. General MQC QoS support on Port-channel main-interface (XE3.12 and higher)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 205
Aggregate Etherchannel QoS
with LACP and flow based load balancing
• Requires that aggregate Port-channel interfaces be identified before creation with the
platform qos port-channel-aggregate X command
• Up to four member links per aggregate Port-channel are supported
• FastEthernet and GigabitEthernet and TenGigabitEthernet interfaces are supported
• All member links in a port-channel must be the same speed

• Policy-maps may be applied to the aggregate Port-channel main interface, sub-interface,


or service-groups
• No member link QoS

• For vlan based QoS, a policy-map using VLAN classification should be applied to the
aggregate Port-channel main-interface
• Supports 3 levels of hierarchical policy-maps
• Including 3 levels of policers and/or queuing
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 206
Performance
CPU Evolution

What happened in 2005? Multi-core, great for the general user.


What about Moore’s Law? How does IOS deal with this?

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 218
What makes up performance
System aspects:
• Available purpose-built processors / chips
Configuration
• BW of physical interfaces
• Platform Internal Architecture (i.e. MGF)
• Operative System architecture
Performance
Test aspects:
• Traffic profile (frame size & traffic type)
• Enabled Features Traffic Test
Profile Methodology
• Test Methodology (NDR)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 219
Traffic Profile Overview

Stateless

Stateful

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 220
Impact of Packet size
• One route decision = One packet served
• Routing capacity = Number of packets per second served for a given service.
• Big packets
• Many bits switched for each route decision
• = Higher Mbps number

• Small packets
• Few bits switched for each route decision.
• = Lower Mbps number

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 221
Mbps or PPS?
Stateless FW Mbps PPS

Platform 64 IMIX 1518 64 IMIX 1518

1941 19.0 108.5 450.8 37,201 37,493 37,120

• Example: 1941 with Firewall configuration and different frame sizes


• Min. Frame Size (64 byte) has 23 times less Mbit/s than Max. Frame Size (1518)
• Across different Frame Sizes the pps is contant, even though Mbps varies
• Packet per second = The true routing capacity and hard to skew
• Only applies until interface or performance license limit is reached

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 222
Which number should I believe in?
WAN access speeds with services
Line Rate
N x FE ISR1941 3925E
• 25Mbps or 2.8Gbps - Which one is true?
WAN Access Speed With Services

• Answer: Both. It depends on how it was tested 3945

Line Rate
FE + 3925

2951

2921
VDSL2+/Sub-rate FE
2911

2901

EFM
SubrateFE 1941
1921

800

10 Mb 15 Mb 25 Mb 35 Mb 50 Mb 75 Mb 100 Mb 150 Mb 250 Mb 350 Mb

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 223
How to report the result?
 Performance data is usually referred to as either ”Uni-directional” or ”Bi-directional”
 Uni-directional: A traffic flow going to or from a device, not in both directions
 Bi-directional: Can mean one of two things depending on who’s using the term.
1. The sum flows in both directions, hence the term Bi-directional
200Mbps
bi-directional 100Mbps Down 100Mbps UP

Tester UUT Tester


UDP
2. Bandwidth expected in both directions, hence the term Bi-directional
200Mbps
bi-directional 200Mbps Down 200Mbps UP
Tester UUT Tester
# 2 is thus twice as high as #1

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 224
Reporting results unambiguously
• ”Aggregate” = The sum of all traffic flows going to and from a device

• Why we report in aggregate numbers:


• represents total performance capacity
• the router’s CPU doesn’t care which way a packet is going
• the traffic generator aggregates all traffic it detects in all flows
• whether it’s a ratio of 90% down and 10% up, or a perfect 50/50 split doesn’t matter

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 225
Pay-As-You-Grow performance with ISRs & ASRs
Investment Protection Without Oversubscription

ASR1002-X
5-36Gbps
ASR1001-X
2.5-20Gbps
ISR 4451
1-2Gbps
ISR 4431
500-1000 Mbps
ISR 4351
200-400 Mbps
ISR 4331
100-300 Mbps
ISR 4321
50-100 Mbps 4-10X Faster
Add performance and services anytime
Flexible consumption options

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 226
Performance license limit – ISR4000 example
• Notice that many of the results are at the exact licensed max limit.
• This means router hit shaper before bottoming out
• How much CPU is then left?

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 227
Performance license limit – ISR4000 example
• Notice that many of the results are at the exact licensed max limit.
• This means router hit shaper before bottoming out
• How much CPU is then left?

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 228
Performance license limit – ISR4000 example
• Notice that many of the results are at the exact licensed max limit.
• This means router hit shaper before bottoming out
• How much CPU is then left?

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 229
Performance license limit – ISR4000 example
• Notice that many of the results are at the exact licensed max limit.
• This means router hit shaper before bottoming out
• How much CPU is then left?
@22% @53%
CPU CPU @65% @81% @89%
@43% CPU CPU
CPU
CPU

@20% @54%
CPU CPU @33%
CPU

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 230
ISR Portfolio Performance Overview
2500
22% 57% 97%
Aggregate Throughput

2000
In Mbit/s

1500
21% 54% 95%
99%
1000

31% 58% 77%


500 28% 53% 69%
99%
99% 99% 99% 16% 26% 44%
99%
0
c880/c819 c890 4321 4331 4351 4431 4451
CEF only 190 920 100 300 400 1000 2000
NAT 148 192 100 300 400 1000 2000
IPSEC 80 106 100 300 400 1000 2000

*XX% CPU Utilization


Ideal as “CPE Lite” Ideal as Service-Rich CPE
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 231
For your
reference
How many Advanced Services can we pile on?
FW + NAT + QoS + IPSEC AVC AVC + NBAR + QoS + IPSEC
Platform License Mbps CPU % Mbps CPU % Mbps CPU %
50 42 31 45 32 42 54
ISR 4321
100 85 62 67 98 77 99
100 86 53 97 54 91 86
ISR 4331
300 216 95 238 98 138 99
200 175 87 200 91 124 99
ISR 4351
400 272 98 282 98 164 99
500 322 99 279 99 174 99
ISR 4431
1000 545 99 482 99 302 99
1000 545 99 491 99 305 99
ISR 4451
2000 959 99 850 99 540 99

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 232
CSR 1000V Performance
Single feature tests
3500 91%
84%
97%
3000
Throughput (Mbit/s)

100%
82% 50%
2500 46% 81% 53% 81%
100%
93%
2000 79% 1 vCPU
84%
1500 2 vCPU
83%

99%
4 vCPU
1000
99%
97%
500

0
CEF ACL QoS NAT L4 FW IPSec
Challenge: single features don’t load-balance well across multiple CPUs
Testing parameters:
• IMIX traffic at 0.01% Drop Rate
• IOS-XE Image 3.14
• Platform: UCSC-C240-M3S with Intel Xeon E5-2643 v2 running ESXi 5.5
• VM-FEX results are on average 17% higher
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 234
ASR1000 Performance
250 70

60
200
50
Throughput (Gbit/s)

Throughput (Gbit/s)
150 40

30
100
20
50
10

0 0
CEF NAT FW IPSEC
ASR1001X ASR1002X ESP40 ESP100 ESP200

ASR1000 performs to the advertised limits in all single feature tests except IPSEC

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 235
ASR1000 Performance
40 27
QoS BW
35 24
Base Bw
30 21
Netflow BW
Gb/sec bandwidth

18 ACL BW

Millions PPS
25
15 uRPF BW
20
12 PR2650 BW
15 IPv4 PPS
9
10 ACL PPS
6
QoS PPS
5 3
Netflow PPS
0 0 uRPF PPS
76 132 260 516 1028 1518
PR2650 PPS
Packet size in bytes

• Individual features have small impact with small packet sizes (76B and 132B)
• Individual features have very little impact at large packet sizes (above 260B)
• QFP has excellent behavior even with combined features for larger packet sizes!

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 236
How to verify current CPU Load
IOS Router with single CPU
IOS-ROUTER#sh proc cpu his

IOS-ROUTER 04:03:37 AM Monday Dec 22 2014 UTC

11111
88888999999999999999000009999999999888883333399999
222222222277777999999999999999000009999999999000005555599999
100 ****************************** *****
90 *********************************** *****
80 **************************************** *****
70 **************************************** *****
60 **************************************** *****
50 **************************************** *****
40 **************************************************
30 **************************************************
20 **************************************************
10 **************************************************
0....5....1....1....2....2....3....3....4....4....5....5....6
0 5 0 5 0 5 0 5 0 5 0
CPU% per second (last 60 seconds)

Simple command showing overall CPU utilization

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 237
How to verify current CPU Load
IOS-XE Router with dedicated CP/SP and DP CPUs (ISR4400 & ASR1000 Series)
Classic command shows IOS-XE command shows
ISR4451#sh proc cpu his average CP/SP utilization per core utilization
ISR4451#show platform software status control-processor brief
1111111111111111111111111 Load Average
555550000000000000000000000000 Slot Status 1-Min 5-Min 15-Min
55555 88888222220000000000000000000000000 RP0 Healthy 0.02 0.25 0.15
100 ***********************
90 *********************** Memory (kB)
80 *********************** Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
70 *********************** RP0 Healthy 3972052 3928184 (99%) 43868 ( 1%) 2584140 (65%)
60 ***********************
50 **************************** CPU Utilization
40 **************************** Slot CPU User System Nice Idle IRQ SIRQ IOwait
30 **************************** RP0 0 1.10 1.10 0.00 97.70 0.00 0.10 0.00
20 **************************** 1 0.70 3.50 0.00 95.80 0.00 0.00 0.00
10 ***** ********************************* 2 0.30 1.70 0.00 98.00 0.00 0.00 0.00
0....5....1....1....2....2....3....3....4....4....5....5....6 3 0.30 0.70 0.00 98.99 0.00 0.00 0.00
0 5 0 5 0 5 0 5 0 5 0 4 0.50 0.30 0.00 99.20 0.00 0.00 0.00
CPU% per second (last 60 seconds) 5 3.10 1.90 0.00 95.00 0.00 0.00 0.00

This is the Control-Plane utilization!


show platform software status control-processor brief

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 239
How to verify current CPU Load
IOS-XE Router with dedicated CP/SP and DP CPUs (ISR4400 & ASR1000 Series)

ISR4451#show platform hardware qfp active datapath utilization


CPP 0: Subdev 0 5 secs 1 min 5 min 60 min
Input: Priority (pps) 0 0 0 0
(bps) 0 0 0 0
Non-Priority (pps) 3 3 3 3
(bps) 2224 2384 2384 2392
Total (pps) 3 3 3 3
(bps) 2224 2384 2384 2392
Output: Priority (pps) 0 0 0 0
(bps) 0 0 0 0
Non-Priority (pps) 3 3 3 3
(bps) 13056 9080 9080 9104
Total (pps) 3 3 3 3
(bps) 13056 9080 9080 9104
Processing: Load (pct) 2 2 2 2

ISR4400 and ASR1000 have a second command to monitor data plane Cores:
show platform hardware qfp active datapath utilization
We only see average DP utilization, no breakdown per core.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 240
For your
reference
Uni-dimentional scale for select features
ASR1001- ASR1002-X ASR1001- ASR1002- RP2/ RP2/ RP2/ RP2/
X HX HX ESP20 ESP40 ESP100 ESP200
VLANs (per port/SPA/system) 4K/8K/16K 4K/8K/16K 4K/8K/16K 4K/32K/ 4K/32K/ 4K/32K/ 4K/32K/ 4K/32K/
32K 64K 64K 64K 64K
IPv4 routes 1M 3.5M 3.5M 1.0M 4M 4M 4M 4M
IPv6 routes 1M 3M 3M 0.5M 4M 4M 4M 4M
Sessions not avail 29K 29K 24K 32K 64K 58K 58K
L2TP tunnels 4K 4K 4K 12K 16K 16K 16K 16K
Session setup rate (PTA/L2TP) in cps 150/100 150/100 150/100 100/50 150/100 150/100 150/100 150/100
BGP neighbors 8K 8K 8K 4K 8K 8K 8K 8K
OSPF neighbors 1K 2K 2K 1K 2K 2K 2K 2K
Unique QoS policy- / class-maps 1K/4K 4K/4K 4K/4K 1K/4K 4K/4K 4K/4K 4K/4K 4K/4K
ACL/ACE 4K/50K 4K/120K 4K/120K 4K/50K 4K/100K 4K/100K 4K/400K 4K/400K
Multicast groups 2000 4000 4000 1000 4000 4000 44K 44K
IPv4/IPv6 mroutes 64K 64K 64K 64K 100K 100K 100K 100K
Firewall sessions 2M 2M 2M 1M 2M 2M 6M 6M
NAT + firewall sessions 2M 1M 1M 500K 1M 1M 6M 6M
Netflow cache entries 2M 2M 2M 1M 2M 2M 2M 2M
VRFs 4K 8K 8K 1K 8K 8K 8K 8K
BFD sessions (offloaded) 4095 4095 4095 2047 4095 4095 4095 4095
AVC throughput (Mpps/Gbps) not avail 6/20 6/20 2.5/10 3/20 3.4/20 3.6/40 not avail

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 241
Configuration specifics
Management Ethernet
• ASR1000 and ISR4000 have dedicated GigE Management Ethernet
• Not usable for ‘normal’ traffic
• Supports only basic ACLs
• Most forwarding features do not work on this port (traffic not processed by QFP)
• Intended for out of band router access—has SW support for rate limiting but that takes
CPU cycles to drop packets
• Don’t connect to the ‘outside’ world
• Always configured in dedicated VRF
• VRF cannot be removed from interface

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 243
TFTP Package to the RP from ROMMON
• SET the following variables within the ROMMON
• RP does not have full RxBoot environment
ROMMON is basically beefed up to support TFTP
rommon 2 > set
IP_SUBNET_MASK=255.255.0.0
TFTP_SERVER=2.8.54.2
TFTP_FILE=mcpude_12_18.bin
DEFAULT_GATEWAY=2.1.0.1
IP_ADDRESS=2.1.35.52
• Connect the GE management port on the RP to your management VLAN
• access the TFTP server where the “consolidated” package is located
• Issue the following command at ROMMON:
boot tftp:
• Image will be transferred directly to the RP DRAM for execution

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 244
Initial RP config in IOS for normal operation
• First thing that you will notice here is the default definition of “Mgmt-intf” VRF (case-
sensitive), which includes RP Mgmt. Gi0 port
Router#sh ip vrf interfaces
Interface IP-Address VRF Protocol
Gi0 unassigned Mgmt-intf up

• Assign the Gi0 interface an IP address, and set the default route in the VRF
ip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 <gateway_ip_address>

• Set the TFTP source interface to Gi0 for file transfers:


ip tftp source-interface gigabitEthernet 0

• Multiple options for file storage and booting when transferring images to the RP
• bootflash: 1-8GB — recommended, larger on systems without harddisk:
• harddisk: 40-80GB — not on all platforms

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 245
Configuring Management Ethernet

vrf definition Mgmt-intf


!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
ip domain name vrf Mgmt-intf cisco.com
ip name-server vrf Mgmt-intf 171.70.168.183
ip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 172.27.55.129
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
ip address 172.27.55.210 255.255.255.128
speed auto
duplex auto
negotiation auto

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 246
Filesystem Specifics
• All media shows up as type ‘disk’ regardless of type of media (SATA disk, USB flash, etc)
• harddisk: and bootflash: always formatted as ext2
• External usb0:, usb1: can be formatted as FAT16, FAT32, or ext2
• No support for multiple partitions at this time, only first partition on each device is visible
• fsck supported for all file system types; /automatic is implicit
• IOS does not control these devices directly
• no flash driver in IOS
• no SATA driver in IOS
• Linux has the drivers, does the mount/umount under the covers

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 247
Core dumps, crashinfo
• Core dumps for all processes (IOS, cmand, fman_rp, …) and kernel all get written to
• harddisk:core/
• or bootflash:/core when no harddisk is present.

• File name pattern:


<hostname>_<FRU type>_<unit>_<process>_<time>.core.gz

• IOSd generates crashinfo files into bootflash: when it crashes—like other IOS based
platforms

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 248
IOS XE System Health Monitoring
• standard IOS CPU utilization and memory usage, e.g.,
“show process cpu” are not sufficient to determine control plane memory
ASR1000 health

RP
RP control processor
• Monitoring the CPU and memory utilization of the following
system elements is strongly recommended Linux
Interconnect
Kernel
• RP CPU and Memory Utilization
• ESP CPU and Memory Utilization Interconnect
• QFP Utilization
QFP
• NOTE: On fixed configuration platforms it is critical to understand QFP

ESP
memory
that the RP/ESP/SIP are actually sharing the same CPU and Packet
Interconnect
Crypto
memory. Therefore checking the RP values reports for all three. buffer
control plane
FECP

SIP
• Relevant MIBs: memory
SPA aggregation
• CISCO-PROCESS-MIB
• CISCO-ENTITY-QFP-MIB IOCP

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 249
IOS XE Control-Processor
• Key data to monitor for BB/ISG
ASR1000# show platform software status control-processor brief
Memory (kB) deployments:
Slot Status Total Used (Pct) Free (Pct) Committed (Pct)
RP0 Healthy 16343792 4509516 (28%) 11834276 (72%) 11627180 (71%) • RP/ESP Load Averages
RP1 Healthy 16343792 3962260 (24%) 12381532 (76%) 11621352 (71%)
ESP0 Healthy 16338208 990200 ( 6%) 15348008 (94%) 484804 ( 3%) • Committed Memory
ESP1 Healthy 16338208 1450756 ( 9%) 14887452 (91%) 1094048 ( 7%)
SIP0 Healthy 449336 350208 (78%) 99128 (22%) 359060 (80%) • RP/ESP CPU Utilization
SIP1 Healthy 449336 281628 (63%) 167708 (37%) 250948 (56%)

CPU Utilization • All key data is retrievable via SNMP


Slot CPU User System Nice Idle IRQ SIRQ IOwait
RP0 0 1.39 1.09 0.00 97.50 0.00 0.00 0.00
1 0.29 0.39 0.00 99.30 0.00 0.00 0.00 Due to the Linux cache mechanism, Used and Free
RP1 0 0.50 0.80 0.00 98.60 0.00 0.10 0.00
1 0.00 0.30 0.00 99.69 0.00 0.00 0.00
memory % are not always accurate. The cache gets
ESP0 0 0.00 0.00 0.00 100.00 0.00 0.00 0.00 counted as used when it is really potentially free. The
1 0.00 0.10 0.00 99.89 0.00 0.00 0.00
ESP1 0 0.10 0.80 0.00 99.09 0.00 0.00 0.00
critical item to view from this output is “Healthy” status.
1 0.00 0.00 0.00 100.00 0.00 0.00 0.00 To see accurate Used/Free/Cache usage use the
SIP0
SIP1
0
0
2.80
6.20
1.30
9.60
0.00 95.89
0.00 84.18
0.00
0.00
0.00
0.00
0.00
0.00
‘monitor’ cmd on the next slide.

Committed Value on ASR differs from ISR platform.


ISR – Represents actual memory in use.
ASR – Represent max potential memory usage.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 250
IOS XE Linux top
• Captures actual ‘top’ ASR# show platform software process slot RP active monitor cycles 2 interval 10
output from RP/ESP/SIP. <snip>
top - 14:19:18 up 1 day, 22:09, 0 users, load average: 0.80, 0.53, 0.42
This can be used to Tasks: 227 total, 2 running, 225 sleeping, 0 stopped, 0 zombie
determine Used/Free/ Cpu(s): 1.7%us, 0.6%sy, 0.0%ni, 97.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 8067244k total, 2697464k used, 5369780k free, 169760k buffers
Cache memory usage and Swap: 0k total, 0k used, 0k free, 1394588k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
CPU usage. More accurate 29060 root 20 0 99848 91m 5656 S 2 1.2 0:10.87 smand
than the ‘status control- 29638 root 20 0 4820m 641m 206m S 0 8.1 11:08.68 linux_iosd-imag
9055 root 20 0 178m 53m 31m R 0 0.7 2:56.29 mcpcc-lc-ms
processor brief’ command <snip>
but obviously more in-depth.
• It is IMPORTANT to use 2 cycles at a reasonable interval (5-10sec) and IGNORE the CPU
values from the first output. The first output averages over a very small timeframe and the
CPU reports are invalid. Only the 2nd cycle output averages over the desired interval and
provides accurate results. This is a linux limitation, not and IOS issue.
• In this example, Used Mem = 2.7G, but 1.4G of this is cached. Therefore available
memory = Free 5.4G + Cache 1.4G = 6.8G

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 251
IOS XE BQS queue and schedule count
ASR1001# show platform hardware qfp active infrastructure bqs status
BQS-RM Status :
=============================================
Current SW Memory Size: 4000
Object Counts:
Recycle Object Count: 91
Recycle Schedule Count: 15
Recycle Queue Count: 52
# of Active Queues: 144
# of Active Schedules: 56
# of Active Roots: 14
<snip>

• This command has a large amount of output related to QoS actions and events.
• The elements to look for are in the summary table listing the number of active queues and
schedules in the system.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 252
IOS XE QoS sorter memory
ASR1001# show platform hardware qfp active infrastructure bqs sorter memory available
Level:Class Total Available Remaining
============= ====== ========= =========
ROOT:ONCHIP 64 64 100%
ROOT:COS_L2 448 448 100%
ROOT:NORMAL 0 0 0%
BRANCH:ONCHIP 128 122 95%
BRANCH:COS_L2 384 384 100%
BRANCH:NORMAL 15872 15872 100%
STEM:ONCHIP 992 877 88%
STEM:COS_L2 1024 1024 100%
STEM:NORMAL 260064 259934 99%

• Show memory utilization by all the active elements in the BQS system, primarily used for
QoS.
• The last line “STEM:NORMAL” is the primary element to monitor. Keeping the % Remaining
at a reasonable level (> 10%) for dynamic system events.
• Note: This command is dependent on an actual BQS ASIC being present and as such is
not operational on ISR or CSR platforms.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 253
IOS XE QFP memory statistics
• This command shows the
ASR1001# show platform hardware qfp active infrastructure exmem statistics
specific QFP memory usage. QFP exmem statistics
Type: Name: DRAM, QFP: 0
• The SRAM memory is fixed Total: 268435456
InUse: 96961536
and should never change. Free: 171473920
Lowest free water mark: 171438080
Type: Name: SRAM, QFP: 0
• The DRAM memory is the main Total: 32768
memory used, when this InUse: 14880
Free: 17888
reaches near 100% the IRAM Lowest free water mark: 17888
Type: Name: IRAM, QFP: 0
memory will increase to handle Total: 134217728
the extra requirements. InUse: 7027712
Free: 127190016
Lowest free water mark: 127190016
• The IRAM should be monitored
for a reasonable free available
to handle dynamic events. (20-30% free)
• This memory is used for ALL the features that are processed by the QFP.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 254
IOS XE datapath utilization
• This output shows the actual ASR1001# show platform hardware qfp active datapath utilization
processing load at the QFP CPP 0: Subdev 0 5 secs 1 min 5 min 60 min
Input: Priority (pps) 1 1 1 1
from all interfaces. (bps) 680 1160 1144 1152
Non-Priority (pps) 1 4 4 4
• The Input/Output Priority/ (bps) 584 3040 2992 3000
Total (pps) 2 5 5 5
Non-Priority pps and bps counts (bps) 1264 4200 4136 4152
should be the aggregate from all Output: Priority (pps) 0 1 1 1
(bps) 496 864 856 856
interfaces. Non-Priority (pps) 1 4 4 4
(bps) 3184 9168 9064 9200
Total (pps) 1 5 5 5
• The Processing Load (pct) (bps) 3680 10032 9920 10056
needs to be monitored. A Processing: Load (pct) 0 0 0 0

consistent load below 90% is


expected. Once the load goes above 95% there can be ingress packet drops due to
processing backpressure (Flow-Control).
• Note that the QFP also has to process all the inter-chassis control packets also which
adds to the processing load independent of actual traffic.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 255
IOS XE datapath utilization summary
ASR1001# show platform hardware qfp active datapath utilization summary
CPP 0: 5 secs 1 min 5 min 60 min
Input: Total (pps) 7262 7264 7264 2875
(bps) 59458736 59462160 29265240496 4891165824
Output: Total (pps) 4 5 5 2
(bps) 8600 15536 15840 6168
Processing: Load (pct) 1 1 1 1

• This output shows the same details as the previous command but combines multiple CPP
subdev and priority/non-priority details into a shorter version. Mainly useful on ESP100,
ESP200 where multiple QFP ASICs are used.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 256
IOS XE datapath drops
ASR1001# show platform hardware qfp active statistics drop
-------------------------------------------------------------------------
Global Drop Stats Packets Octets
-------------------------------------------------------------------------
Ipv4NoRoute 10 644
Wred 19 1392

• This output shows the reason for any drops in the QFP complex. There are many reasons
for drops but he output command only shows non-zero statistics (use all keyword to see
all reasons)
• If there are drops outside the QFP they will show up in other places
• “show interface” output
• queue overload
• “show controller” output
• due to flow-control because of the ingress overflow

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 257
IOS XE platform shell
• Used when there is not asr1000# request platform software system shell r0
enough information from the
Activity within this shell can jeopardize the functioning of the system.
IOS CLI Are you sure you want to continue? [y/n] y
2009/06/27 16:58:44 : Shell access was granted to user <anon>; Trace file: ,
• Fully functional shell as ‘root’ /harddisk/tracelogs/system_shell_R0.log.20090627165844
**********************************************************************
• you can see/break everything Activity within this shell can jeopardize the functioning
of the system.
from here Use this functionality only under supervision of Cisco Support.

• Shell session is recorded and Session will be logged to:


harddisk:tracelogs/system_shell_R0.log.20090627165844
send to syslog when done **********************************************************************
Terminal type 'network' unknown. Assuming vt100
• “service internal” and
“platform shell” are required on all platforms and some may also require a license to
be installed.
• Remember that here be dragons and you taste good with ketchup.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 258
Command List
• Summary of RP/ESP/SIP CPU and Memory
show platform software status control-processor brief
• Linux level RP/ESP/SIP CPU,Memory and Process list (top command)
show platform software process slot RP active monitor cycles 2 interval 10
• QoS Queue/Scheduler counts
show platform hardware qfp active infrastructure bqs status
• QoS Resource usage (only on systems with BQS ASIC, ie ASR1000)
show platform hardware qfp active infrastructure bqs sorter memory available
• QFP Memory Usage
show platform hardware qfp active infrastructure exmem statistics
• QFP Datapath Processing
show platform hardware qfp active datapath utilization <summary>

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 259
ESP 100/200 show command differences
• show platform hardware qfp active infrastructure exmem statistics
• On ESP 100 the SRAM reports 0 values (no SRAM)

• show platform hardware qfp active datapath utilization


• must be executed multiple times on ESP100/200, once for each 2nd gen QFP
• Use the summary option to see mulitple QFP ASIC details compressed into one output.

• show platform hardware qfp active infrastructure bqs sorter memory


[active, free, available, utilization]
• different output due to two 2nd gen QFP but same fundamental info for active, free, available
• Utilization is not implemented for 2nd gen QFP

• show platform hardware qfp active infrastructure bqs status


• slightly different, ESP100/200 does not report memory size

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 261
IOS XE packet tracing
• Introduced in XE3.10 as part of the IOS-XE serviceability initiative.
• Pactrac provides visibility into the treatment of packets of an IOS-XE platform with simple
to use commands. It is intended to be used externally (TAC, customers) and internally
(DE, DT) to troubleshoot, diagnose or gain a deeper understanding of the actions taken on
a packet during packet processing.
• Pactrac limits its inspection to the packets matched by the debug platform condition
statements making it a viable option even under heavy traffic situations seen in customer
environments.
• Three specific levels of inspection are provided by pactrac: accounting, per packet
summary and per packet path data. Each level adds a deeper look into the packet
processing at the expense of some packet processing capability.

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 262
Packet-Trace: Configuration Example
• The following shows how one would trace the first 128 packets entering
GigabitEthernet0/0/0 including FIA trace and a copy of up to the first 2048 octets of the
input packet.
debug platform condition interface g0/0/0 ingress
debug platform packet-trace enable
debug platform packet-trace packet 128 fia-trace
debug platform packet-trace copy packet input size 2048
debug platform condition start

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 263
Packet-Trace: Configuration Highlights
• Be mindful of how much QFP DRAM memory a config needs and how much memory is available
• memory needed = (stats overhead) + num pkts * (summary size + path data size + copy size)
• Stats overhead and summary size are fixed and about 2KB and 128B respectively
• Path data size and copy size (in/out/both) are user configurable
• Configure as much detail as you want…more detail…more performance impact for matched packets
(reading/writing memory costs!)
• Each config change temporarily disables pactrac and clears counts/buffers
• “Cheap” way of ‘debug plat cond stop’, ‘clear plat pack stats’ and ‘debug plat cond
start’
• Some configs require a ‘stop’ in order to display summary or per packet data
• Currently circular and drop tracing
• REMINDER: Conditions define where and when filters are applied to a packet

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 264
Packet-Trace: Show Commands
• Show commands are used to display pactrac configuration and each level of data:
• show platform packet-trace configuration
• Displays packet-trace configuration including any defaults
• show platform packet-trace statistics
• Displays accounting data for all pactrac packets
• show platform packet-trace summary
• Displays summary data for the number of packets specified by debug platform packet-trace packet
• show platform packet-trace packet { all | <pkt-num>} [decode]*
• Displays all path data for all packets or the packet specified
• Decode attempts to display packets captured by debug platform packet-trace copy in user
friendly way
• Only a few protocol headers are supported initially (ARPA, IP, TCP, UDP, ICMP)
• decode was introduced in XE3.11

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 265
Use cases
IOS XE for Intelligent WAN

WAN (IP-VPN)
Private
Cloud
Branch

Virtual
Internet Private Cloud

Public Cloud

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 267
Intelligent WAN – Leveraging the Internet

Internet as WAN at Five-Nines Reliability

WAN (IP-VPN)
Private
SLAs for Business Critical Applications Cloud
Branch

Virtual
Centralized Security Policy for Internet Access
Internet Private Cloud

Dramatically Lower WAN Costs without Compromise Public Cloud

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 268
Intelligent WAN Solution Components

AVC
Private
Cloud

Internet
Virtual
Private Cloud
3G/4G-LTE

Branch WAAS PfR MPLS Public Cloud

Transport Intelligent Path Application Secure Connectivity


Independent Control Optimization

• Consistent operational model • Application best path based • Application monitoring with • Certified strong encryption
on delay, loss, jitter, path Application Visibility &
• Simple Provider migrations Control (AVC) • Comprehensive threat
preference
defense with ASA & IOS
• Scalable and Modular design • Load Balancing for full • Application Acceleration Firewall/IPS
utilization of all bandwidth and bandwidth savings
• DMVPN IPsec overlay design • Cloud Web Security (CWS)
with WAAS
• Improved network availability for scalable secure
direct Internet access
• Performance Routing (PfR)

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 269
Cisco Intelligent WAN
Solution Components

Transport Intelligent Secure Application


Independence Path Control Connectivity Optimization

Provider Flexibility Load Balancing Scalable, Strong Encryption Application Visibility


Modular Design Policy-Based Path Selection App-Aware Threat Defense App Acceleration
Common Operational Model Network Availability Cloud Web Security Intelligent Caching

Application Experience / IT Simplicity / Lower WAN Costs


TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 270
SD WAN (IWAN)

MPLS
Private
$$$ Cloud

Virtual
Private Cloud

Branch
Internet

$ Public
Cloud

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 271
SD WAN (IWAN)
Hybrid WAN
Transport
MPLS
Private
$$$ Cloud

Virtual
Private Cloud

Branch
Internet

$ Public
Cloud

 Secure WAN transport across MPLS


and/or Internet for private cloud / DC
access

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 272
SD WAN (IWAN)
Hybrid WAN
Transport
MPLS
Private
$$$ Cloud

Virtual
Private Cloud
Internet backhaul
Branch
Internet

$ Public
Cloud

 Secure WAN transport across MPLS


and/or Internet for private cloud / DC
access

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 273
SD WAN (IWAN)
Hybrid WAN
Transport
MPLS
Private
$$$ Cloud

Virtual
Private Cloud
Internet backhaul
Branch
Internet
Direct Cisco
Internet Cloud $ Public
Web Security
Access Cloud

 Secure WAN transport across MPLS  Leverage local Internet path for
and/or Internet for private cloud / DC public cloud and Internet access
access

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 274
SD WAN (IWAN)
Hybrid WAN
Transport
MPLS
Private
$$$ Cloud

Virtual
Private Cloud
Internet backhaul
Branch
Internet
Direct Cisco
Internet Cloud $ Public
Web Security
Access Cloud

 Secure WAN transport across MPLS  Leverage local Internet path for
and/or Internet for private cloud / DC public cloud and Internet access
access
Increase WAN Capacity Improve App Performance Scale Security at the Branch
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 275
Currently Deployed Virtualization Solutions
Control Plane (Virtual) Private Cloud / DC • Public Cloud
• RR, LISP MS/MR.. • CE/PE Functionality

VPC/ vDC Public Cloud


Shared Services
WAN
vWLC vRR VPC1
WAN CSR WAN
vMS/MR vMC 1000V

Internet Internet
CSR VPC2
ISR/ASR ISR/ASR 1000V
Campus
CSR
1000V

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 276
ASR 1000 as Services PE
Functions Services Scalability*
• Dual-stack
• ASR 1006 / 1013 as MSE • Multicast / mVPN • 2.5 – 100 Gbps
L3VPN / L2VPN / VPLS • EVC • 4M Routes
CsC, Extranet • RA-MPLS with MLP • 8000 VRF
• ASR 1002 –X as PE+LNS • Firewall / CGN / NAT64 • 16000 PW / L2TP
• Hierarchical QoS • IPSec • 8000 PPP / 1000 MLP
• High-Availability / ISSU • Routed PW into VRF • 2000 eBGP + NSR
FRR, Fast Convergence
PE-CE BFD + NSR
• EOAM / SLA

PE+LNS

VRF
Bridge Domain L2TP

PW
MSE
IPSec
Ethernet
FR/Serial
POS
ATM LAC/LTS

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 277
* uni-dimensional. Scalability may vary with feature combinations
ASR 1000 as Internet Edge
Functions Services Scalability*

• ASR 1006 RP1 / ESP10 providing • HSI with LAC model • Up to 10K residential subs
IP Edge functions 1/2/4 Gbps services • 64000 SIP sessions
Over 3000 systems deployed • VoIP and VVoIP using distributed • 1000 MLD / IGMP
• 3-play IP Edge SBC • 100K mroutes
No MPLS • Multicast with 3 levels of QoS • Oversubscribed System
• Extreme focus on HA & ISSU • GEC VLAN loadbalancing • Redundant links
Multiple ISSU upgrades executed

Content Farms

RACS
H.248 SIP-ALG
TV VOD SIP
DSLAM
Residential H.248
VLAN

NAT/NAPT L2TP
QoS HSI
OLT Integrated Ethernet/MPLS/IP
Service
TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 278
ASR 1000 as Enterprise Edge
Functions Services Scalability

• ASR 1001 / 1002 / 1006 as • FNF • 4000+ IPSec tunnels


WAN Edge • PFR • 60K ACEs in 4K ACLs
Secure VPN functions • Multilink FR / PPP • 4K policy maps in 4K class maps
Internet Edge • VRF-aware PBR • 4K GRE
• H-QoS • NAT / Firewall
• IPSec: S2S, DMVPN, GETVPN With inter-chassis redundancy
• USGv6
• Trustsec
• Application Visibility & Control

Internet /
MPLS VPN Corporate
Network

NAT IPSec
QoS /FW / GRE

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 279
ASR1000 with AppNav-XE
Virtualize WAN optimization resources into pools of elastic resources with
business driven bindings, greatly simplify deployment and management
of WAAS. Application
Previous
Custom
Path Affinity
Persistence Affinity Rules

WAAS I/O WAAS Device


Region 1 Region 2 Load Status

vWAAS vWAAS WAAS


WAAS Traffic
Optimization
Load
Load

AppNav WAAS High


WAVE WAVE High Avail Availability

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 280
Summary
IOS XE summary

• IOS XE is an evolution of IOS


• provides operational continuity
• configurations move forward
• IOS protocol troubleshooting moves forward

• Data / control / service plane separation


• Functionality isolation, DOS protection
• Improved and predictable performance
• Cost efficiencies

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 282
IOS XE summary

• Operational excellence
• QoS, High Availability, easy service enablement
• Platform management
• Multiple processors, memories, busses to be
monitored
• Common code and feature sets across
multiple locations in the network
• Eases deployments, decreases incompatibilities

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 283
Complete Your Online Session Evaluation
• Please complete your Online
Session Evaluations after each
session
• Complete 4 Session Evaluations &
the Overall Conference Evaluation
(available from Thursday) to receive
your Cisco Live T-shirt
• All surveys can be completed via
the Cisco Live Mobile App or the
Don’t forget: Cisco Live sessions will be available
Communication Stations for viewing on-demand after the event at
CiscoLive.com/Online

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 284
Continue Your Education
• Demos in the Cisco campus
• Walk-in Self-Paced Labs
• Lunch & Learn
• Meet the Engineer 1:1 meetings
• Related sessions

TECSPG-2401 © 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 285
Thank You

You might also like