Presentation is loading. Please wait.

Presentation is loading. Please wait.

4/20/2017 Cisco Live 2014.

Similar presentations


Presentation on theme: "4/20/2017 Cisco Live 2014."— Presentation transcript:

1 4/20/2017 Cisco Live 2014

2 End-to-End QoS Implementation and Operation with Cisco Nexus
Cisco Live 2014 4/20/2017 End-to-End QoS Implementation and Operation with Cisco Nexus Rohan Grover @mountainviewer Technical Marketing Manager

3 Session Objectives Provide a refresh of QoS and Queuing Basics
Cisco Live 2014 4/20/2017 Session Objectives Provide a refresh of QoS and Queuing Basics Understand the basic hardware architecture for the Nexus Platforms Provide a detailed understanding of QoS on Nexus platforms Examine real-world configuration examples

4 Session Non-Objectives
Cisco Live 2014 4/20/2017 Session Non-Objectives Data Center QoS Methodology Nexus hardware architecture deep-dive Application Centric Infrastructure (ACI) QOS

5 Related Sessions Session Id Session Name BRKARC-3470 BRKARC-3452
Cisco Live 2014 4/20/2017 Related Sessions Session Id Session Name BRKARC-3470 Cisco Nexus 7000/7700 Switch Architecture BRKARC-3452 Cisco Nexus 5600 and 6000 Architecture BRKDCT-1980 Advanced Analytics in Nexus Switches BRKRST-2509 Mastering Data Center QoS

6 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

7 Cisco Live 2014 4/20/2017 Introduction

8 Cisco Live 2014 4/20/2017 “Quality of service (QoS) is the overall performance of a telephony or computer network, particularly the performance seen by the users of the network.” Wikipedia.org

9 Cisco Live 2014 4/20/2017 “On the Internet and in other networks, QoS (Quality of Service) is the idea that transmission rates, error rates, and other characteristics can be measured, improved, and, to some extent, guaranteed in advance.” Margaret Rouse Whatis.com

10 Congestion Happens Everyday!
Cisco Live 2014 4/20/2017 Congestion Happens Everyday!

11 Why QoS in the Data Center?
Assign Color to Traffic Manage Congestion Maximize Throughput Maximize Throughput and Manage Congestion! Congestion management & microburst management

12 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

13 Cisco Live 2014 4/20/2017 QoS and Queuing Basics

14 The QoS Toolset Queuing & Scheduling
22nd Anniversary The QoS Toolset Queuing & Scheduling Prioritize, Protect and Isolate Traffic Based on Markings Classification Identify and Split Traffic into Different Classes Policing Discard Misbehaving Traffic to Maintain Network Integrity Marking Mark Traffic According to Behavior and Business Policies Shaping Control Bursts and Conform Traffic

15 Traffic Management Tools
Cisco Live 2014 4/20/2017 Traffic Management Tools Classification Traffic Categorization Marking Traffic Re-categorization Policing Limit misbehaving flows

16 Classification and Marking – Two sides of a coin
Identify traffic DSCP CoS ACLs IP PREC Remap Traffic Like to Like (i.e CoS to CoS) Like to Unlike (i.e DSCP to COS) Needs mapping tables Also called Mutation lync mgmt p2p Video Before: Uncontrolled Bandwidth VoIP HTTP App1 vmotion backup VoIP/Lync After: Controlled Bandwidth /HTTP SAP Backup Mad Max (1979)

17 Policing – limit misbehaving traffic
Single rate Two Color Policer Conform Action (permit) Exceed Action (drop) Tokens Burst Limit Two rate Three Color Policer Conform Action (permit) Exceed Action (markdown) Violate Action (drop) Conforming Traffic Excess Traffic Mad Max (1979)

18 Congestion Management Tools
Cisco Live 2014 4/20/2017 Congestion Management Tools Buffering Storing packets in memory Queuing Buffering packets according to traffic class Scheduling Order of transmission of buffered packets Shaping Smooth bursty traffic

19 Buffering – Why do we need it?
Many to One Conversations Client to Server Server to Storage Aggregation Points 10 GE 10 GE 1 GE Speed Mismatch Client to WAN to Server 1 GE 1 GE 1 GE

20 Scheduling – Who goes first
Defines Order of transmission The Priority-Queue always serviced first Normal Queues serviced only after Priority Queue empty Different Scheduling algorithms for normal queues

21 Common Scheduling Algorithms
Cisco Live 2014 4/20/2017 Common Scheduling Algorithms Round Robin (RR) Simple and Easy to implement Starvation-free Weighted Round Robin (WRR) Serves n packets per non-empty queue Assumes a mean packet size Deficit Weighted Round Robin Variable sized packets Uses a deficit counter Shaped Round Robin More even distributed ordering Weighted interleaving of flows

22 4 Class Queuing Model example
CoS Queues Priority 5-7 PQ No-Drop 3, 4 Q2 Better than Best-Effort 2 Q1 Best-Effort 0, 1 Default-Q

23 FYI 8 Class Queuing Model Matches often a Campus QoS concept
DSCP Queues Priority CS6 (CS7) PQ Platinum EF Gold AF41 Q7 Silver CS4 Q6 No-Drop CoS3 Q5 Bronze AF21 Q4 Management CS2 Q3 Scavenger AF11 Q2 Bulk Data CS1 Q1 Best-Effort Default-Q Matches often a Campus QoS concept No-Drop still with CoS3 (DSCP are “unusable”) Valid but most complex Classification to Marking implementation as per regards to No-Drop

24 Congestion Avoidance Tools
Cisco Live 2014 4/20/2017 Congestion Avoidance Tools Tail Drop (TD) Drop packets at tail of the queue Single threshold per queue Weighted Random Early Drop (WRED) One or more thresholds per queue Threshold associated with DSCP or COS

25 Putting it all together!
COS Queue 5, 6, 7 PQ1 3, 4 Q3 2 Q2 0, 1 Q-Default Packet is placed in the Egress Queue according to CoS/DSCP value. 1 Priority Queue always served first 2 Egress Port Drop Threshold 4 Drop Threshold 3 Drop Threshold 2 Drop Threshold 1 Normal Queue Normal Queues have Threshold and drop packet accordingly 4 PQ1 Q2 Q3 Q-Default Scheduler DWRR Normal Queues served after PQ is empty according to Scheduler 3 data L2 CoS [3] L3 DSCP [24]

26 Congestion could result in…..
Head of Line Blocking

27 Head of Line Blocking What is the Problem? congestion
No Congestion Red Cars blocked!

28 Head of Line Blocking Solution – Create Separate Lanes but…
Stadium Full Solution – Create Separate Lanes but… Cars turned back

29 Head of Line Blocking Solution – Have an arbiter Stadium Full
Supermarket Not Full

30 Head of Line Blocking What is the Problem? buffer backpressure
Crossbar Fabric Ingress Module Egress Module backpressure for all Traffic buffer Ingress Module Egress Module congestion Ingress Module Egress Module drop

31 Virtual Output Queues Avoid Head of Line Blocking Ingress VOQ Crossbar
Fabric Ingress Module Egress Module Ingress Module Egress Module Ingress Module Egress Module

32 Virtual Output Queues Avoid Head of Line Blocking Ingress VOQ buffer
Crossbar Fabric Ingress Module Egress Module buffer Ingress Module Egress Module congestion Ingress Module Egress Module drop

33 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

34 QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 QoS Implementation on Nexus

35 Nexus uses Modular QOS CLI (MQC)
3 Block Construct What Traffic do we care about? DSCP CoS IPPREC ACLs Class-Map What action do I take on these classes? Policing Marking Scheduling Policy-Map Where do I apply this policy? System Wide Vlan Interface (in/out) Port-channels Service-Policy

36 New QoS Capabilities Priority Flow Control (802.1Qbb)
Enables Lossless Ethernet using per COS pause During congestion, no-drop COS is paused Primarily for FCoE (COS 3) Can save TCAM-Space

37 New QoS Capabilities DCBXP (802.1Qaz)
LLDP with new TLV Values Negotiates capabilities (like PFC) with other devices ECN (Explicit Congestion Notification) Congestion Notification without dropping packets Uses two LSB bits in DiffServ field in IP header DiffServ Field Values 0x00 – Non ECN Capable 0x10 – ECN Capable Transport (0) 0x01 – ECN Capable Transport (1) 0x11- Congestion Encountered Can save TCAM-Space

38 Network-QoS Policy Should be consistent across all switches in network
Supported on F-cards on Nexus 7x00 and Nexus 5x00,6000,9000 Applied on the system-qos target in admin (or default) vdc Configures the following Pause Behavior (PFC) MTU (per VL) Congestion Control (TD or WRED) Nexus(config)# system qos Nexus(config-sys-qos)# service-policy type network-qos my_template Can save TCAM-Space

39 Three Different Types Class-map Policy-map Service-policy QoS QoS QoS
CoS DSCP PREC ACLs Queuing CoS DSCP QoS Marking Policing Mutation Queuing Buffering Scheduling QoS Interfaces Vlans Port-channel System-qos Queuing Interfaces Port-channels System-qos Network-QoS CoS Protocol (fcoe) Network-QoS Congestion-Control Pause / MTU per VL Network-QoS System-qos

40 VLAN based QoS Policy attachment
FYI VLAN based QoS Policy attachment VLAN based QoS Policy is configured in VLAN Database No SVI (aka L3 VLAN Interface) required Routed Port Access Port 802.1q Trunk VLAN QoS Polcies Service Policy applied to the VLAN Database Nexus(config)# vlan configuration <vlan-id> Nexus(config-vlan)# service-policy input myPolicy Can save TCAM-Space

41 Interface based QoS Policy attachment
FYI Interface based QoS Policy attachment Interface based QoS Policy takes precedence over VLAN Can also be attached to port- channel and applies to all member- ports No Egress QoS policies on L2 ports! Routed Port Access Port 802.1q Trunk Port-channel QoS Policies Service policy applied to the switchport Service Policy applied to the Switchport … … or the Routed Port … or a port-channel Nexus(config)# interface ethernet 1/1 Nexus(config-if)# service-policy input myPolicy

42 Interface based Queuing Policy attachment
FYI Interface based Queuing Policy attachment Interface based QoS Policy takes precedence over VLAN Interface based QoS Policy is configured under the respective Interface Queuing Policy can be attached to port-channel also Routed Port Access Port 802.1q Trunk QoS Policies Service policy applied to the switchport Service Policy applied to the Switchport … … or the Routed Port Port-Channel … or a port-channel Nexus(config)# interface ethernet 1/1 Nexus(config-if)# service-policy input myPolicy

43 To Trust or Not To Trust? Data Centre architecture provides a new set of trust boundaries Virtual Switch extends the trust boundary into the Hypervisor Nexus Switches always trust CoS and DSCP

44 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

45 Cisco Live 2014 4/20/2017 Nexus 7000/7700 QoS

46 Nexus 7000 / 7700 I/O Module Families
M Series Modules M2 10G / 40G / 100G M1 1G and 10G L2/L3/L4 with large forwarding tables and rich feature set NEXUS 7000 F Series Modules F2E 10G F3 40G F1 10G F2 10G F2E 10G F3 10G / 40G / 100G High performance, low latency with streamlined feature set NEXUS 7700

