Professional Documents
Culture Documents
BRKRST-2930
@ciscoliveeurope, #CLEUR
Housekeeping
We value your feedback- don't forget to complete your online session evaluations after each session & the Overall Conference Evaluation which will be available online from Thursday Visit the World of Solutions and Meet the Engineer Visit the Cisco Store to purchase your recommended readings Please switch off your mobile phones After the event dont forget to visit Cisco Live Virtual: www.ciscolivevirtual.com Follow us on Twitter for real time updates of the event: @ciscoliveeurope, #CLEUR
BRKRST-2930
Cisco Public
Session Goal
This session will provide a technical description of the NX-OS QoS capabilities and hardware implementations of QoS functions on the Nexus 7000, 5500/5000, 3000 and Nexus 2000 I t will also include a design and configuration level discussion on the best practices for use of the Cisco Nexus family of switches in implementing QoS for Medianet in additional to new QoS capabilities leveraged in the Data Centre to support FCoE, NAS, iSCSI and vMotion. This session is designed for network engineers involved in network switching design. A basic understanding of QoS and operation of the Nexus switches 2000/5000/5500/7000 series is assumed.
BRKRST-2930
Cisco Public
Housekeeping
We value your feedback- don't forget to complete your online session evaluations after each session & the Overall Conference Evaluation which will be available online from Thursday Visit the World of Solutions and Meet the Engineer Visit the Cisco Store to purchase your recommended readings Please switch off your mobile phones After the event dont forget to visit Cisco Live Virtual: www.ciscolivevirtual.com
BRKRST-2930
Cisco Public
1K
Cisco Nexus
x86
BRKRST-2930
Cisco Public
FCoE
BRKRST-2930
BRKRST-2930 All 2012 Cisco and/or its affiliates. All rights reserved. 14497_04_2008_c1 2007 Cisco Systems, Inc. rights reserved. Cisco Confidential
Cisco Public
BRKRST-2930
Cisco Public
12-Class Model
Voice Realtime Interactive
Realtime
Multimedia Conferencing
Broadcast Video
Streaming Video Signaling / Control Call Signaling Network Control Critical Data Critical Data
Multimedia Streaming
Call Signaling Network Control Network Management Transactional Data Bulk Data
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSIntro_40.html#wp61135 Time
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
Video Packets
Video Frame Video Frame
1000
1000
Bytes
600 Audio Samples 600
200
200
20 msec
BRKRST-2930
Time
2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
33 msec
10
Access-Edge Switches
Unsecure Endpoint
BRKRST-2930
Cisco Public
Trust Boundary
11
blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8
blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8
blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8
blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8 blade1 slot 1 blade2 slot 2 blade3 slot 3 blade4 slot 4 blade5 slot 5 blade6 slot 6 blade7 slot 7 blade8 slot 8
Ultra Low Latency Queueing is designed out of the network whenever possible Nanoseconds matter
BRKRST-2930
HPC/GRID Low Latency Bursty Traffic (workload migration) IPC iWARP & RCoE
Virtualized Data Center vMotion, iSCSI, FCoE, NAS, CIFS Multi Tenant Applications Voice & Video
Cisco Public
MSDC ECN & Data Center TCP Hadoop and Incast Loads on the server ports
12
vPC
N7K CoS/DSCP Marking, Queuing and Classification COS/DSCP Based Queuing in the extended Fabric
N5K CoS/DSCP Marking, Queuing and Classification N2K CoS Marking CNA/A-FEX - Classification and Marking
vPC
COS Based Queuing in the extended Fabric N1KV Classification, Marking & Queuing
Trust Boundary
VM #2
VM #3
VM #4
BRKRST-2930
Cisco Public
13
DSCP is still marked but CoS will be required and used in Nexus Data Center designs
PCP/COS 1 Network priority 0 (lowest) Acronym BK Traffic characteristics Background
0
2
1
2
BE
EE
Best Effort
Excellent Effort
3
4 5 6
3
4 5 6
CA
VI VO IC
Critical Applications
Video, < 100 ms latency Voice, < 10 ms latency Internetwork Control
IEEE 802.1Q-2005
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
14
Network Class
Control vMotion Gold, Transactional
COS
6 4 5 2 1 3 5 1
Cisco Public
Tenant
1K
Cisco Nexus
x86
BRKRST-2930
Cisco Public
16
https://www.cisco.com/en/US/netsol/ns783/index.html
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
17
Ethernet Link
Receive Buffers
One Two
PAUSE
B2B Credits
BRKRST-2930
Packet
Eight
2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
18
3G/s
3G/s
2G/s
3G/s
3G/s 3G/s 3G/s
3G/s
3G/s
4G/s
6G/s
3G/s
5G/s
t1
t2
t3
t1
t2
t3
BRKRST-2930
Cisco Public
19
ECN Configuration: The configuration for enabling ECN is very similar to the previous WRED example, so only the policy-map configuration with the ecn option is displayed for simplicity.
N3K-1(config)# policy-map type network-qos traffic-priorities N3K-1(config-pmap-nq)# class type network-qos class-gold N3K-1(config-pmap-nq-c)# congestion-control random-detect ecn Notes: When configuring ECN ensure there are not any queuing policy-maps applied to the interfaces. Only configure the queuing policy under the system policy.
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
20
1K
Cisco Nexus
x86
21
N7K-M148GS-11/N7K-M148GS-11L
F family High performance, low latency, low power and streamlined feature set
N7K-F132XP-15
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
PHY
R2D2
EARL
EARL
PHY
Ingress Linecard
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
23
Ingress Mutation
Ingress Classification
Marking
Ingress Policing
COS-toqueue mapping Bandwidth allocation (DWRR) Buffer allocation Congestion Avoidance (WRED1 and tail drop) Set COS
1-rate 2-color and 2-rate 3-color aggregate policing Shared policers Color-aware policing Policing actions:
Transmit Drop Change CoS/IPPrec/DSCP Markdown Set QoS Group or Discard Class
24
Cisco Public
Egress Classification
Marking
Egress Policing
Egress Mutation
1-rate 2-color and 2-rate 3-color aggregate policing Shared policers Color-aware aggregate policing Policing actions:
Transmit Drop Change CoS/IPPrec/DSCP Markdown
COS-toqueue mapping Bandwidth allocation Buffer allocation Congestion avoidance (WRED & tail drop) Priority queuing SRR (no PQ)
25
BRKRST-2930
Cisco Public
BRKRST-2930
Cisco Public
26
Queuing Classes
class-map type queuing Configure COS-queue mappings Queuing class-map names are static, based on port-type and queue
tstevens-7010(config)# class-map type queuing match-any 1p3q4t-out-pq1 1p7q4t-out-q-default 1p7q4t-out-q6 8q2t-in-q1 1p3q4t-out-q-default 1p7q4t-out-q2 1p7q4t-out-q7 8q2t-in-q2 1p3q4t-out-q2 1p7q4t-out-q3 2q4t-in-q-default 8q2t-in-q3 1p3q4t-out-q3 1p7q4t-out-q4 2q4t-in-q1 8q2t-in-q4 1p7q4t-out-pq1 1p7q4t-out-q5 8q2t-in-q-default 8q2t-in-q5 tstevens-7010(config)# class-map type queuing match-any 1p3q4t-out-pq1 tstevens-7010(config-cmap-que)# match cos 7 tstevens-7010(config-cmap-que)# 8q2t-in-q6 8q2t-in-q7
1G ingress port type 1G egress port type 10G egress port type
BRKRST-2930
Cisco Public
27
Queuing Policies
policy-map type queuing Define per-queue behavior such as queue size, WRED, shaping
tstevens-7010(config)# policy-map type queuing pri-q tstevens-7010(config-pmap-que)# class type queuing 1p3q4t-out-pq1 tstevens-7010(config-pmap-c-que)# bandwidth no queue-limit set exit priority random-detect shape tstevens-7010(config-pmap-c-que)#
Note that some sanity checks only performed when you attempt to tie the policy to an interface
e.g., WRED on ingress 10G ports
BRKRST-2930
Cisco Public
28
Queue Attributes
priority defines queue as the priority queue bandwidth defines WRR weights for each queue shape defines SRR weights for each queue
Note: enabling shaping disables PQ support for that port
queue-limit defines queue size and defines tail-drop thresholds random-detect sets WRED thresholds for each queue
Note: WRED and tail-drop parameters are mutually exclusive on a per-queue basis
BRKRST-2930
Cisco Public
29
BRKRST-2930
Cisco Public
30
Changes to default queuing policies, or application of QoS marking policies, can modify this behavior
BRKRST-2930
Cisco Public
31
1K
Cisco Nexus
x86
BRKRST-2930
Cisco Public
32
BRKRST-2930
Cisco Public
33
In typical Data Center access designs multiple ingress access ports transmit to a few uplink ports
Ingress queuing provides an additive effective The total queue size available is equal to [number of ingress ports x queue depth per port] Statistically ingress queuing provides the same advantages as shared buffer memory architectures
BRKRST-2930
Cisco Public
34
Traffic is Queued on the Ingress buffer until the egress port is free to transmit the packet To prevent Head of Line Blocking (HOLB) Nexus 5000 and 5500 use a Virtual Output Queue (VoQ) Model Each ingress port has a unique set of 8 virtual output queues for every egress port (1024 Ingress VOQs = 128 destinations * 8 classes on every ingress port) If Queue 0 is congested for any port traffic in Queue 0 for all the other ports is still able to be transmitted
Eth 1/20
Common shared buffer on ingress, VoQ are pointer lists and not physical buffers
Cisco Public
BRKRST-2930
35
Egress UPC
Attach Point system qos ingress Interface system qos egress Interface ingress Interface system qos
queuing
network-qos
BRKRST-2930
Cisco Public
36
Cisco Nexus 5500 switch supports five user-defined classes and the one default drop system class
FCoE queues are not pre-allocated When configuring FCoE the predefined service policies must be added to existing QoS configurations
# Predefined FCoE service policies service-policy type qos input fcoe-default-in-policy service-policy type queuing input fcoe-default-in-policy service-policy type queuing output fcoe-default-out-policy service-policy type network-qos fcoe-default-nq-policy
Gen 2 UPC
BRKRST-2930
Cisco Public
37
Gen 2 UPC
Gen 2 UPC
Gen 2 UPC
Gen 2 UPC
class-map type network-qos nqcm-grp2 match qos-group 2 class-map type network-qos nqcm-grp4 match qos-group 4 policy-map type network-qos nqpm-grps class type network-qos nqcm-grp2 set cos 4 class type network-qos nqcm-grp4 set cos 2
Cisco Public
On initial ingress packet QoS matched and packet is associated with a qos-group for queuing and policy enforcement
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved.
38
Gen 2 UPC
Gen 2 UPC
Nexus-5500(config)# wrr-queue cos-map 0 1 2 3 Nexus-5500(config)# sh wrr-queue cos-map MCAST Queue ID Cos Map 0 0 1 2 3 1 2 4 5 3 6 7
Cisco Public
39
Interface Ethernet1/39 RX Queuing qos-group 0 q-size: 243200, HW MTU: 1600 (1500 configured) drop-type: drop, xon: 0, xoff: 1520 Statistics: Pkts received over the port : 85257 Ucast pkts sent to the cross-bar : 930 Unified Mcast pkts sent to the cross-bar : 84327 Crossbar Ucast pkts received from the cross-bar : 249 Fabric Pkts sent to the port : 133878 Pkts discarded on ingress : 0 Per-priority-pause status : Rx (Inactive), Tx (Inactive) <snip other classes repeated> Total Multicast crossbar statistics: Mcast pkts received from the cross-bar
: 283558
Packets Arriving on this port but dropped from ingress queue due to congestion on egress port
BRKRST-2930
Cisco Public
40
Create two system classes for traffic with different source address range Supported matching criteria
N5k(config)# class-map type qos class-1 N5k(config-cmap-qos)# match ? access-group Access group cos IEEE 802.1Q class of service dscp DSCP in IP(v4) and IPv6 packets ip IP precedence Precedence in IP(v4) and IPv6 packets protocol Protocol N5k(config-cmap-qos)# match
Qos-group range for userconfigured system class is 2-5 Policy under system qos applied to all interfaces Policy under interface is preferred if same type of policy is applied under both system qos and interface
41
Cisco Public
Match qos-group is the only option for networkqos class-map Qos-group value is set by qos policy-map in previous slide No action tied to this class indicates default network-qos parameters. Policy-map type network-qos will be used to configure no-drop class, MTU, ingress buffer size and 802.1p marking Default network-qos parameters are listed in the table below
Default Value Drop class 1538 20.4KB No marking
BRKRST-2930
Cisco Public
42
BRKRST-2930
Cisco Public
44
BRKRST-2930
45
46
Step 7 Configure bandwidth allocation for new system class using queuing policymap
Cisco Public
BRKRST-2930
47
WRR
Interface Ethernet1/1 RX Queuing qos-group 0: class-default q-size: 163840, MTU: 1538 drop-type: drop, xon: 0, xoff: 1024 Statistics: Packet counter Pkts received over the port : 9802 for each class Ucast pkts sent to the cross-bar :0 Mcast pkts sent to the cross-bar : 9802 Ucast pkts received from the cross-bar : 0 Drop counter for Pkts sent to the port : 18558 Pkts discarded on ingress :0 each class Per-priority-pause status : Rx (Inactive), Tx (Inactive)
User-configured system qos-group 2: q-size: 20480, MTU: 1538 class: class-1 drop-type: drop, xon: 0, xoff: 128 Statistics: Pkts received over the port :0 Ucast pkts sent to the cross-bar :0 Mcast pkts sent to the cross-bar :0 Ucast pkts received from the cross-bar : 0 Pkts sent to the port :0 Pkts discarded on ingress :0 Per-priority-pause status : Rx (Inactive), Tx (Inactive)
qos-group 3: User-configured system q-size: 20480, MTU: 1538 class: class-2 drop-type: drop, xon: 0, xoff: 128 Statistics: Pkts received over the port :0 Ucast pkts sent to the cross-bar :0 Mcast pkts sent to the cross-bar :0 Ucast pkts received from the cross-bar : 0 Pkts sent to the port :0 Pkts discarded on ingress :0 Per-priority-pause status : Rx (Inactive), Tx (Inactive) Total Multicast crossbar statistics: Mcast pkts received from the cross-bar N5k#
Cisco Public
class-fcoe qos-group 1: q-size: 76800, MTU: 2240 drop-type: no-drop, xon: 128, xoff: 240 Statistics: Pkts received over the port :0 Ucast pkts sent to the cross-bar :0 Current PFC status Mcast pkts sent to the cross-bar :0 Ucast pkts received from the cross-bar : 0 Pkts sent to the port :0 Pkts discarded on ingress :0 Per-priority-pause status : Rx (Inactive), Tx (Inactive) Continue
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved.
: 18558
48
1K
Cisco Nexus
x86
49
Gen 2 UPC
BRKRST-2930
Cisco Public
50
BRKRST-2930
Cisco Public
51
Gen 2 UPC
Gen 2 UPC
40G Fabric
1G Sink
52
Nexus 2248TP-E
32MB Shared Buffer
Speed mismatch between 10G NAS and 1G server requires QoS tuning Nexus 2248TP-E utilizes a 32MB shared buffer to handle larger traffic bursts
1G Attached Server
BRKRST-2930
Cisco Public
10G NFS
53
Queue Statistics: ---+----------------+-----------+------------+----------+------------+----Que|Received / |Tail Drop |No Buffer |MAC Error |Multicast |Queue No |Transmitted | | | |Tail Drop |Depth ---+----------------+-----------+------------+----------+------------+----2rx| 5863073| 0| 0| 0| | 0 2tx| 426378558047| 28490502| 0| 0| 0| 0 ---+----------------+-----------+------------+----------+------------+----<snib>
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved.
54
1K
Cisco Nexus
x86
55
BRKRST-2930
Cisco Public
56
Egress port 1
80% Shared
Egress port 2
. A pool of 9MB Buffer space is divided up among Egress reserved and Dynamically shared buffer
.
UC Queue 0 UC Queue 1 UC Queue 2 UC Queue 3 UC Queue 4 UC Queue 5 UC Queue 6 UC Queue 7 MC Queue 0 MC Queue 1 MC Queue 2 MC Queue 3
Egress port 64
9MB Total
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
57
Ingress
Egress 10%
20%
30%
40%
Traffic is prioritized based on traffic bandwidth percentage Excess traffic is dropped based on bandwidth ratios
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
58
N3K-1(config)# class-map type qos match-all qos-group-1 N3K-1(config-cmap-qos)# description Gold N3K-1(config-cmap-qos)# match dscp 46 N3K-1(config-cmap-qos)# class-map type qos match-all qos-group-2 N3K-1(config-cmap-qos)# description Silver N3K-1(config-cmap-qos)# match dscp 36 N3K-1(config-cmap-qos)# class-map type qos match-all qos-group-3 N3K-1(config-cmap-qos)# description Bronze N3K-1(config-cmap-qos)# match dscp 26 N3K-1(config)# policy-map type qos traffic-classification N3K-1(config-pmap-qos)# class qos-group-1 N3K-1(config-pmap-c-qos)# set qos-group 1 N3K-1(config-pmap-c-qos)# class qos-group-2 N3K-1(config-pmap-c-qos)# set qos-group 2 N3K-1(config-pmap-c-qos)# class qos-group-3 N3K-1(config-pmap-c-qos)# set qos-group 3 N3K-1(config)# interface ethernet 1/30 N3K-1(config-if)# service-policy type qos input traffic-classification
BRKRST-2930
Cisco Public
59
BRKRST-2930
Cisco Public
60
N3K-1(config)# class-map type network-qos qos-group-1 N3K-1(config-cmap-nq)# match qos-group 1 N3K-1(config-cmap-nq)# class-map type network-qos qos-group-2 N3K-1(config-cmap-nq)# match qos-group 2 N3K-1(config-cmap-nq)# class-map type network-qos qos-group-3 N3K-1(config-cmap-nq)# match qos-group 3
N3K-1(config)# policy-map type network-qos qos-groups N3K-1(config-pmap-nq)# class type network-qos qos-group-1 N3K-1(config-pmap-nq)# class type network-qos qos-group-2 N3K-1(config-pmap-nq)# class type network-qos qos-group-3
Define the Policy-Map and match the Class-Maps previously defined Apply the Policy-Map to the system
BRKRST-2930
Cisco Public
61
Ingress Classification Configuration: The qos service-policy can be applied per interface or per system
Egress Queue Configuration: The queuing service-policy can be applied per interface or per system
Queuing WRED
The default WRR Queue behavior is to tail drop packets when congestion is experienced. A network-qos policy can be configured to enable WRED, which drops packets prior to experiencing congestion (based on min/max/probability ratios). This is beneficial for applications that use TCP, since the source can reduce its transmission rate when the TCP stream experiences lost packets.
N3K-1(config)# class-map type qos match-all class-gold N3K-1(config-cmap-qos)# match dscp 8 N3K-1(config)# policy-map type qos traffic-classification N3K-1(config-pmap-qos)# class class-gold N3K-1(config-pmap-c-qos)# set qos-group 1 N3K-1(config)# interface ethernet 1/20 N3K-1(config-if)# service-policy type qos input traffic-classification
Traffic Classification: Match packets with a IP DSCP 8 and transmit them in QoS-Group 1
N3K-1(config)# class-map type network-qos class-gold N3K-1(config-cmap-nq)# description Gold N3K-1(config-cmap-nq)# match qos-group 1 N3K-1(config)# policy-map type network-qos traffic-priorities N3K-1(config-pmap-nq)# class type network-qos class-gold N3K-1(config-pmap-nq-c)# congestion-control random-detect N3K-1(config)# system qos N3K-1(config-sys-qos)# service-policy type network-qos traffic-priorities
Network-QoS: Match packets in QoS-Group 1 and enable WRED for the QoS-Group
Notes: Bandwidth percentages were not configured in this example to keep it simple.
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
63
1K
Cisco Nexus
x86
64
Nexus 7000 uses modular QoS CLI (MQC) to apply both queuing and traditional QoS (marking/policing) policies
Class maps to match traffic Policy maps to define actions to take on each class Service policies to tie policy maps to interfaces/VLANs in a particular direction
BRKRST-2930
Cisco Public
65
BRKRST-2930
Cisco Public
66
Define COS-to-queue mapping in queuing classmaps (configurable for each port type in each direction) Define behavior for each queue in queuing policy-map
Define priority queue Size the queue Define COS-tothreshold mapping Define DWRR weight for queue (bandwidth remaining required when using PQ) Tie policy-map as service-policy on appropriate interface type in appropriate direction
67
SRND queuing configuration for Catalyst 6500 1p7q8t port type Allocates buffer space to non-PQs
Sets the DWRR weights for non-PQs Sets WRED min thresholds for the non-PQs Sets WRED max thresholds for the non-PQs Assigns scavenger/ bulk to Q1 WRED threshold 1 Q4: NMS/ transactional data 68
Q3: Video Q7: STP Q6: RPs Q5: Call sig and Cisco Public critical data
priority-queue cos-map 1 5
BRKRST-2930 PQ: VoIP 2012 Cisco and/or its affiliates. All rights reserved.
Q3: RPs Q4: Call sig and critical data Q5: NMS/ transactional data Q6: Video Q7: Best effort
69
Defines the PQ Sizes the PQ Enables COS-based WRED for the queue
I actually question enabling WRED on network control queues as described in SRND Your choice
70
I chose slightly different queue-limit sizes vs SRND when all 8 queues enabled, sum of queue-limit percentages must equal 100
BRKRST-2930
Cisco Public
71
Summary
MQC configuration for both queuing and marking/policing polices
Departure from platform-specific Catalyst 6500 configuration model
BRKRST-2930
Cisco Public
72
1K
Cisco Nexus
x86
73
Enabling the FCoE feature on Nexus 5548/96 does not create no-drop policies automatically as on Nexus 5010/20 Must add policies under system QOS:
system qos service-policy type qos input fcoe-default-in-policy service-policy type queuing input fcoe-default-in-policy service-policy type queuing output fcoe-default-out-policy service-policy type network-qos fcoe-default-nq-policy
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
74
Support for 3 km no drop switch to switch links Inter Building DCB FCoE links
Buffer size
N5020 N5548
5548-FCoE(config)# policy-map type network-qos 3km-FCoE 5548-FCoE(config-pmap-nq)# class type network-qos 3km-FCoE 5548-FCoE(config-pmap-nq-c)# pause no-drop buffer-size 152000 pause-threshold 103360 resume-threshold 83520
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
75
show class-map type network-qos c-nq-7e-ndrop-fcoe Type network-qos class-maps ============================================= class-map type network-qos match-any c-nq-7e-ndrop-fcoe Description: 7E No-Drop FCoE CoS map match cos 3 match protocol fcoe
(Priority)
5,6,7 5,6,7 5,6,7 5,6,7
NoDrop CoS
3 3,4 1,2,3,4
(Priority)
4 4
76
1Gig FC HBAs
Traditional Server
Best Practice: Tune FCoE queue to provide equivalent capacity to the HBA that would have been used (1G, 2G, )
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
77
78
BRKRST-2930
Cisco Public
79
DC Design Details
iSCSI Storage Considerations
iSCSI and DCB Where does PFC make sense in the non FCoE design? Extending buffering from switch to connected device End to End Need to consider network oversubscription carefully!
Fibre Channel and FCoE leverage very low levels of oversubscription No Drop for FC works due to capacity planning
Flow Control from the array to the switch
NAS iSCSI
Where does ETS make sense? Anywhere you want to guarantee capacity
VM VM VM #2 #3 #4
80
DC Design Details
iSCSI
4G 10G
10G
1G
1G
1G
1G
BRKRST-2930
81
BRKRST-2930
Cisco Public
82
qos input iscsi-in-policy queuing input iscsi-in-policy queuing output iscsi-out-policy network-qos iscsi-nq-policy
BRKRST-2930
Cisco Public
83
Conclusion
You should now have a good understanding of QoS implementation using the Nexus Data Center switches Any questions?
BRKRST-2930
Cisco Public
84
Recommended Reading
BRKRST-2930
Or use the Cisco Live Mobile App to complete the surveys from your phone, download the app at www.ciscolivelondon.com/connect/mobile/app.html
1. Scan the QR code (Go to http://tinyurl.com/qrmelist for QR code reader software, alternatively type in the access URL above) 2. Download the app or access the mobile site 3. Log in to complete and submit the evaluations
http://m.cisco.com/mat/cleu12/
BRKRST-2930 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
86
BRKRST-2930
Cisco Public
87
Thank you.
BRKRST-2930
Cisco Public
88