47 M2 I/O Module Architecture
12 X 10G MAC / LinkSec Forwarding Engine VOQs Fabric 2 ASIC To Fabric Modules Replication Engine Front Panel Ports LC CPU EOBC 1 2 3 4 5 6 7 8 9 10 11 12 24 23 22 21 20 19 18 17 16 15 14 13 To Central Arbiters Arbitration Aggregator BRKARC-3470 Cisco Nexus 7000 / 7700 Switch Architecture

48 M2 I/O QoS Packet-Flow (10G)
CoS to Queue-Mapping >Policy Type “queuing” (Scheduling, Buffering) 1 >Policy Type “qos” (Mutation, Classification, Marking, Policing) 3 Credit Grant for Fabric Access 5 Return Credit to Pool 8 CoS to Queue-Mapping >Policy Type “queuing” (Scheduling, Buffering) 9 Arbiter Ingress Module Egress Module Crossbar Fabric Forwarding Engine data L2 CoS [2] L3 DSCP [24] data L2 CoS [2] L3 DSCP [24] VoQ gets assigned based on Dest + CoS value 4 Traffic gets Received on Egress VoQ 7 Ingress port-ASIC Traffic gets forwarded over Fabric 6 Egress port-ASIC 1 2 3 4 5 6 7 8 8 Ingress Ingress VoQ-ASIC Egress VoQ-ASIC 1 2 3 4 5 6 7 8 8 Egress 8q2t 1 2 3 3 4 VOQ 1 1 Egress 1p7q4t Default CoS-to-Queue map: CoS [2] to Default-Q (8) 2 1p3q1t FIFO Default CoS-to-Queue map: CoS [2] to Default-Q (8) 10

49 M2 I/O QoS Packet-Flow (40G/100G)
FYI M2 I/O QoS Packet-Flow (40G/100G) CoS to Queue-Mapping >Policy Type “queuing” (Scheduling, Buffering) 1 >Policy Type “qos” (Mutation, Classification, Marking, Policing) 3 Credit Grant for Fabric Access 5 Return Credit to Pool 8 CoS to Queue-Mapping >Policy Type “queuing” (Scheduling, Buffering) 9 Arbiter Ingress Module Egress Module Crossbar Fabric Forwarding Engine data L2 CoS [2] L3 DSCP [24] data L2 CoS [2] L3 DSCP [24] VQI gets assigned based on 5-Tuple flow information 41 Traffic gets Received on Egress VoQ 7 Ingress port-ASIC Traffic gets forwarded over Fabric 6 Egress port-ASIC 1 2 3 4 5 6 7 8 8 Ingress Ingress VoQ-ASIC Egress VoQ-ASIC 1 2 3 4 5 6 7 8 8 Egress 8q2t 1 2 3 3 4 VOQ 1 1 Egress 1p7q4t Default CoS-to-Queue map: CoS [2] to Default-Q (8) 2 1p3q1t VoQ gets assigned based on VQI + CoS 42 FIFO Default CoS-to-Queue map: CoS [2] to Default-Q (8) 10

50 M2 I/O Module Buffering Capacity
FYI M2 I/O Module Buffering Capacity Ingress M2 Module Ingress Queue Structure Ingress Port Buffer Ingress VOQ Buffer 24-port 10G N7K-M224XP-23L 8q2t 5.2MB / port 4.5MB / port 6-port 40G N7K-M206FQ-23L 20.8MB / port 18MB / port 2-port 100G N7K-M202CF-22L 62.8MB / port 54MB / port Egress M2 Module VOQ Structure Egress VOQ Buffer (Credited) Egress VOQ Buffer (Uncredited) Egress Queue Structure Egress Port Buffer 24-port 10G N7K-M224XP-23L 1p4q 295KB / port 512KB / 6 ports 1p7q4t 5MB / port 6-port 40G N7K-M206FQ-23L 1.2MB / port 1MB / 3 ports 20.7MB / port 2-port 100G N7K-M202CF-22L 3MB / port 1MB / port 30.2MB / port

51 Nexus 7700 F3 48-Port 1G/10G Module Architecture
EOBC To Fabric Modules To Central Arbiters FSA CPU 6 X 110Gbps 6 X 110Gbps Arbitration Aggregator 1G per SOC Fabric ASIC Fabric ASIC x 6 LC Inband 55Gbps 55Gbps to LC CPU 8 X 10G SoC 1 8 X 10G SoC 2 8 X 10G SoC 3 8 X 10G SoC 4 8 X 10G SoC 5 8 X 10G SoC 6 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 Front Panel Ports (SFP/SFP+) LinkSec-capable

52 Nexus 7000/ 7700 F2 48-Port 1G/10G Module Architecture
FYI Nexus 7000/ 7700 F2 48-Port 1G/10G Module Architecture 4 X 10G SoC Front Panel Ports To Fabric Modules Fabric 2 2 4 LC CPU EOBC To Central Arbiters Arbitration Aggregator 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 LinkSec-capable (F2E fiber only) LinkSec-capable (F2E copper only)

53 Nexus 7700 24-Port 40G Module Architecture
FYI Nexus Port 40G Module Architecture EOBC To Fabric Modules To Central Arbiters FSA CPU 6 X 110Gbps 6 X 110Gbps Arbitration Aggregator 6 x 1G Fabric ASIC Fabric ASIC x 12 1G switch 1G per SOC LC Inband 55Gbps 55Gbps 2 X 40G SoC 1 2 X 40G SoC 2 2 X 40G SoC 3 2 X 40G SoC 4 2 X 40G SoC 5 2 X 40G SoC 6 2 X 40G SoC 7 2 X 40G SoC 8 2 X 40G SoC 9 2 X 40G SoC 10 2 X 40G SoC 11 2 X 40G SoC 12 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Front Panel Ports (QSFP+)

54 Nexus 7700 12-Port 100G Module Architecture
FYI Nexus Port 100G Module Architecture EOBC To Fabric Modules To Central Arbiters FSA CPU 6 X 110Gbps 6 X 110Gbps Arbitration Aggregator 6 x 1G Fabric ASIC Fabric ASIC x 12 1G switch 1G per SOC LC Inband 55Gbps 55Gbps 1 X 100G SoC 1 1 X 100G SoC 2 1 X 100G SoC 3 1 X 100G SoC 4 1 X 100G SoC 5 1 X 100G SoC 6 1 X 100G SoC 7 1 X 100G SoC 8 1 X 100G SoC 9 1 X 100G SoC 10 1 X 100G SoC 11 1 X 100G SoC 12 1 2 3 4 5 6 7 8 9 10 11 12 Front Panel Ports (CPAK)

55 F3 SoC Architecture Decision Engine Virtual Egress Parser Queuing
To Central Arbiter To Local Fabric From Local Fabric Virtual Queuing Ingress Buffer Decision Engine Egress Buffer Egress Parser Layer 2 Lookups Layer 3 Lookups Classification Marking / Policing Ingress Parser Port Logic F3 SoC Front Panel Ports 8x10G 2x40G 1x100G

56 (1K Dest + 8 priority levels) 4 ingress queues per port
Central Arbiter FYI F3 10G Buffering Model Ingress SOC Egress SOC Virtual Queuing 8K VOQs (1K Dest + 8 priority levels) Virtual Queuing / Egress Buffer – Receives frames from fabric; Schedules frame transmission Scheduling EGRESS QUEUING POLICIES 8 priority levels 4 ingress queues per port 1.5MB DWRR SP 10G Port 1 Ingress Buffer Egress Buffer VQI 1 10G Port 1 Ingress Buffer – Manages congestion toward egress destinations Buffering / queuing INGRESS QUEUING POLICIES FABRIC DWRR SP 1.5MB VQI 8 10G Port 8 10G Port 8 Egress Scheduling

57 (1K VQIs + 8 priority levels) 4 ingress queues per port
Central Arbiter FYI F3 40G Buffering Model Ingress SOC Egress SOC Virtual Queuing 8K VOQs (1K VQIs + 8 priority levels) Virtual Queuing / Egress Buffer – Receives frames from fabric; Schedules frame transmission Scheduling EGRESS QUEUING POLICIES 8 priority levels 4 ingress queues per port 6MB DWRR SP Ingress Buffer Egress Buffer 40G Port 1 VQI 1 40G Port 1 Ingress Buffer – Manages congestion toward egress destinations (VQIs) Buffering / queuing INGRESS QUEUING POLICIES FABRIC DWRR SP 6MB VQI 2 40G Port 2 40G Port 2 Egress Scheduling

58 (1K VQIs + 8 priority levels) 4 ingress queues per port
Central Arbiter FYI F3 100G Buffering Model Ingress SOC Egress SOC Virtual Queuing 8K VOQs (1K VQIs + 8 priority levels) Virtual Queuing / Egress Buffer – Receives frames from fabric; Schedules frame transmission Scheduling EGRESS QUEUING POLICIES 4 ingress queues per port 8 priority levels Ingress Buffer Egress Buffer DWRR SP FABRIC VQI 1 100G Port 1 100G Port 1 12MB Ingress Buffer – Manages congestion toward egress destinations (VQIs) Buffering / queuing INGRESS QUEUING POLICIES Egress Scheduling

59 F2E/F3 QoS Packet Walk Module 2 e2/1 Module 1 e1/1 Fabric ASIC
Decision Engine Ingress Parser CL TCAM F2E/F3 SoC Port Logic Virtual Queuing Ingress Buffer Layer 2 Lookups Layer 3 Lookups Classification Marking / Policing F2E/ F3 SoC Egress Buffer Module 2 e2/1 Fabric ASIC Fabric Module 1 Supervisor Engine Central Arbiter Module 1 e1/1 Fabric Module 2 Fabric Module 3 Fabric Module 4 Fabric Module 5 DWRR SP Buffer credit granted Return buffer credit (dest + priority) Credit Transmit to fabric Request buffer credit for dest + priority Final lookup result: destination + priority Check VQ drop thresholds Req CL TCAM contains QoS classification rules Receive from fabric Credit PKT HDR All L2 + L3 lookups / Ingress + egress QoS classification / Ingress + egress marking and policing Queue packet descriptor in VOQ (dest + priority) Buffer on egress based on dest+ priority Packet headers sent to DE PKT HDR Payload queued in port buffer based on COS / DSCP Schedule and transmit on wire Ingress packet parsing Receive packet from wire PKT HDR

60 Ingress Queuing – Logical View
CoS 0-4 (Q-Default) CoS 5-7 (Q1) 8e Template 8e-4q4q Template CoS 3-4 (Q3) CoS 5-7 (Q1) CoS 2 (Q4) CoS 0-1 (Q-Default) CoS 3 (Q4) CoS 5-7 (Q1) 7e Template CoS 0,1 (Q-Default) CoS 2,4 (Q3) CoS 0-2 (Q-Default) CoS 5-7 (Q1) 6e Template CoS 4 (Q3) CoS 3 (Q4) CoS 0 (Q-Default) CoS 5-7 (Q1) 4e Template CoS 4 (Q3) CoS 1-3 (Q4) As per 6.1(3) High (Pause) Threshold Low (Resume) Threshold

61 Egress Queuing – Logical View
Egress Port PQ1 Q2 Q3 Q-Def DWRR default-4q-8e-out-policy Q-Def. (0,1) (3,4) (2) (5,6,7) Priority 33% Egress Port PQ1 Q2 Q3 Q-Def DWRR default-4q4q-8e-out-policy Q-Def. (0,1) (3,4) (2) (5,6,7) Priority 33% Egress Port Q2 PQ1 Q3 Q-Def default-4q-7e-out-policy Q-Def. (0,1) (5,6,7) (2,4) (3) DWRR Priority 50% Egress Port PQ2 (H) PQ3 (L) PQ1 Q-Def default-4q-6e-out-policy Q-Def. (0-2) PQ3 (3) (5,6,7) PQ2. (4) DWRR Prio 100% Egress Port PQ1 (H) Q-Def PQ2 (L) Q3 default-4q-4e-out-policy (1,2,3) Q-Def. (0) PQ2 (4) PQ1 (5,6,7) DWRR Prio 100% red indicates no-drop

62 F I/O Module Buffering Capacity
FYI F I/O Module Buffering Capacity Ingress Module Total VOQ Buffer Per Module Ingress Queue Structure Ingress VOQ Buffer 48-port 10G F2E N77-F248XP-23E 72MB 4q1t 1.5MB / port F3 48-port 10G N77-F348XP-23 F3 24-port 40G N77-F324FQ-25 144MB 6MB / port F3 12-port 100G N77-F312CK-26 12MB / port Egress Module Egress VOQ Structure Egress VOQ Buffer (Credited) Egress VOQ Buffer (Uncredited) 48-port 10G F2E N77-F248XP-23E 1p7q1t 295KB / port 256KB / 4 ports F3 48-port 10G N77-F348XP-23 512KB / 8 ports F3 24-port 40G N77-F324FQ-25 1.1MB / port 512KB / 2 ports F3 12-port 100G N77-F312CK-26 2.2MB / port 512KB / 1 port

63 Network-QoS and Default Queuing (global)
FYI Network-QoS and Default Queuing (global) default-nq-8e-policy is default network-qos policy and attached to system qos in Admin-/Default- VDC The system queuing policy applied by default can be overridden on a per port basis. N7k# show policy-map type queuing | beg default 4q-8e policy-map type queuing default-4q-8e-in-policy class type queuing 2q4t-8e-in-q1 queue-limit percent 10 bandwidth percent 50 class type queuing 2q4t-8e-in-q-default queue-limit percent 90 policy-map type queuing default-4q-8e-out-policy class type queuing 1p3q1t-8e-out-pq1 priority level 1 class type queuing 1p3q1t-8e-out-q2 bandwidth remaining percent 33 class type queuing 1p3q1t-8e-out-q3 class type queuing 1p3q1t-8e-out-q-default 2 ingress queues with buffer ratio 1:9 and DWRR wieights 1:1 4 egress queues with one priority queue and DWRR wieights 1:1:1 Note: show policy-map system does display similar output

64 CoS or DSCP to Queue Mapping
Default CoS to Queue Mapping for Nexus 7000/7700 (F- and M-Series I/O Module) Ingress: CoS to Queue Egress: CoS to Queue DSCP to Queue Mapping for Nexus 7000/7700 (F- and M-Series I/O Module) Ingress: DSCP to Queue Global Configuration (Admin/Default VDC) required to enable DSCP to Queue Mapping: N7k(config)# hardware qos dscp-to-queue ingress module type {all | f-series | m-series}

65 Changing the Default Trust
routed/bridged 802.1q Trunk 802.1q Trunk / Access Port Ingress Queues Egress Queues q-n data L2 CoS [2] L3 DSCP [24] data L2 CoS [0] L3 DSCP [0] CoS q-1 CoS q-default Set CoS 0 (will only set CoS to 0) data L2 CoS [0] L3 DSCP [24] L3 DSCP [0] Set DSCP 0 (will set DSCP + CoS to 0) Note: CoS is used for egress queue selection, even if the egress interface does NOT carry CoS in the frame

66 Changing The Default Trust (M-Series I/O Module)
FYI Changing The Default Trust (M-Series I/O Module) You can make an interface untrusted (CoS & DSCP) CoS for bridged traffic DSCP for routed traffic You need two Policies A "type queuing" policy to set the CoS to 0 A "type qos" policy to set the DSCP to 0 Set DSCP will set the CoS value for Bridged traffic as well. policy-map type queuing Reset-CoS class type queuing 8q2t-in-q-default set cos 0 bandwidth percent 100 queue-limit percent 100 ! policy-map type qos Reset-DSCP class class-default set dscp 0 ! Tie to an interface: interface Ethernet1/1 service-policy type queuing input Reset-CoS service-policy type qos input Reset-DSCP Note: It is NOT necessary to change the CoS-to-queue mapping in the queuing class-maps to achieve this functionality Explanation (cos to queue-mapping): The "set cos 0" action in a queuing policy comes first (hardware order) and sets the packet marking to cos 0. Next cos to queue-mapping takes place. As all packets have cos 0 assigned, they go into the queue where cos 0 is mapped to (Admin/Default VDC cos-to-queue mapping; per default cos 0 would be mapped to queue-default).

67 Changing The Default Trust (F-Series I/O Module)
FYI Changing The Default Trust (F-Series I/O Module) qos copy policy-map type queuing default-4q-8e-in-policy prefix UNTRUSTED- ! policy-map type queuing untrusted-4q-8e-in class type queuing 2q4t-8e-in-q1 queue-limit percent 1 class type queuing 2q4t-8e-in-q-default queue-limit percent 99 set cos 0 policy-map type qos UNTRUSTED class class-default set dscp 0 ! Tie to an interface: interface Ethernet1/1 service-policy type queuing input untrusted-4q-8e-in service-policy type qos input UNTRUSTED

68 Nexus 7000 QoS Golden Rules QoS is enabled by default and cannot be disabled CoS and DSCP are TRUSTED by default Default Queuing and QoS policies are applied to all physical interfaces across all VDCs For bridged traffic, CoS is preserved, DSCP is unmodified For routed traffic, DSCP is copied to CoS (first 3 bits) Ex: DSCP 40 (b101000) becomes CoS 5 (b101)

69 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

70 Cisco Live 2014 4/20/2017 Nexus 5600/6000 QoS

71 Visibility and Analytics
Cisco Nexus 5600/6000 Overview High Performance High Scalability Feature-Rich Visibility and Analytics Line rate L2 and L3 1-us port-to-port latency 25-MB buffer per port ASIC 10 GE and true 40 GE Up to 224,000 MAC Up to 128,000 ARP L2 and L3 features vPC and FabricPath FC and FCOE VXLAN Bridging and Routing Line-rate SPAN Sampled NetFlow Micro-burst monitoring Latency monitoring

72 Ingress Buffering Model
Nexus 5600/6000 compared to Nexus 7000 F-Series I/O Module Egress VOQ buffer Ingress VOQ buffer Nexus 7000 F-Series I/O Module Egress VOQ buffer Ingress VOQ buffer Ingress Module Egress Module Crossbar Fabric Ingress VOQ buffer – Manages congestion toward egress destinations Egress VOQ buffer – Receives frames from fabric; also buffers multi-destination frames

73 Key Concepts – Common Points
Nexus 7000 compared to Nexus 5000/6000 QoS Nexus 5000/6000 & Nexus 7000 F-Series I/O Modules share the Ingress Buffer Model Ingress buffering and queuing occur at VOQ of each ingress port Egress scheduling enforced by egress port No Egress QOS Policies

74 Cisco Nexus 5600/6000 QoS Features
Traffic classification DSCP, CoS, IP Precedence and ACL Packet marking DSCP, CoS, and ECN Strict Priority Queuing and DWRR Priority Flow Control DCBX 802.1Qaz Ingress policing (No egress policing) 4096 policers per ASIC Flexible buffer management

75 Nexus 5672UP Architecture Overview
UPC 1 24xSFP+ Fabric 6xQSFP+ CPU Supervisor UPC-0 UPC 2 UPC 3 UPC 4 UPC 5 UPC 6 Slot 1 Slot 2 Unified Ports Each UPC manages 12 10G ports or 3 40G ports, and makes forwarding decisions for packets received on those ports. Once a forwarding decision is made, packets are queued in Virtual Output Queues (VoQs), waiting to be granted access to the fabric.

76 Nexus 56128PQ Internal Architecture
Fabric FYI Nexus 56128PQ Internal Architecture Expansion Slot 2 Expansion Slot 3 Supervisor CPU UPC 1 UPC 2 UPC 3 UPC 4 UPC 5 UPC 6 * Changing the port speed on UPC5 will reload the system. 24x SFP+ 24x SFP+ 2x QSFP+ 2x QSFP+ Slot 1

77 Packet Buffering 9MB 16MB Unified Crossbar Fabric
25MB packet buffer is shared by every three 40 GE ports or twelve 10 GE ports. Buffer is 16MB at ingress and 9MB at egress. Unicast packet can be buffered at both ingress and egress. 448 Gbps 224 Gbps Ingress UPC Egress UPC Unicast VOQ Multicast VOQ Unified Crossbar Fabric 16MB 9MB N55xx had 640k buffer per 10G port Separate unicast queue and multicast queue at egress. Unicast queue full----flow control to ingress Multicast queue full----drop

78 Make a forwarding decision
Nexus 5600 QoS Packet Walk Ingress UPC Crossbar Fabric If Buffer Usage Crosses Threshold: Tail drop for drop class Assert Pause for no-drop COS VoQs (8 per egress port) Trust CoS/DSCP and Match on COS/DSCP/ACL Traffic Classification Ingress Cos/DSCP Marking Per-class Buffer Usage Monitoring Forwarding Ingress Policing MAC Make a forwarding decision Ingress Buffer Egress Queues Egress Scheduling WRED/ECN Marking MAC Strict Priority + DWRR Scheduling Egress Buffer Egress UPC

79 Flexible Buffer Management Ingress Buffer
Shared buffer is good for burst absorption. Dedicated buffer is good for predictable performance for each port. On by default, no configuration needed Long-distance FCoE, video editing (i.e., AVID), Big Data, and distributed storage Port 1 Dedicated Port 2 Dedicated Port 3 Dedicated Shared Packet Buffer SPAN Control UPC Ingress Buffer (16MB) Shared buffer is good for burst absorption: example – one port is bursting, need to use lots of buffer to handle the burst Dedicated buffer is good for predicated performance for each port – because pre-allocated space for each port

80 WRED/ ECN Configuration
ECN parameters are configurable only at system level. ECN is enabled by default along with WRED Packet Threshold below minimum – Transmit Packet Threshold between minimum and maximum – Mark ECN bits Packet Threshold above maximum – Drop    switch(config)# hardware random-detect min-thresh 10g 10g-min-threshold 40g 40g-min-threshold max-thresh 10g 10g-max-threshold 40g 40g-max-threshold ecn qos-group qos-group-number Shared buffer is good for burst absorption: example – one port is bursting, need to use lots of buffer to handle the burst Dedicated buffer is good for predicated performance for each port – because pre-allocated space for each port

81 Nexus 5600/6000 QoS Configuration Model
Uses QOS-Groups to tie together QoS, Queuing and Network-QoS policies QoS-Group has no direct relation with CoS value QoS-Groups defined (set) in policy-map type qos. QoS-groups referenced (match) in policy type queuing and policy-map type network- qos Shared buffer is good for burst absorption: example – one port is bursting, need to use lots of buffer to handle the burst Dedicated buffer is good for predicated performance for each port – because pre-allocated space for each port

82 Putting it all together
Create class-map type qos and match on cos/dscp/acls Attach policy-map queuing to interface class-map type qos class_foo match cos 3-4 policy-map type qos pm1 class type qos class_foo set qos-group 1 police cir 20 mbytes conform transmit violate drop class type qos class-default set qos-group 0 interface ethernet 1/1 service-policy type qos input pm1 class-map type queuing class-foo match qos-group 1 policy-map type queuing policy-foo class type queuing class-foo bandwidth percent 20 class type queuing class-default bandwidth percent 80 interface ethernet 1/3 service-policy type queuing input policy-foo Create policy-map type qos and set qos-group and/or add policing rule Create policy-map type queuing and create actions Attach policy-map type qos as input to an interface Create class-map type queuing and match on qos-group Shared buffer is good for burst absorption: example – one port is bursting, need to use lots of buffer to handle the burst Dedicated buffer is good for predicated performance for each port – because pre-allocated space for each port

83 Buffering and Scheduling Considerations
FYI Buffering and Scheduling Considerations Buffering is achieved via policy-map type network-qos where queue- limit can be configured Scheduling is configured with policy-map type queuing where priority & bandwidth for DWRR is defined Queuing Policy can be attached in both direction, ingress and egress Egress controls how the traffic is leaving the Switch Ingress controls how a attached DCBX capable Device is sending Queuing will be configured with policy-map type queuing and does NOT interfere with policy-map type qos N5k# show interface ethernet 1/1 capabilities | i Model|QOS Model: N5K-C5672UP-SUP QOS scheduling: rx-(6q1t),tx-(1p6q0t)

84 FYI Buffering Capacity Ingress Egress Traffic Type
Ingress Queue Structure 10 GE Port 40 GE Port Control traffic (per port) 6q1t 64 KB 67 KB Span Traffic (per Port) 38.4 KB 154 KB Class Default (per Port) 100 KB Shared Buffer 13.2 MB 14.7 MB Egress Traffic Type Egress Queue Structure 10 GE Port 40 GE Port Unicast 1p5q0t 363 KB 650 KB with 10GB Fabric Mode 635 KB with 40GB Fabric Mode Multicast 4.3MB 6.6 MB

85 Nexus 5600/6000 QoS Golden Rules
ECN/WRED is enabled by default and cannot be disabled CoS and DSCP are TRUSTED by default Use QoS-Groups to tie policies together No Egress QOS policies

86 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

87 Cisco Live 2014 4/20/2017 Nexus 2000 QoS

88 FEX Overview Scalable and Extensible Fabric Single point of management
Homogeneous and consistent policies

89 Cisco Nexus 2000 QoS Features
Traffic classification DSCP, CoS ACL classification (FEX offload) –only on 5600/6000 Strict Priority Queuing and DWRR Priority Flow Control Queue-limit Carving

90 Ingress port-based QoS policy Ingress/egress VLAN-based QoS policy
FEX QoS Policies Support for ingress port-based QoS policies on FEX HIF ports Support for ingress/egress VLAN-based QoS policies on FEX VLANs FEX QoS policies applied at ingress module of parent switch No support for remarking, policing policies Ingress port-based QoS policy Ingress/egress VLAN-based QoS policy Nexus Parent FEX Module/Port Module/Port FEX Ingress FEX Egress FEX Ingress Module Egress Module

91 FEX QoS Packet Flow Example (CoS2Q)
Ingress queue / egress schedule based on COS 0 Egress schedule based on COS 0 Ingress queue / egress schedule based on COS 0 Ingress queue at input port based on COS 0 Nexus Parent FEX Module Module FEX PKT DSCP 0 COS 0 Fabric 1Q trunk Ingress FEX (FEX 101) Ingress Module Egress Module Egress FEX

92 FEX QoS Packet Flow Example (DSCP2Q)
Ingress queue / egress schedule based on DSCP 0 Egress schedule based on COS 0 Ingress queue / egress schedule based on DSCP 0 Ingress queue at input port based on DSCP 0 Nexus Parent FEX Module Module FEX PKT DSCP 0 COS 0 Fabric Ingress FEX (FEX 101) Ingress Module Egress Module Egress FEX

93 FEX QoS Packet Flow Example (With Ingress Marking Policy and DSCP-to-Queue)
Ingress QoS policy: policy-map type qos marker class ClassA set dscp cs3 ! interface ethernet 101/1/1 service-policy type qos input marker Egress schedule based on COS 3 Ingress queue / egress schedule based on DSCP CS3 Ingress queue / egress schedule based on DSCP 0 Ingress queue at input port based on DSCP 0 Nexus 7000 FEX Module Module FEX PKT DSCP 0 COS 0 PKT DSCP CS3 COS 3 Fabric Ingress FEX (FEX 101) Ingress Module Egress Module Egress FEX Classify and remark to DSCP CS3/COS 3 at ingress Decision Engine

94 FEX QoS Packet Flow Example (With Ingress Marking Policy and DSCP-to-Queue)
Ingress QoS policy: policy-map type qos marker class ClassA set dscp cs3 ! interface ethernet 101/1/1 service-policy type qos input marker Egress schedule based on COS 3 Ingress queue / egress schedule based on DSCP CS3 Ingress queue / egress schedule based on DSCP 0 Ingress queue at input port based on DSCP 0 Nexus 7000 FEX Module Module FEX PKT DSCP 0 COS 0 PKT DSCP CS3 COS 3 Fabric Ingress FEX (FEX 101) Ingress Module Egress Module Egress FEX Classify and remark to DSCP CS3/COS 3 at ingress Decision Engine

95 FEX Policy Offload (Nexus 5600/6000 only)
TCAM resources on a FEX to perform ACL-based classification The feature is disabled by default By default, a FEX classifies packets on CoS value Both system level and interface level policies are offloaded to the FEX switch# configure terminal fex chassis_ID hardware card-type qos-policy-offload

96 FEX Queuing Policies FEX queuing driven implicitly by parent switch queuing configuration Network QoS template drives: Number of queues MTU Ingress queuing class-maps drive: BOTH ingress and egress COS/DSCP-to-queue mapping On Nexus 7000 with FEX + M-Series parent modules, network-qos and F-series ingress queuing class-maps still drive FEX queuing configuration

97 DSCP-to-Queue on FEX Enabling DSCP-to-queue on parent switch enables DSCP-to-queue on FEX Currently active DSCP mappings pushed to FEX when enabled DSCP-to-queue only active in the HIF→NIF direction NIF→HIF direction always uses COS-to-queue mapping, based on COS transmitted by parent switch to FEX

98 FEX Queue-Limit Provides FEX queue-limit configuration option
Manages buffer thresholds on FEX based on platform capabilities Default has queue-limit disabled Configuration applied per-VDC (on Nexus 7000/7700) Different FEX models have different capabilities

99 Nexus 2000 QoS Golden Rules FEX QOS classification on COS or DSCP unless FEX offload enabled FEX queuing driven implicitly by parent switch queuing configuration No support for per-queue shaping, policing or marking Drop thresholds are tail-drop only, no WRED support

100 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

101 Real World Configuration Examples
Cisco Live 2014 4/20/2017 Real World Configuration Examples

102 What do we want to achieve?
Company Foobar’s Business Goals Make sure no disruption in network services Put control traffic in priority queue Video/voice hosting also an business objective Put voice traffic in priority queue Dedicated bandwidth to video traffic Flexibility in moving applications across servers Dedicated bandwidth to vmotion/mobility Everything else best-effort

103 Translating to the language of QoS
Application CoS Queuing (Scheduling) Queue-Limit (Buffer) Character Best Effort 0, 1 BW remaining 50% 60% High Volume / Less Important vMotion / Live Migration 2 20% 10% Medium Volume / Important Multimedia 3, 4 30% Medium Volume Very Important Strict Priority 5 Priority Queue Low Volume / Important / Delay Sensitive Network Control 6,7 Low Volume / Very important

104 Topology Core M2 cards facing core and F2/F3 cards facing access
Nexus 7000 Nexus 7000 vpc peer-link VPC from access to aggregation Straight-through FEX, No VPC vpc peer-link Nexus 5000 Nexus 5000 vpc peer-link Nexus 5000 Nexus 5000 Nexus 5000 vpc peer-link Nexus 5000 Host VPC, Straight-through FEX Enhanced VPC (evPC) Nexus 2000 Nexus 2000 Nexus 2000 Nexus 2000 Nexus 2000 Nexus 2000

105 Classification, Marking & Trust on Nexus 5000/7000
Type: QoS Classification, Marking & Trust on Nexus 5000/7000 Core Mark Traffic from Core (policy-map type qos) or just TRUST (default) vpc peer-link Between the different Tiers, all ports are TRUSTED vpc peer-link vpc peer-link vpc peer-link Mark Traffic from Servers (policy-map type qos) or just TRUST (default)

106 Classification & Marking: Nexus 7000
Type: QoS Classification & Marking: Nexus 7000 ip access-list ACL_QOS_LOWPRIO 10 permit … ip access-list ACL_QOS_VMOTION ip access-list ACL_QOS_MULTIMEDIA ip access-list ACL_QOS_SCRICTPRIO ! class-map type qos match-any CM_QOS_LOWPRIO_COS1 match access-group name ACL_QOS_LOWPRIO class-map type qos match-any CM_QOS_VMOTION_COS2 match access-group name ACL_QOS_VMOTION class-map type qos match-any CM_QOS_MULTIMEDIA_COS4 match access-group name ACL_QOS_MULTIMEDIA class-map type qos match-any CM_QOS_STRICTPRIO_COS5 match access-group name ACL_QOS_STRICTPRIO policy-map type qos PM_QOS_MARK_COS_IN class CM_QOS_STRICTPRIO_COS5 set cos 5 class CM_QOS_MULTIMEDIA_COS4 set cos 4 class CM_QOS_VMOTION_COS2 set cos 2 class CM_QOS_LOWPRIO_COS1 set cos 1 ! interface Ethernet1/1 service-policy type qos input PM_QOS_MARK_COS_IN vlan configuration 100 service-policy input PM_QOS_MARK_COS_IN

107 Classification & Marking: Nexus 5600/6000 (1)
Network-QoS Type: QoS Classification & Marking: Nexus 5600/6000 (1) ip access-list ACL_QOS_LOWPRIO 10 permit … ip access-list ACL_QOS_VMOTION ip access-list ACL_QOS_MULTIMEDIA ! class-map type qos match-any CM_QOS_LOWPRIO_COS1 match access-group name ACL_QOS_LOWPRIO class-map type qos match-any CM_QOS_VMOTION_COS2 match access-group name ACL_QOS_VMOTION class-map type qos match-any CM_QOS_MULTIMEDIA_COS4 match access-group name ACL_QOS_MULTIMEDIA class-map type qos match-any CM_QOS_STRICTPRIO_COS5 match cos 5 policy-map type qos PM_QOS_MARK_COS_IN class CM_QOS_STRICTPRIO_COS5 set qos-group 5 class CM_QOS_MULTIMEDIA_COS4 set qos-group 4 class CM_QOS_VMOTION_COS2 set qos-group 3 class CM_QOS_LOWPRIO_COS1 set qos-group 2 ! system qos service-policy type qos input PM_QOS_MARK_COS_IN QoS-Group # is mapping between Slide 1 & Slide 2

108 Classification & Marking: Nexus 5500/6000 (2)
Network-QoS Type: QoS Classification & Marking: Nexus 5500/6000 (2) class-map type network-qos CM_N-QOS_MATCH_QG2_COS1 match qos-group 2 class-map type network-qos CM_N-QOS_MATCH_QG3_COS2 match qos-group 3 class-map type network-qos CM_N-QOS_MATCH_QG4_COS4 match qos-group 4 class-map type network-qos CM_N-QOS_MATCH_QG5_COS5 match qos-group 5 policy-map type network-qos PM_N-QOS_SYSTEM class type network-qos CM_N-QOS_MATCH_QG2_COS1 set cos 1 class type network-qos CM_N-QOS_MATCH_QG3_COS2 set cos 2 class type network-qos CM_N-QOS_MATCH_QG4_COS4 set cos 4 class type network-qos CM_N-QOS_MATCH_QG5_COS5 set cos 5 queue-limit bytes ! system qos service-policy type network-qos PM_N-QOS_SYSTEM QoS-Group # is mapping between Slide 1 & Slide 2

109 Classification & Marking (Nexus 2000)
Queuing Type: Classification & Marking (Nexus 2000) Core vpc peer-link vpc peer-link vpc peer-link vpc peer-link Traffic Classification based on CoS happens here! Traffic Classification based on ACL happens here!

110 Modify CoS to Queue mapping in Admin-/Default-VDC
Queuing Type: Queuing (M2-cards) Core Modify CoS to Queue mapping in Admin-/Default-VDC vpc peer-link Assign a egress policy-map to each interface with priority, bandwidth and queue-limit to alter default queuing policy Assign ingress policy-map to each interface with bandwidth and queue-limit vpc peer-link vpc peer-link vpc peer-link

111 CoS to Queue Mapping – M2 I/O Module
Example Application CoS Queuing (Scheduling) Queue-Limit (Buffer) Queue (8q2t / 1p7q4t) Character Best Effort 0, 1 BW remaining 50% 60% 8q2t-in-q-default / 1p7q4t-out-q-default High Volume / Less Important vMotion / Live Migration 2 20% 10% 8q2t-in-q6 / 1p7q4t-out-q6 Medium Volume / Important Multimedia 3, 4 30% 8q2t-in-q2 / 1p7q4t-out-q2 Medium Volume Very Important Strict Priority 5 Priority Queue 8q2t-in-q1 / 1p7q4t-out-pq1 Low Volume / Important / Delay Sensitive Network Control 6,7 Low Volume / Very important

112 CoS to Queue Mapping (on M2 cards)
Queuing Type: CoS to Queue Mapping (on M2 cards) Exmple (Admin- / Default-VDC) Core class-map type queuing match-any 8q2t-in-q1 match cos 5-7 class-map type queuing match-any 8q2t-in-q2 match cos 3-4 class-map type queuing match-any 8q2t-in-q6 match cos 2 class-map type queuing match-any 8q2t-in-q-default match cos 0-1 ! class-map type queuing match-any 1p7q4t-out-pq1 class-map type queuing match-any 1p7q4t-out-q2 class-map type queuing match-any 1p7q4t-out-q6 class-map type queuing match-any 1p7q4t-out-q-default Admin-VDC Admin-VDC Changes apply to ALL ports of specified type in ALL VDCs Changes are traffic disruptive for ports of specified type

113 Ingress Queuing Configuration on M2 cards
Type: Ingress Queuing Configuration on M2 cards Example (Payload-VDC) Core policy-map type queuing PM_QUEUE_10G-40G-100G_IN class type queuing 8q2t-in-q1 queue-limit 10 bandwidth remaining percent 10 class type queuing 8q2t-in-q2 queue-limit 20 bandwidth remaining percent 30 class type queuing 8q2t-in-q6 class type queuing 8q2t-in-q-default queue-limit percent 50 bandwidth percent 50 ! interface Ethernet1/1 service-policy type queuing input PM_QUEUE_10G-40G-100G_IN All Policy-Map and Service-Policy are done in relevant Payload-VDC and only affect the interface to which they get applied

114 Egress Queuing Configuration on M2 cards
Type: Egress Queuing Configuration on M2 cards Example (Payload-VDC) Core policy-map type queuing PM_QUEUE_10G-40G-100G_OUT class type queuing 1p7q4t-out-pq1 priority level 1 queue-limit percent 10 class type queuing 1p7q4t-out-q2 queue-limit percent 20 bandwidth remaining percent 30 class type queuing 1p7q4t-out-q6 bandwidth remaining percent 20 class type queuing 1p7q4t-out-q-default queue-limit percent 50 bandwidth remaining percent 40 ! interface Ethernet1/1 service-policy type queuing output PM_QUEUE_10G-40G-100G_OUT All Policy-Map and Service-Policy are done in relevant Payload-VDC and only affect the interface to which they get applied

115 Network-QoS Configuration on F2/F3-Series
Type: Network-QoS Configuration on F2/F3-Series Core Use the network-qos policy for 8e-4q4q i.e 4 ingress queues vpc peer-link vpc peer-link vpc peer-link vpc peer-link

116 Network-QoS Configuration –F2/F3 cards
Type: Network-QoS Configuration –F2/F3 cards Example (Admin- / Default-VDC) Core system qos service-policy type network-qos default-nq-8e-4q4q-policy policy-map type network-qos default-nq-8e-4q4q-policy template 8e-4q4q     class type network-qos c-nq-8e-4q4q       match cos 0-7       congestion-control tail-drop       mtu 1500 Admin-VDC Admin-VDC Changes apply to ALL ports of specified type in ALL VDCs Changes are traffic disruptive for ports of specified type

117 Modify CoS to Queue mapping in Admin-/Default-VDC
Queuing Type: Queuing (F2/F3 cards) Core Modify CoS to Queue mapping in Admin-/Default-VDC Assign a egress policy-map to each interface with priority, bandwidth and queue-limit to alter default queuing policy vpc peer-link Assign a ingress policy-map for buffer allocation, no ingress scheduling vpc peer-link vpc peer-link vpc peer-link

118 CoS to Queue Mapping – F2/F3 I/O Module
Example Application CoS Queuing (Scheduling)-egress Queue-Limit (Buffer)-ingress Queue (Ingress/Egress) Character Best Effort 0,1 BW remaining 50% 4q1t-8e-4q4q-in-q-default / 1p3q1t-8e-4q4q-out-q-default High Volume / Less Important vMotion / Live Migration 2 20% 10% 4q1t-8e-4q4q-in-q4 / 1p3q1t-8e-4q4q-out-q3 Medium Volume / Important Multimedia 3, 4 30% 4q1t-8e-4q4q-in-q3 / 1p3q1t-8e-4q4q-out-q2 Medium Volume Very Important Strict Priority 5 Priority Queue 4q1t-8e-4q4q-in-q1 / 1p3q1t-8e-4q4q-out-pq1 Low Volume / Important / Delay Sensitive Network Control 6/7 Low Volume / Very important

119 CoS to Queue Configuration –F2/F3 slides
Queuing Type: CoS to Queue Configuration –F2/F3 slides Example (Admin- / Default-VDC) Core class-map type queuing match-any 4q1t-8e-4q4q-in-q1   match cos 5-7 class-map type queuing match-any 4q1t-8e-4q4q-in-q-default   match cos 0-1 class-map type queuing match-any 4q1t-8e-4q4q-in-q3   match cos 3-4 class-map type queuing match-any 4q1t-8e-4q4q-in-q4   match cos 2    class-map type queuing match-any 1p3q1t-8e-4q4q-out-pq1   match cos 5-7 class-map type queuing match-any 1p3q1t-8e-4q4q-out-q2   match cos 3-4 class-map type queuing match-any 1p3q1t-8e-4q4q-out-q3   match cos 2 class-map type queuing match-any 1p3q1t-8e-4q4q-out-q-default   match cos 0-1 Admin-VDC Admin-VDC Changes apply to ALL ports of specified type in ALL VDCs Changes are traffic disruptive for ports of specified type

120 Ingress Queuing Configuration for F2/F3 cards
Type: Ingress Queuing Configuration for F2/F3 cards Example (Payload-VDC) Core qos copy policy-map type queuing default-8e-4q4q-in-policy prefix Custom-   policy-map type queuing Custom-8e-4q4q-in     class type queuing 4q1t-8e-4q4q-in-q1       queue-limit percent 10       bandwidth percent 25     class type queuing 4q1t-8e-4q4q-in-q-default       queue-limit percent 50       bandwidth percent 25     class type queuing 4q1t-8e-4q4q-in-q3       queue-limit percent 30       bandwidth percent 25     class type queuing 4q1t-8e-4q4q-in-q4       queue-limit percent 10       bandwidth percent 25 interface Ethernet1/1 service-policy type queuing input Custom-8e-4q4q-in All Policy-Map and Service-Policy are done in relevant Payload-VDC and only affect the interface to which they get applied

121 Egress Queuing Configuration for F2/F3 cards
Type: Egress Queuing Configuration for F2/F3 cards Example (Payload-VDC) Core qos copy policy-map type queuing default-8e-4q4q-out-policy prefix Custom- policy-map type queuing Custom-8e-4q4q-out     class type queuing 1p3q1t-8e-4q4q-out-pq1       priority level 1     class type queuing 1p3q1t-8e-4q4q-out-q2       bandwidth remaining percent 30     class type queuing 1p3q1t-8e-4q4q-out-q3       bandwidth remaining percent 20     class type queuing 1p3q1t-8e-4q4q-out-q-default       bandwidth remaining percent 50 ! interface Ethernet1/1 service-policy type queuing output Custom-8e-4q4q-out All Policy-Map and Service-Policy are done in relevant Payload-VDC and only affect the interface to which they get applied

122 CoS to Queue Mapping - Nexus 5600/6000
Example Application CoS Queuing (Scheduling) Queue-Limit (Buffer) Queue (6q1t / 1p6q0t) Character Best Effort 0,1 BW percent 40% remaining (226kByte) qos-group 0 (default) High Volume / Less Important vMotion / Live Migration 2,3 20% 41kByte qos-group 3 Medium Volume / Important Multimedia 4 30% qos-group 4 Medium Volume Very Important Strict Priority 5 10% 20kByte (min) qos-group5 / priority Low Volume / Important / Delay Sensitive Network Control 6,7 Low Volume / Very important

123 Egress Queuing Configuration: Nexus5600
Type: Egress Queuing Configuration: Nexus5600 Example Core class-map type queuing CM_Q_MATCH_QG3_COS2 match qos-group 3 class-map type queuing CM_Q_MATCH_QG4_COS4 match qos-group 4 class-map type queuing CM_Q_MATCH_QG5_COS5 match qos-group 5 ! policy-map type queuing PM_QUEUING_SYSTEM_OUT class type queuing CM_Q_MATCH_QG3_COS2 bandwidth percent 20 class type queuing CM_Q_MATCH_QG4_COS4 bandwidth percent 30 class type queuing CM_Q_MATCH_QG5_COS5 priority bandwidth percent 10 class type queuing class-default bandwidth percent 40

124 Queue-Limit (Buffer) Configuration
Network-QoS Type: Queue-Limit (Buffer) Configuration Example Core policy-map type network-qos PM_N-QOS_SYSTEM class type network-qos CM_N-QOS_MATCH_QG3_COS2 set cos 2 queue-limit bytes class type network-qos CM_N-QOS_MATCH_QG4_COS4 set cos 4 class type network-qos CM_N-QOS_MATCH_QG5_COS5 set cos 5 queue-limit bytes class type network-qos class-default system qos service-policy type network-qos PM_N-QOS_SYSTEM

125 Queuing on NIF controlled by Fabric Interface INPUT policy
Type: Queuing: Nexus 2000 Core vpc peer-link vpc peer-link vpc peer-link vpc peer-link Queuing on NIF (multiple no-drop queues) only available with CoS based marking on HIF Queuing on NIF controlled by Fabric Interface INPUT policy

126 Queuing Configuration (Nexus 2000)
Type: Queuing Configuration (Nexus 2000) Example Core class-map type queuing CM_Q_MATCH_QG3_COS2 match qos-group 3 class-map type queuing CM_Q_MATCH_QG4_COS4 match qos-group 4 class-map type queuing CM_Q_MATCH_QG5_COS5 match qos-group 5 ! policy-map type queuing PM_QUEUING_SYSTEM_N2K class type queuing CM_Q_MATCH_QG3_COS2 bandwidth percent 20 class type queuing CM_Q_MATCH_QG4_COS4 bandwidth percent 30 class type queuing CM_Q_MATCH_QG5_COS5 priority bandwidth percent 10 class type queuing class-default bandwidth percent 40 Amount of Queues depend on FEX (Nexus 2000) Model

127 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus
Cisco Live 2014 4/20/2017 Agenda Introduction QoS and Queuing Basics QoS Implementation on Nexus Nexus 7000/7700 QoS Nexus 5600/6000 QoS Nexus 2000 QoS Real World Configuration Examples Conclusion

128 Cisco Live 2014 4/20/2017 Conclusion

129 Why QoS in the Data Center?
Assign Color to Traffic Manage Congestion Maximize Throughput Congestion management & microburst management

130 Maximize Throughput and Manage Congestion!

131 Nexus 9000 QoS

132 Nexus 9000 Overview Modular and fixed chassis
Optimized for high density 40G/100G Standalone and ACI Mode Merchant+ Strategy Mix of Merchant and Custom Silicon

133 Buffering Model Nexus 9000 compared to Nexus 7000/Nexus 5000
Egress buffer Nexus 7000 F-Series I/O Module Egress VOQ buffer Ingress VOQ buffer Ingress Module Egress Module Crossbar Fabric No VOQ concept – only egress shared buffers Uses both merchant silicon and custom silicon buffers

134 Cisco Nexus 9000 QoS Features
Traffic classification DSCP, CoS, and ACL Packet marking DSCP, CoS, and ECN Strict Priority Queuing and DWRR DCBX 802.1Qaz Ingress policing only WRED, TD and ECN Shared buffer capability Buffer boost

135 Queuing on Nexus 9500 Switch Line Cards
Queuing on N9K-X9600 Series Line Cards System QoS multicast CPU span unicast Ingress Line Card Trust CoS/DSCP L2/L3/L4 info with ACL Traffic Classification Ingress Cos/DSCP Marking Fabric Module Ingress Policing MTU checking NFE multicast CPU span unicast unicast System QoS multicast control span Egress Port Queues Insieme standalone switches don’t have VoQ on the ingress Line card; VoQ is done between NorthStar and NFE ASICs on the egress line card; NorthStar has a 30MB buffer for traffic going to line card NFE which supports up to 96 x4 VoQs; Signaling between egress queues on NFE and NorthStar VoQs is through OOBFC; Unicast from Fabric module and hair-pinned local unicast traffic from line card NFE go into VoQs; Line card NFE has a dedicated buffer pool for the VoQ traffic. Other traffic, including NFE locally switched Unicast, Multicast, and SPAN traffic share another buffer pool. For each Unicast traffic class, there’re two queues on the egress NFE, one is for traffic from NorthStar VoQ, the other is NFE locally switched unicast traffic. NS doesn't support VOQs for MC frames. So we cannot do VoQ for multicast traffic. Egress Line Card

136 Queuing & Scheduling on Nexus 9500 Line Cards
Queuing on N9K-X9500 Series Line Cards System QoS multicast CPU span unicast Ingress Line Card Trust CoS/DSCP L2/L3/L4 info with ACL Traffic Classification Ingress Cos/DSCP Marking Fabric Module Ingress Policing MTU checking OOBFC signaling NFE ALE Unicast from EoQs (4 per egr port) Unicast EoQs multicast CPU span unicast System QoS Non-hair-pinned local unicast traffic unicast unicast multicast multicast Span Control Egress Port Queues Span Insieme standalone switches don’t have VoQ on the ingress Line card; VoQ is done between NorthStar and NFE ASICs on the egress line card; NorthStar has a 30MB buffer for traffic going to line card NFE which supports up to 96 x4 VoQs; Signaling between egress queues on NFE and NorthStar VoQs is through OOBFC; Unicast from Fabric module and hair-pinned local unicast traffic from line card NFE go into VoQs; Line card NFE has a dedicated buffer pool for the VoQ traffic. Other traffic, including NFE locally switched Unicast, Multicast, and SPAN traffic share another buffer pool. For each Unicast traffic class, there’re two queues on the egress NFE, one is for traffic from NorthStar VoQ, the other is NFE locally switched unicast traffic. NS doesn't support VOQs for MC frames. So we cannot do VoQ for multicast traffic. Egress Line Card

137 Buffer Boost on x9500 cards Line cards with ALEs can leverage the additional buffer on ALE for NFE local traffic. When buffer boost is enabled, NFE local traffic on the port is sent to ALE for additional buffer space. When buffer boost is disabled, NFE local traffic to the port remains local Buffer boost is enabled by default and can be disabled on a per-port basis. Fabric Modules North Star 4:1 Mux NFE 10 MB Buffer ALE ALE 20 MB Buffer 10 MB Buffer 20 MB Buffer 10 MB Buffer 10 MB Buffer NFE 10 MB Buffer shared by all Ports NFE 10 MB Buffer shared by all Ports Network Interface Network Interface 1/10GE 1/10GE 1/10GE 1/10GE 40GE 40GE 40GE 40GE Buffer Boost enabled port Buffer Boost disabled port A chart for min FMs per LC type

138 FEX QoS Configuration Examples
FYI FEX QoS Configuration Examples

139 Fex QoS Policy Configuration Example
FYI Fex QoS Policy Configuration Example policy-map type qos fex-qos class fex-qos-class-1 set dscp 10 class fex-qos-class-2 set dscp 18 class fex-qos-class-3 set dscp 26 ! interface Ethernet101/1/1 service-policy type qos input fex-qos Marking policy Policy applied on ingress of FEX HIF

140 Nexus 7000 Network-QoS Configuration Example #1
FYI Nexus 7000 Network-QoS Configuration Example #1 Applying 8e-4q4q template to enable 4 ingress/egress queues on FEX with COS to queue mapping (also enables 4 ingress queues on F-series modules, if present) system qos service-policy type network-qos default-nq-8e-4q4q-policy FEX output (“show queuing interface”): Queuing: queue qos-group cos priority bandwidth mtu ctrl-hi n/a PRI ctrl-lo n/a PRI WRR WRR WRR WRR Default 8e-4q4q template applied to “system qos” target 8e4q4q configuration (4 data traffic queues)

141 Nexus 7000 Network-QoS Configuration Example #2
FYI Nexus 7000 Network-QoS Configuration Example #2 Applying custom 8e-4q4q-based template with new MTU policy-map type network-qos custom-nq-8e-4q4q template 8e-4q4q class type network-qos c-nq-8e-4q4q congestion-control tail-drop mtu 9216 system qos service-policy type network-qos custom-nq-8e-4q4q FEX output (“show queuing interface”) after MTU change: Queuing: queue qos-group cos priority bandwidth mtu ctrl-hi n/a PRI ctrl-lo n/a PRI WRR WRR WRR WRR Custom network-qos policy with new MTU Custom template applied to “system qos” target MTU increased on data traffic queues

142 Modifying CoS- or DSCP-to-Queue Mappings
Changing CoS- or DSCP-to-queue mappings in parent switch F-type ingress queuing class-maps modifies mappings on FEX Queuing class-maps modified only in default/admin VDC (apply to entire system) class-map type queuing match-any 4q1t-8e-4q4q-in-q1 match cos 1-3 match dscp 8-31 class-map type queuing match-any 4q1t-8e-4q4q-in-q-default match cos 0 match dscp 0-7 class-map type queuing match-any 4q1t-8e-4q4q-in-q3 match cos 4-5 match dscp 32-47 class-map type queuing match-any 4q1t-8e-4q4q-in-q4 match cos 6-7 match dscp 48-63 Queuing: queue qos-group cos priority bandwidth mtu ctrl-hi n/a PRI ctrl-lo n/a PRI WRR WRR WRR WRR <…> queue DSCPs , , , , Non-default F-series ingress queuing class-maps (COS and DSCP match statements modified) FEX queue mappings reflect changes

143 Enabling FEX Queue Limits
FYI Enabling FEX Queue Limits Example #1 – N2K-C2248TP-1GE fex 101 hardware N2248T queue-limit 50000 Example #2 – N2K-C2232TM-E-10GE fex 102 hardware N2232TM-E queue-limit 50000 FEX output (“show queuing interface”) before: Queue limit: Disabled FEX output (“show queuing interface”) after (configured queue-limit rounded to nearest hardware supported value): Queue limit: bytes

144 F3 Queuing Configuration Examples
FYI F3 Queuing Configuration Examples

145 Modifying Queuing and Scheduling Behaviour on F3 Modules
I want to… Steps to follow …remap COS/DSCP values from one queue to another queue without activating additional queues Modify the type queuing class-map(s) for the desired queue(s) …change queuing behavior without changing COS-or DSCP-to-queue mapping Define new type queuing policy-map (you cannot modify the default policies) Modify class-map parameters Apply new policy-map to interfaces …activate additional queues and remap COS/DSCP values Define new type queuing policy-map Modify COS-to-queue mapping for target port type …shape the SP queue (Optional) Clone the default egress queuing policy Shape the SP queue in the new (cloned) policy Apply the new queuing policy to the target interfaces

146 FYI Modifying Queuing Behavior Remap Some COS/DSCP Values from One Queue to Another Queue without Activating Additional Queues Modify “type queuing” class-map(s) for desired queue(s) Remap COS- or DSCP-to-queue mapping for given queue(s) Important: changing COS- or DSCP-to-queue mapping takes effect immediately and is disruptive to all ports

147 FYI Modifying Queuing Behavior Remap Some COS/DSCP Values from One Queue to Another Queue without Activating Additional Queues Example: remap COS 4 and DSCP to ingress queue “q1”: n77# show class-map type queuing 8q2t-in-q1 Type queuing class-maps ======================== class-map type queuing match-any 8q2t-in-q1 Description: Classifier for ingress queue 1 of type 8q2t match cos 5-7 match dscp 40-63 n77# configure terminal Enter configuration commands, one per line. End with CNTL/Z. n77(config)# ! Modify ingress queue q1 n77(config)# class-map type queuing match-any 8q2t-in-q1 n77(config-cmap-que)# ! Change COS- and DSCP-to-queue mapping for this queue n77(config-cmap-que)# match cos 4 n77(config-cmap-que)# match dscp 32-39 n77(config-cmap-que)# show class-map type queuing 8q2t-in-q1 match cos 4-7 match dscp 32-63 n77(config-cmap-que)# Show current mapping Configure new mapping Show new mapping

148 FYI Modifying Queuing Behavior Changing Default Queuing Behavior without Changing COS- or DSCP-to-Queue Define new “type queuing” policy-map for port type Create new policy Modify class-map parameters Define behavior of each queue Apply “type queuing” service-policy to interface(s) Apply new queuing policy to interface(s) Important: applying new queuing policy takes effect immediately and is disruptive to any ports to which the policy is applied

149 FYI Modifying Queuing Behavior Changing Default Queuing Behavior without Changing COS- or DSCP-to-Queue Example: Resize ingress queues without modifying COS- or DSCP-to-queue mapping n77# configure terminal Enter configuration commands, one per line. End with CNTL/Z. n77(config)# ! Define new "type queuing" policy n77(config)# policy-map type queuing new-f3-ingress n77(config-pmap-que)# ! Define behavior for F3 ingress q-default n77(config-pmap-que)# class type queuing 8e-4q8q-in-q-default n77(config-pmap-c-que)# ! Resize this queue n77(config-pmap-c-que)# queue-limit percent 74 n77(config-pmap-c-que)# ! Define behavior for F3 ingress queue 1 n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q1 n77(config-pmap-c-que)# queue-limit percent 24 n77(config-pmap-c-que)# ! Policy must include all queues (even inactive) n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q3 n77(config-pmap-c-que)# ! Must give at least 1% to inactive queues n77(config-pmap-c-que)# queue-limit percent 1 n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q4 n77(config-pmap-c-que)# interface e 2/1-48 n77(config-if-range)# ! Apply the new policy to F3 interfaces n77(config-if-range)# service-policy type queuing input new-f3-ingress n77(config-if-range)# Create new queuing policy Modify class-map parameters (resize queues) Apply policy to interface(s)

150 FYI Modifying Queuing Behavior Activate Additional Queues and Remap COS/DSCP Values Modify “type queuing” class-map(s) for desired queue(s) Remap COS- or DSCP-to-queue mapping to additional queue(s) Define new “type queuing” policy-map for port type Create new policy Modify class-map parameters Define behavior of each queue Apply “type queuing” service-policy to interface(s) Apply new queuing policy to interface(s) Important: changing COS/DSCP-to-queue mapping and takes effect immediately and is disruptive to all ports; applying new queuing policy takes effect immediately and is disruptive to any ports to which the policy is applied

151 FYI Modifying Queuing Behavior Activate Additional Queues and Remap COS/DSCP Values Example: Enable one additional ingress queue and map COS/DSCP values to all active queues n77# configure terminal Enter configuration commands, one per line. End with CNTL/Z. n77(config)# ! Modify ingress queue q3 n77(config)# class-map type queuing match-any 8q2t-in-q3 n77(config-cmap-que)# ! Map COS and DSCP values to this queue n77(config-cmap-que)# match cos 3-4 n77(config-cmap-que)# match dscp 24-39 n77(config-cmap-que)# ! Define new "type queuing" policy n77(config-cmap-que)# policy-map type queuing new-f3-ingress n77(config-pmap-que)# ! Define behavior for F3 ingress q-default n77(config-pmap-que)# class type queuing 8e-4q8q-in-q-default n77(config-pmap-c-que)# ! Resize this queue n77(config-pmap-c-que)# queue-limit percent 60 n77(config-pmap-c-que)# ! Define behavior for F3 ingress queue 1 n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q1 n77(config-pmap-c-que)# queue-limit percent 25 n77(config-pmap-c-que)# ! Define behavior for F3 ingress queue 3 n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q3 n77(config-pmap-c-que)# queue-limit percent 14 n77(config-pmap-c-que)# ! Policy must include all queues (even inactive) n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q4 n77(config-pmap-c-que)# queue-limit percent 1 n77(config-pmap-c-que)# int e 2/1-48 n77(config-if-range)# ! Apply the new policy to F3 interfaces n77(config-if-range)# service-policy type queuing input new-f3-ingress Map COS/DSCP values to inactive queue Create new queuing policy Modify class-map parameters (resize queues) Apply policy to interface(s)

152 FYI Important! If you change the COS- or DSCP-to-queue mapping for a port type, make sure all ports of that type in all VDCs have a queuing policy applied that defines behavior for all queues with COS/DSCP values mapped For example, if you do THIS… n77(config)# class-map type queuing match-any 8e-4q8q-in-q-default n77(config-cmap-que)# match cos 0-1 n77(config-cmap-que)# match dscp 0-15 n77(config-cmap-que)# class-map type queuing match-any 8e-4q8q-in-q4 n77(config-cmap-que)# match cos 2-4 n77(config-cmap-que)# match dscp 16-39 n77(config-cmap-que)# class-map type queuing match-any 8e-4q8q-in-q3 n77(config-cmap-que)# match cos 6-7 n77(config-cmap-que)# match dscp 48-63 n77(config-cmap-que)# class-map type queuing match-any 8e-4q8q-in-q1 n77(config-cmap-que)# match cos 5 n77(config-cmap-que)# match dscp 40-47 Changes the default COS/ DSCP-to-queue mapping

153 FYI Important! … then make sure you do THIS…
Defines a new queuing policy that defines behavior of all queues that COS/DSCP values have been mapped to … then make sure you do THIS… n77(config)# policy-map type queuing new-f3-ingress n77(config-pmap-que)# class type queuing 8e-4q8q-in-q-default n77(config-pmap-c-que)# queue-limit percent 50 n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q1 n77(config-pmap-c-que)# queue-limit percent 20 n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q3 n77(config-pmap-c-que)# class type queuing 8e-4q8q-in-q4 n77(config-pmap-c-que)# queue-limit percent 10 n77(config-pmap-c-que)#

154 FYI Important! … and then do THIS:
Maps the new policy to ALL interfaces in the system (do this on ALL ports in EVERY VDC!!) … and then do THIS: n77(config)# int e 2/1-48 n77(config-if-range)# service-policy type queuing input new-f3-ingress n77(config-if-range)# If you DON’T, traffic arriving on ports with default policy (i.e., without all queues activated that have COS/DSCP values mapped) will suffer – packet drops, poor performance, etc. Of course, you can have different non-default policies on different sets of interfaces, but all interfaces in the system must use some policy that defines all activated queues!

155 Modifying Queuing Behavior Shape the SP Queue
(Optional) Clone a default egress “type queuing” policy-map Create a copy of a default egress queuing policy Shape SP queue in new (cloned) “type queuing” policy Limit SP queue bandwidth consumption Apply new “type queuing” policy to target interface(s) Apply new queuing policy to interfaces Important: applying new queuing policy takes effect immediately and is disruptive to any ports to which the policy is applied

156 Modifying Queuing Behavior Shape the SP Queue
Example: Shape the SP queue to 2Gbps on a 10G interface, using a queuing policy cloned from the default “8e4q4q” egress queuing policy n77# ! Clone the 8E egress queuing policy n77# qos copy policy-map type queuing default-8e-4q8q-out-policy prefix new- n77# conf Enter configuration commands, one per line. End with CNTL/Z. n77(config)# ! Modify new queuing policy n77(config)# policy-map type queuing new-8e-4q8q-out n77(config-pmap-que)# ! Modify egress queue q1 n77(config-pmap-que)# class type queuing 8e-4q8q-out-q1 n77(config-pmap-c-que)# ! Make this queue strict priority n77(config-pmap-c-que)# priority level 1 n77(config-pmap-c-que)# ! Shape the queue to 20% (2G on 10G port) n77(config-pmap-c-que)# shape percent 20 n77(config-pmap-c-que)# int e 2/1-48 n77(config-if-range)# ! Apply the new policy to target interfaces n77(config-if-range)# service-policy type queuing output new-8e-4q8q-out n77(config-if-range)# n77# Clone the default egress queuing policy Modify the cloned policy Make q1 Strict Priority and shape to 20% (2G) Apply new policy to target interfaces

157 Participate in the “My Favorite Speaker” Contest
Cisco Live 2014 4/20/2017 Participate in the “My Favorite Speaker” Contest Promote Your Favorite Speaker and You Could Be a Winner Promote your favorite speaker through Twitter and you could win $200 of Cisco Press products Send a tweet and include Your favorite speaker’s Twitter handle <Speaker—enter your Twitter handle here> Two hashtags: #CLUS #MyFavoriteSpeaker You can submit an entry for more than one of your “favorite” speakers Don’t forget to View the official rules at

158 4/20/2017 Cisco Live 2014

159 Continue Your Education
Cisco Live 2014 4/20/2017 Continue Your Education Demos in the Cisco campus Walk-in Self-Paced Labs Table Topics Meet the Engineer 1:1 meetings Related sessions

160 Cisco Live 2014 4/20/2017

161 4/20/2017 Cisco Live 2014

162 Internet of Things (IoT) Cisco Education Offerings
Cisco Live 2014 4/20/2017 Internet of Things (IoT) Cisco Education Offerings Course Description Cisco Certification NEW! CCNA Industrial An associate level instructor led training course designed to prepare you for the CCNA Industrial certification CCNA® Industrial Managing Industrial Networks with Cisco Networking Technologies (IMINS) This curriculum addresses foundational skills needed to manage and administer networked industrial control systems. It provides plant administrators, control system engineers and traditional network engineers with an understanding of the networking technologies needed in today's connected plants and enterprises Cisco Industrial Networking Specialist Control Systems Fundamentals for Industrial Networking (ICINS) For IT and Network Engineers, covers basic concepts in Industrial Control systems including an introduction to automation industry verticals, automation environment and an overview of industrial control networks Networking Fundamentals for Industrial Control Systems (INICS) For Industrial Engineers and Control System Technicians, covers basic IP and networking concepts, and introductory overview of Automation industry Protocols. For more details, please visit: Questions? Visit the Booth or contact

163 Business Transformation Cisco Education Offerings
Cisco Live 2014 4/20/2017 Business Transformation Cisco Education Offerings Course Description Cisco Certification For IT and Network Professionals: Building Business Specialist Skills Builds non-technical skills key to ensure business impact and influence. Topics include: business analysis, finance, technology adoption and effective communications. Bridges IT and business impacts of mature and emerging solutions including cloud plus Internet of Everything Cisco Enterprise IT Business Specialist For Technology Sellers: Applying Cisco Specialized Business Value Analysis Skills Builds skills to discover and address technology needs using a business-focused, consultative sales approach Cisco Business Value Specialist Executing Advanced Cisco Business Value Analysis and Design Techniques Enables customer transformation through business architecture and solution selling expertise Cisco Certified Business Value Practitioner Performing Cisco Business-Focused Transformative Architecture Engagements Provides skills and an approach to build a strategic roadmap of IT initiatives, aligned to business priorities Cisco Transformative Architecture Specialist For more details, please visit: Questions? Visit the Booth or contact

164 Security Cisco Education Offerings
Cisco Live 2014 4/20/2017 Security Cisco Education Offerings Course Description Cisco Certification Implementing Cisco IOS Network Security (IINS) Implementing Cisco Edge Network Security Solutions (SENSS) Implementing Cisco Threat Control Solutions (SITCS) Implementing Cisco Secure Access Solutions (SISAS) Implementing Cisco Secure Mobility Solutions (SIMOS) Focuses on the design, implementation, and monitoring of a comprehensive security policy, using Cisco IOS security features Configure Cisco perimeter edge security solutions utilizing Cisco Switches, Cisco Routers, and Cisco Adaptive Security Appliance (ASA) Firewalls Deploy Cisco’s Next Generation Firewall (NGFW) as well as Web Security, Security and Cloud Web Security Deploy Cisco’s Identity Services Engine and 802.1X secure network access Protect data traversing a public or shared infrastructure such as the Internet by implementing and maintaining Cisco VPN solutions CCNA® Security Securing Cisco Networks with Threat Detection and Analysis (SCYBER) Designed for professional security analysts, the course covers essential areas of competency including event monitoring, security event/alarm/traffic analysis, and incident response Cisco Cybersecurity Specialist Network Security Product and Solutions Training For official product training on Cisco’s latest security products, including Adaptive Security Appliances, NGIPS, Advanced Malware Protection, Identity Services Engine, and Web Security Appliances see For more details, please visit: Questions? Visit the Booth or contact

165 R&S Related Cisco Education Offerings
Cisco Live 2014 4/20/2017 R&S Related Cisco Education Offerings Course Description Cisco Certification CCIE R&S Advanced Workshops (CIERS-1 & CIERS-2) plus Self Assessments, Workbooks & Labs Expert level trainings including: instructor led workshops, self assessments, practice labs and CCIE Lab Builder to prepare candidates for the CCIE R&S practical exam. CCIE® Routing & Switching Implementing Cisco IP Routing v2.0 Implementing Cisco IP Switched Networks V2.0 Troubleshooting and Maintaining Cisco IP Networks v2.0 Professional level instructor led trainings to prepare candidates for the CCNP R&S exams (ROUTE, SWITCH and TSHOOT). Also available in self study eLearning formats with Cisco Learning Labs. CCNP® Routing & Switching Interconnecting Cisco Networking Devices: Part 2 (or combined) Configure, implement and troubleshoot local and wide-area IPv4 and IPv6 networks. Also available in self study eLearning format with Cisco Learning Lab. CCNA® Routing & Switching Interconnecting Cisco Networking Devices: Part 1 Installation, configuration, and basic support of a branch network. Also available in self study eLearning format with Cisco Learning Lab. CCENT® Routing & Switching For more details, please visit: Questions? Visit the Booth or contact

166 Wireless Cisco Education Offerings
Cisco Live 2014 4/20/2017 Wireless Cisco Education Offerings Course Description Cisco Certification Conducting Cisco Unified Wireless Site Survey Implementing Cisco Unified Wireless Voice Networks Implementing Cisco Unified Wireless Mobility Services Implementing Cisco Unified Wireless Security Services Professional level instructor led trainings to prepare candidates to conduct site surveys, implement, configure and support APs and controllers in converged Enterprise networks. Focused on and related technologies to deploy voice networks, mobility services, and wireless security. CCNP® Wireless Implementing Cisco Unified Wireless Network Essential Prepares candidates to design, install, configure, monitor and conduct basic troubleshooting tasks of a Cisco WLAN in Enterprise installations. CCNA® Wireless For more details, please visit: Questions? Visit the Booth or contact

167 Design Cisco Education Offerings
Cisco Live 2014 4/20/2017 Design Cisco Education Offerings Course Description Cisco Certification Designing Cisco Network Service Architectures (ARCH) Provides learner with the ability to perform conceptual, intermediate, and detailed design of a network infrastructure that supports desired capacity, performance, availability required for converged Enterprise network services and applications. CCDP® (Design Professional) Designing for Cisco Internetwork Solutions (DESGN) Instructor led training focused on fundamental design methodologies used to determine requirements for network performance, security, voice, and wireless solutions. Prepares candidates for the CCDA certification exam. CCDA® (Design Associate) For more details, please visit: Questions? Visit the Booth or contact

168 Service Provider Cisco Education Offerings
Cisco Live 2014 4/20/2017 Service Provider Cisco Education Offerings Course Description Cisco Certification Deploying Cisco Service Provider Network Routing (SPROUTE) & Advanced (SPADVROUTE) Implementing Cisco Service Provider Next-Generation Core Network Services (SPCORE) Edge Network Services (SPEDGE) SPROUTE covers the implementation of routing protocols (OSPF, IS-IS, BGP), route manipulations, and HA routing features; SPADVROUTE covers advanced routing topics in BGP, multicast services including PIM-SM, and IPv6; SPCORE covers network services, including MPLS-LDP, MPLS traffic engineering, QoS mechanisms, and transport technologies; SPEDGE covers network services, including MPLS Layer 3 VPNs, Layer 2 VPNs, and Carrier Ethernet services; all within SP IP NGN environments. CCNP Service Provider® Building Cisco Service Provider Next-Generation Networks, Part 1&2 (SPNGN1), (SPNGN2) The two courses introduce networking technologies and solutions, including OSI and TCP/IP models, IPv4/v6, switching, routing, transport types, security, network management, and Cisco OS (IOS and IOS XR). CCNA Service Provider® Implementing Cisco Service Provider Mobility UMTS Networks (SPUMTS); Implementing Cisco Service Provider Mobility CDMA Networks (SPCDMA); Implementing Cisco Service Provider Mobility LTE Networks (SPLTE) The three courses (SPUMTS, SPCDMA, SPLTE) cover knowledge and skills required to understand products, technologies, and architectures that are found in Universal Mobile Telecommunications Systems (UMTS) and Code Division Multiple Access (CDMA) packet core networks, plus their migration to Long-Term Evolution (LTE) Evolved Packet Systems (EPS), including Evolved Packet Core (EPC) and Radio Access Networks (RANs). Cisco Service Provider Mobility CDMA to LTE Specialist; Cisco Service Provider Mobility UMTS to LTE Specialist Implementing and Maintaining Cisco Technologies Using IOS XR (IMTXR) Service Provider/Enterprise engineers to implement, verification-test, and optimize core/edge technologies in a Cisco IOS XR environment. Cisco IOS XR Specialist For more details, please visit: Questions? Visit the Booth or contact

169 Collaboration Cisco Education Offerings
Cisco Live 2014 4/20/2017 Collaboration Cisco Education Offerings Course Description Cisco Certification CCIE Collaboration Advanced Workshop (CIEC) Gain expert-level skills to integrate, configure, and troubleshoot complex collaboration networks CCIE® Collaboration Implementing Cisco Collaboration Applications (CAPPS) Understand how to implement the full suite of Cisco collaboration applications including Jabber, Cisco Unified IM and Presence, and Cisco Unity Connection. CCNP® Collaboration Implementing Cisco IP Telephony and Video Part 1 (CIPTV1) Implementing Cisco IP Telephony and Video Part 2 (CIPTV2) Troubleshooting Cisco IP Telephony and Video (CTCOLLAB) Learn how to implement Cisco Unified Communications Manager, CUBE, and audio and videoconferences in a single-site voice and video network. Obtain the skills to implement Cisco Unified Communications Manager in a modern, multisite collaboration environment. Troubleshoot complex integrated voice and video infrastructures Implementing Cisco Collaboration Devices (CICD) Implementing Cisco Video Network Devices (CIVND) Acquire a basic understanding of collaboration technologies like Cisco Call Manager and Cisco Unified Communications Manager. Learn how to evaluate requirements for video deployments, and implement Cisco Collaboration endpoints in converged Cisco infrastructures. CCNA® Collaboration For more details, please visit: Questions? Visit the Booth or contact

170 Data Center / Virtualization Cisco Education Offerings
Cisco Live 2014 4/20/2017 Data Center / Virtualization Cisco Education Offerings Course Description Cisco Certification Cisco Data Center CCIE Unified Fabric Workshop (DCXUF); Cisco Data Center CCIE Unified Computing Workshop (DCXUC) Prepare for your CCIE Data Center practical exam with hands on lab exercises running on a dedicated comprehensive topology CCIE® Data Center Implementing Cisco Data Center Unified Fabric (DCUFI); Implementing Cisco Data Center Unified Computing (DCUCI) Obtain the skills to deploy complex virtualized Data Center Fabric and Computing environments with Nexus and Cisco UCS. CCNP® Data Center Introducing Cisco Data Center Networking (DCICN); Introducing Cisco Data Center Technologies (DCICT) Learn basic data center technologies and how to build a data center infrastructure. CCNA® Data Center Product Training Portfolio: DCAC9k, DCINX9k, DCMDS, DCUCS, DCNX1K, DCNX5K, DCNX7K Get a deep understanding of the Cisco data center product line including the Cisco Nexus9K in ACI and NexusOS modes For more details, please visit: Questions? Visit the Booth or contact

171 Network Programmability Cisco Education Offerings
Cisco Live 2014 4/20/2017 Network Programmability Cisco Education Offerings Course Description Cisco Certification Integrating Business Applications with Network Programmability (NIPBA); Integrating Business Applications with Network Programmability for Cisco ACI (NPIBAACI) Learn networking concepts, and how to deploy and troubleshoot programmable network architectures with these self-paced courses. Cisco Business Application Engineer Specialist Certification Developing with Cisco Network Programmability (NPDEV); Developing with Cisco Network Programmability for Cisco ACI (NPDEVACI) Learn how to build applications for network environments and effectively bridge the gap between IT professionals and software developers. Cisco Network Programmability Developer Specialist Certification Designing with Cisco Network Programmability (NPDES); Designing with Cisco Network Programmability for Cisco ACI (NPDESACI) Learn how to expand your skill set from traditional IT infrastructure to application integration through programmability. Cisco Network Programmability Design Specialist Certification Implementing Cisco Network Programmability (NPENG); Implementing Cisco Network Programmability for Cisco ACI (NPENGACI) Learn how to implement and troubleshoot open IT infrastructure technologies. Cisco Network Programmability Engineer Specialist Certification For more details, please visit: Questions? Visit the Booth or contact

172 Cloud Cisco Education Offerings
Cisco Live 2014 4/20/2017 Cloud Cisco Education Offerings Course Description Cisco Certification Designing the FlexPod Solution (FPDESIGN); Implementing and Administering the FlexPod Solution (FPIMPADM) Learn how to design, implement and administer FlexPod solutions FlexPod Design Specialist; FlexPod Implementation & Administration Specialist UCS Director (UCSDF) Learn how to manage physical and virtual infrastructure using orchestration and automation functions of UCS Director. Cisco Prime Service Catalog Learn how to deliver data center, workplace, and application services in an on-demand, automated, and repeatable method. Cisco Intercloud Fabric Learn how to implement end-to-end hybrid clouds with Intercloud Fabric for Business and Intercloud Fabric for Providers. Cisco Intelligent Automation for Cloud Learn how to implement and manage cloud deployments with Cisco Intelligent Automation for Cloud For more details, please visit: Questions? Visit the Booth or contact


Download ppt "4/20/2017 Cisco Live 2014."

Similar presentations


Ads by Google