SlideShare a Scribd company logo
1 of 22
Quality-of-Service configuration on Cisco Nexus
Enterprise Engineering Solutions 1
Supported QoS Policies
• QoS: This defines the Modular QoS command line interface, MQC objects used for marking and policing.
• Network-QoS: This is required on F-Series modules only.
• Queuing: This defines MQC objects used for queuing and scheduling of the marking objects.
• Control Plane: Defines MQC objects used for Control plane policing (CoPP)
Enterprise Engineering Solutions 2
Nexus 7000 M1/M2 fabric CoS Mappings
Fabric queue factor CoS values
PQ1 (priority queuing 1) 5-7
Q2 (Queuing 2) 3-4
Q3 2
Q4 0-1
- PQ1 is scheduled on a strict-priority basis.
- Q2-Q4 are scheduled with round-robin fashion and are assigned equal weights.
Enterprise Engineering Solutions 3
M2 QoS Design Steps
The three primary QoS requirements of a data center core switch are to:
• Trust CoS and DSCP on ingress
• Queue on ingress.
• Queue on egress.
Because the default behavior of the Nexus7K is tor trust CoS and DSCP on ingress, there are effectively only
two steps to configure QoS on a Nexus 7000 with M2-Series module in a data center switch:
1. Configure ingress queuing.
2. Configure egress queuing.
Each Nexus 7K M2-series module supports an 8Q2T ingress queuing structure and a 1P7Q4T egress queuing
structure. The pre-configured Queuing class map names for ingress and egress model are shared on the next
slide.
Enterprise Engineering Solutions 4
8Q2T Ingress Model
1P7Q4T Egress Model
Enterprise Engineering Solutions 5
M2 four-class Queuing Model
• In the four-class model, the application class to queue mappings are as follows:
1. Real-time traffic: Mapped to CoS value 5. This is allocated 25% of the bandwidth in the ingress 4Q2T
model.
2. Signaling traffic: Mapped with default CoS of 3. This is assigned to a dedicated non-priority queue with a
25% bandwidth allocation in the ingress 4Q2T model and a 35% bandwidth in egress 1P3Q4T model.
3. Transactional data traffic: Mapped with CoS 2 with same ingress and egress bandwidth model as above.
4. Best effort traffic: This is mapped with a default CoS value of 0. This is assigned to the default queue with
a 25% bandwidth allocation in ingress 4Q2T model and a 30% bandwidth-remaining allocation in the
egress 1P3Q4T model.
Enterprise Engineering Solutions 6
Nexus 7k M2 Four-Class Queuing Example
N7K(config-cmap-que)#class-map type queuing match-any 8q2t-in-q1
N7K(config-cmap-que)#match cos 5-7
N7K(config-cmap-que)#class-map type queuing match-any 8q2t-in-q2
N7K(config-cmap-que)#match cos 3
N7K(config-cmap-que)#class-map type queuing match-any 8q2t-in-q3
N7K(config-cmap-que)#match cos 2
N7K(config-cmap-que)#class-map type queuing match-any 1p7q4t-out-pq1
N7K(config-cmap-que)#match cos 5-7
N7K(config-cmap-que)#class-map type queuing match-any 1p7q4t-out-q2
N7K(config-cmap-que)#match cos 3
N7K(config-cmap-que)#class-map type queuing match-any 1p7q4t-out-q3
N7K(config-cmap-que)#match cos 2
Real-time traffic is mapped to ingress Q1.
Signaling is mapped to ingress Q2.
Transactional data is mapped to ingress Q3
Real-time traffic is mapped to egress Q1.
Signaling is mapped to egress Q2.
Transactional data is mapped to egress Q3
So this configures our ingress and egress queuing class maps.
Enterprise Engineering Solutions 7
N7K(config-cmap-que)#policy-map type queuing 4Q2T-Ingress
N7K(config-cmap-que)#class type queuing 8q2t-in-q1
N7K(config-cmap-que)#bandwidth percent 25
N7K(config-cmap-que)#class type queuing 8q2t-in-q2
N7K(config-cmap-que)#bandwidth percent 25
N7K(config-cmap-que)#class type queuing 8q2t-in-q3
N7K(config-cmap-que)#bandwidth 25
N7K(config-cmap-que)#policy-map type queuing 1P3Q4T-EGRESS
N7K(config-cmap-que)#class type queuing 1p7q4t-out-pq1
N7K(config-cmap-que)#priority
N7K(config-cmap-que)#class type queuing 1p7q4t-out-q2
N7K(config-cmap-que)#bandwidth remaining percent 35
N7K(config-cmap-que)#class type queuing 1p7q4t-out-q3
N7K(config-cmap-que)#bandwidth remaining percent 30
Now after creating all the egress class-maps, we have
Brought all of them inside a policy-map type queuing with name
4Q2T-Ingress for egress traffic.
Under every class map we have allotted a particular bandwidth to
Utilized.
Now after creating all the ingress class-maps, we have
Brought all of them inside a policy-map type queuing with name
4Q2T-Ingress for ingress traffic.
Under every class map we have allotted a particular bandwidth to
Utilized.
So till now, our policy maps along with their respective class maps are ready to be used on the interfaces.
Enterprise Engineering Solutions 8
Applying queuing policies on the interfaces.
N7K(config)#interface Ethernet 1/1
N7K(config)#service-policy type queuing input 4Q2T-Ingress
N7K(config)#service-policy type queuing output 1P3Q4T-EGRESS
When we are applying the policy map on an interface, we use
the “service-policy” command with same name as for the policy-
maps to include their ingress/egress rules on the configured
interface.
Enterprise Engineering Solutions 9
Configuration verification:
Using the below commands, we can verify the QoS configuration on the desired interfaces:
1. Show class-map type queuing
2. Show policy-map type queuing
3. Show policy-map interface
Enterprise Engineering Solutions 10
Bandwidth allocation:
To allocate a minimum percentage of the interface’s bandwidth to a queue and configure the bandwidth on
both ingress and egress queues, we use the bandwidth command.
We can use the system-defined ingress or egress queue class for the type of module to which we want to apply
the policy map.
1Gig Module CoS class map names
Enterprise Engineering Solutions 11
10Gig Module Ingress/Egress CoS class maps
Enterprise Engineering Solutions 12
Bandwidth configuration example:
Switch(config):policy-map type queuing my-policy
Switch(config-pmap-que)#class type queuing 1p7q4t-out-pq1
Switch(config-pmap-c-que)#bandwidth 1 gbps
Switch(config-pmap-c-que)#exit
Switch(config-pmap-que)#class type queuing 8q2t-in-q1
Switch(config-pmap-c-que)#bandwidth 1 gbps
Enterprise Engineering Solutions 13
Bandwidth remaining:
To configure the percentage of the bandwidth remaining on the interface after other allocations are configured
on both the ingress and egress queues, we use the bandwidth remaining command.
For this again, we can use the system-defined ingress or egress class map of the type of module being used to
apply the policy map to.
EXAMPLE:
(config)#policy-map type queuing my-policy1
(config-pmap-que)#class type queing 1p7q4t-out-pq1
(config-pmap-c-que)#bandwidth remaining percent 10
Enterprise Engineering Solutions 14
Application CoS Queuing Queue-limit Queue
Best Effort 0 BW remaining 40% 40% 8q2t-in-q-
default/1p7q4t-out-
q-default
Low priority 1 BW remaining 10% 10% 8q2t-in-q7/1p7q4t-
out-q7
vMotion/Live
migration
2 BW remaining 20% 10% 8q2t-in-q6/1p7q4t-
out-q6
Multimedia 4 BW remaining 30% 29% 8q2t-in-q2/1p7q4t-
out-q2
Strict priority 5 - 10% 8q2t-in-q1/1p7q4t-
out-pq1
CoS to Queue mapping – M2 IO Module:
Enterprise Engineering Solutions 15
Continued…
While configuring CoS to Queue mapping, we have the following options
Among these, the M2 module 10G/40G/100G mappings are:
Ingress:
8q2t-in-q-default
8q2t-in-q1
8q2t-in-q2
8q2t-in-q3
8q2t-in-q4
8q2t-in-q5
8q2t-in-q6
8q2t-in-q7
Egress:
1p7q4t-out-pq1
1p7q4t-out-q-default
1p7q4t-out-q2
1p7q4t-out-q3
1p7q4t-out-q4
1p7q4t-out-q5
1p7q4t-out-q6
1p7q4t-out-q7
Enterprise Engineering Solutions 16
Use cases:
I want to limit the maximum bandwidth from any particular VLAN/SVI to say 1Gbps
when there is congestion
Let’s assume the below situation:
VLAN-20 -> CoS value of 5 to 7 -> Most important application VLAN -> Needs maximum bandwidth of 1 gbps
VLAN-10 -> CoS value of 0 -> Data backup application -> Needs to use the 10% of the remaining bandwidth of
the interface.
VLAN-5 -> CoS value of 0 -> Replication application -> Needs to use 10% of the remaining bandwidth of the
interface.
So not let’s see how configuration can be done to achieve this.
Enterprise Engineering Solutions 17
Ingress class-map:
#class-map type queuing match-any 8q2t-in-q1
#match cos 5-7
#class-map type queuing match-any 8q2t-in-q-default
#match cos 0-4
Egress class-map:
#class-map type queuing match-any 1p7q4y-out-pq1
#match cos 5-7
#class-map type queuing match-any 1p7q4t-out-q-default
#match cos 0-4
While configuring the ingress class maps, we have broadly classified the
traffic into two categories:
1- All traffic with CoS values between 5 -7
2- All other traffic with CoS values between 0-4
A similar classification of the egress traffic has been configured in
these four commands as above for ingress traffic.
Enterprise Engineering Solutions 18
Continued…
Ingress policy-map:
#policy-map type queuing my-ingress-policy
#class type queuing 8q2t-in-q1
#bandwidth 1 gbps
#class type queuing 8q2t-in-q-default
#bandwidth remaining percent 10
Egress policy-map:
#policy-map type queuing my-egress-policy
#class type queuing 1p7q4y-out-pq1
#bandwidth 1 gbps
#priority level1
#class type queuing 1p7q4t-out-q-default
#bandwidth remaining percent 10
Now we have defined the previously configured ingress class-
maps for two different traffics classified under the policy map
my-ingress-policy
Now we have defined the previously configured egress class-
maps for two different traffics classified under the policy map
my-egress-policy
Enterprise Engineering Solutions 19
Now it’s time to implement the configured queuing policies on the interface or vlan database:
#interface Ethernet 1/1
#service-policy type queuing input my-ingress-policy
#service-policy type queuing output my-egress-policy
Continued…
Enterprise Engineering Solutions 20
Some important points to remember:
• Class maps are defined separately for QoS and queuing.
• Policy map, similary, are configured separately for QoS and queuing.
• System QoS is configured system wide.
• Service policy is the way to map the policy map on an interface or a vlan database.
• A separate policy map is required for ingress and egress traffic.
• Ingress policy maps will have ingress class maps and egress policy maps would have egress class maps.
• The service policy would not apply on an interface if the auto-negotiation is on.
• There are default class-maps and policy-maps configured and applied on all interfaces by default.
• The N7K assigns traffic to queues based on CoS even if the egress interface does not carry CoS in the frame.
• Interface based QoS takes precedence over VLAN based QoS.
• VLAN based QoS policy is configured in the vlan database, no SVI is required.
Enterprise Engineering Solutions 21
Where can I configure the class and policy maps?
• Class map for queue selection are done in the admin/default VDC and apply to all interfaces across all VDCs.
• Policy map are configured on per VDC and are assigned on a per-port or per-vlan basis.
Enterprise Engineering Solutions 22

More Related Content

What's hot

Tuning Apache/MySQL/PHP para desenvolvedores
Tuning Apache/MySQL/PHP para desenvolvedoresTuning Apache/MySQL/PHP para desenvolvedores
Tuning Apache/MySQL/PHP para desenvolvedoresDouglas V. Pasqua
 
Mecanismo de Busca com Node.js + MongoDB
Mecanismo de Busca com Node.js + MongoDBMecanismo de Busca com Node.js + MongoDB
Mecanismo de Busca com Node.js + MongoDBLuiz Duarte
 
VietTel AntiDDoS Volume Based
VietTel AntiDDoS Volume BasedVietTel AntiDDoS Volume Based
VietTel AntiDDoS Volume BasedPavel Odintsov
 
Docker로 서버 개발 편하게 하기
Docker로 서버 개발 편하게 하기Docker로 서버 개발 편하게 하기
Docker로 서버 개발 편하게 하기Dronix
 
SR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/StableSR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/Stablejuet-y
 
Migration from Procedural to OOP
Migration from Procedural to OOP Migration from Procedural to OOP
Migration from Procedural to OOP GLC Networks
 
EuroBSDcon 2017 System Performance Analysis Methodologies
EuroBSDcon 2017 System Performance Analysis MethodologiesEuroBSDcon 2017 System Performance Analysis Methodologies
EuroBSDcon 2017 System Performance Analysis MethodologiesBrendan Gregg
 
Google Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixGoogle Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixMax Kuzkin
 
進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!
進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!
進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!Will Huang
 
Developing Scylla Applications: Practical Tips
Developing Scylla Applications: Practical TipsDeveloping Scylla Applications: Practical Tips
Developing Scylla Applications: Practical TipsScyllaDB
 
2017 red hat open stack(rhosp) function overview (samuel,2017-0516)
2017 red hat open stack(rhosp) function overview (samuel,2017-0516)2017 red hat open stack(rhosp) function overview (samuel,2017-0516)
2017 red hat open stack(rhosp) function overview (samuel,2017-0516)SAMUEL SJ Cheon
 
Zabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões RegularesZabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões RegularesHenrique Haag Ribacki
 
PSR czyli dobre praktyki programistyczne
PSR czyli dobre praktyki programistycznePSR czyli dobre praktyki programistyczne
PSR czyli dobre praktyki programistycznePHPstokPHPstok
 

What's hot (15)

Tuning Apache/MySQL/PHP para desenvolvedores
Tuning Apache/MySQL/PHP para desenvolvedoresTuning Apache/MySQL/PHP para desenvolvedores
Tuning Apache/MySQL/PHP para desenvolvedores
 
Mecanismo de Busca com Node.js + MongoDB
Mecanismo de Busca com Node.js + MongoDBMecanismo de Busca com Node.js + MongoDB
Mecanismo de Busca com Node.js + MongoDB
 
VietTel AntiDDoS Volume Based
VietTel AntiDDoS Volume BasedVietTel AntiDDoS Volume Based
VietTel AntiDDoS Volume Based
 
Docker로 서버 개발 편하게 하기
Docker로 서버 개발 편하게 하기Docker로 서버 개발 편하게 하기
Docker로 서버 개발 편하게 하기
 
SR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/StableSR-IOV+KVM on Debian/Stable
SR-IOV+KVM on Debian/Stable
 
Migration from Procedural to OOP
Migration from Procedural to OOP Migration from Procedural to OOP
Migration from Procedural to OOP
 
EuroBSDcon 2017 System Performance Analysis Methodologies
EuroBSDcon 2017 System Performance Analysis MethodologiesEuroBSDcon 2017 System Performance Analysis Methodologies
EuroBSDcon 2017 System Performance Analysis Methodologies
 
YARN High Availability
YARN High AvailabilityYARN High Availability
YARN High Availability
 
Google Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with ZabbixGoogle Cloud Platform monitoring with Zabbix
Google Cloud Platform monitoring with Zabbix
 
進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!
進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!
進擊的前端工程師:今天就用 JSON Server 自己打造 API 吧!
 
Developing Scylla Applications: Practical Tips
Developing Scylla Applications: Practical TipsDeveloping Scylla Applications: Practical Tips
Developing Scylla Applications: Practical Tips
 
DS LAB MANUAL.pdf
DS LAB MANUAL.pdfDS LAB MANUAL.pdf
DS LAB MANUAL.pdf
 
2017 red hat open stack(rhosp) function overview (samuel,2017-0516)
2017 red hat open stack(rhosp) function overview (samuel,2017-0516)2017 red hat open stack(rhosp) function overview (samuel,2017-0516)
2017 red hat open stack(rhosp) function overview (samuel,2017-0516)
 
Zabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões RegularesZabbix e o Mistério das Expressões Regulares
Zabbix e o Mistério das Expressões Regulares
 
PSR czyli dobre praktyki programistyczne
PSR czyli dobre praktyki programistycznePSR czyli dobre praktyki programistyczne
PSR czyli dobre praktyki programistyczne
 

Similar to Quality of-service configuration on cisco nexus

Performance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming ModelPerformance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming ModelKoichi Shirahata
 
Introduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, IntelIntroduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, IntelMyNOG
 
“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...
“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...
“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...Edge AI and Vision Alliance
 
Output drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchesOutput drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchescandy tang
 
Week11 qo s-2017(1)
Week11 qo s-2017(1)Week11 qo s-2017(1)
Week11 qo s-2017(1)trayyoo
 
Squire Technologies: Signal Transfer Point
Squire Technologies: Signal Transfer PointSquire Technologies: Signal Transfer Point
Squire Technologies: Signal Transfer PointSquire Technologies
 
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...Mumbai B.Sc.IT Study
 
PCI Express Verification using Reference Modeling
PCI Express Verification using Reference ModelingPCI Express Verification using Reference Modeling
PCI Express Verification using Reference ModelingDVClub
 
Multiple Downlink Fair Packet Scheduling Scheme in Wi-Max
Multiple Downlink Fair Packet Scheduling Scheme in Wi-MaxMultiple Downlink Fair Packet Scheduling Scheme in Wi-Max
Multiple Downlink Fair Packet Scheduling Scheme in Wi-MaxEditor IJCATR
 
BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...
BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...
BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...Big Data Value Association
 
FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...
FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...
FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...Vince Garr
 
Grid Computing Certification
Grid Computing CertificationGrid Computing Certification
Grid Computing CertificationVskills
 
Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...eSAT Journals
 
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...IRJET Journal
 
Combitronic: Multi-axis Control with Animatics SmartMotors
Combitronic: Multi-axis Control with Animatics SmartMotorsCombitronic: Multi-axis Control with Animatics SmartMotors
Combitronic: Multi-axis Control with Animatics SmartMotorsDesign World
 
14-Bill-Tiffany-SigmaSense-VF2023.pdf
14-Bill-Tiffany-SigmaSense-VF2023.pdf14-Bill-Tiffany-SigmaSense-VF2023.pdf
14-Bill-Tiffany-SigmaSense-VF2023.pdfSamHoney6
 
QoS In The Enterprise
QoS In The EnterpriseQoS In The Enterprise
QoS In The EnterprisePrivate
 
Model-driven Network Management
Model-driven Network ManagementModel-driven Network Management
Model-driven Network ManagementAnees Shaikh
 

Similar to Quality of-service configuration on cisco nexus (20)

Performance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming ModelPerformance Analysis of Lattice QCD with APGAS Programming Model
Performance Analysis of Lattice QCD with APGAS Programming Model
 
Introduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, IntelIntroduction to Programmable Networks by Clarence Anslem, Intel
Introduction to Programmable Networks by Clarence Anslem, Intel
 
“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...
“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...
“Efficiently Map AI and Vision Applications onto Multi-core AI Processors Usi...
 
Output drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switchesOutput drops due to qo s on cisco 2960 3560 3750 switches
Output drops due to qo s on cisco 2960 3560 3750 switches
 
Week11 qo s-2017(1)
Week11 qo s-2017(1)Week11 qo s-2017(1)
Week11 qo s-2017(1)
 
Squire Technologies: Signal Transfer Point
Squire Technologies: Signal Transfer PointSquire Technologies: Signal Transfer Point
Squire Technologies: Signal Transfer Point
 
Quality of service
Quality of serviceQuality of service
Quality of service
 
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
Internet Technology (Practical Questions Paper) [CBSGS - 75:25 Pattern] {2017...
 
PCI Express Verification using Reference Modeling
PCI Express Verification using Reference ModelingPCI Express Verification using Reference Modeling
PCI Express Verification using Reference Modeling
 
Multiple Downlink Fair Packet Scheduling Scheme in Wi-Max
Multiple Downlink Fair Packet Scheduling Scheme in Wi-MaxMultiple Downlink Fair Packet Scheduling Scheme in Wi-Max
Multiple Downlink Fair Packet Scheduling Scheme in Wi-Max
 
Brkdct 3101
Brkdct 3101Brkdct 3101
Brkdct 3101
 
BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...
BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...
BDVe Webinar Series - Toreador Intro - Designing Big Data pipelines (Paolo Ce...
 
FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...
FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...
FFM_–_Technical_Brief_–_Network_Solutions_for_Intelligence_Surveillance_and_R...
 
Grid Computing Certification
Grid Computing CertificationGrid Computing Certification
Grid Computing Certification
 
Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...Performance analysis and implementation of modified sdm based noc for mpsoc o...
Performance analysis and implementation of modified sdm based noc for mpsoc o...
 
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...
Optimizing Data Encoding Technique For Dynamic Power Reduction In Network On ...
 
Combitronic: Multi-axis Control with Animatics SmartMotors
Combitronic: Multi-axis Control with Animatics SmartMotorsCombitronic: Multi-axis Control with Animatics SmartMotors
Combitronic: Multi-axis Control with Animatics SmartMotors
 
14-Bill-Tiffany-SigmaSense-VF2023.pdf
14-Bill-Tiffany-SigmaSense-VF2023.pdf14-Bill-Tiffany-SigmaSense-VF2023.pdf
14-Bill-Tiffany-SigmaSense-VF2023.pdf
 
QoS In The Enterprise
QoS In The EnterpriseQoS In The Enterprise
QoS In The Enterprise
 
Model-driven Network Management
Model-driven Network ManagementModel-driven Network Management
Model-driven Network Management
 

Recently uploaded

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 

Recently uploaded (20)

Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 

Quality of-service configuration on cisco nexus

  • 1. Quality-of-Service configuration on Cisco Nexus Enterprise Engineering Solutions 1
  • 2. Supported QoS Policies • QoS: This defines the Modular QoS command line interface, MQC objects used for marking and policing. • Network-QoS: This is required on F-Series modules only. • Queuing: This defines MQC objects used for queuing and scheduling of the marking objects. • Control Plane: Defines MQC objects used for Control plane policing (CoPP) Enterprise Engineering Solutions 2
  • 3. Nexus 7000 M1/M2 fabric CoS Mappings Fabric queue factor CoS values PQ1 (priority queuing 1) 5-7 Q2 (Queuing 2) 3-4 Q3 2 Q4 0-1 - PQ1 is scheduled on a strict-priority basis. - Q2-Q4 are scheduled with round-robin fashion and are assigned equal weights. Enterprise Engineering Solutions 3
  • 4. M2 QoS Design Steps The three primary QoS requirements of a data center core switch are to: • Trust CoS and DSCP on ingress • Queue on ingress. • Queue on egress. Because the default behavior of the Nexus7K is tor trust CoS and DSCP on ingress, there are effectively only two steps to configure QoS on a Nexus 7000 with M2-Series module in a data center switch: 1. Configure ingress queuing. 2. Configure egress queuing. Each Nexus 7K M2-series module supports an 8Q2T ingress queuing structure and a 1P7Q4T egress queuing structure. The pre-configured Queuing class map names for ingress and egress model are shared on the next slide. Enterprise Engineering Solutions 4
  • 5. 8Q2T Ingress Model 1P7Q4T Egress Model Enterprise Engineering Solutions 5
  • 6. M2 four-class Queuing Model • In the four-class model, the application class to queue mappings are as follows: 1. Real-time traffic: Mapped to CoS value 5. This is allocated 25% of the bandwidth in the ingress 4Q2T model. 2. Signaling traffic: Mapped with default CoS of 3. This is assigned to a dedicated non-priority queue with a 25% bandwidth allocation in the ingress 4Q2T model and a 35% bandwidth in egress 1P3Q4T model. 3. Transactional data traffic: Mapped with CoS 2 with same ingress and egress bandwidth model as above. 4. Best effort traffic: This is mapped with a default CoS value of 0. This is assigned to the default queue with a 25% bandwidth allocation in ingress 4Q2T model and a 30% bandwidth-remaining allocation in the egress 1P3Q4T model. Enterprise Engineering Solutions 6
  • 7. Nexus 7k M2 Four-Class Queuing Example N7K(config-cmap-que)#class-map type queuing match-any 8q2t-in-q1 N7K(config-cmap-que)#match cos 5-7 N7K(config-cmap-que)#class-map type queuing match-any 8q2t-in-q2 N7K(config-cmap-que)#match cos 3 N7K(config-cmap-que)#class-map type queuing match-any 8q2t-in-q3 N7K(config-cmap-que)#match cos 2 N7K(config-cmap-que)#class-map type queuing match-any 1p7q4t-out-pq1 N7K(config-cmap-que)#match cos 5-7 N7K(config-cmap-que)#class-map type queuing match-any 1p7q4t-out-q2 N7K(config-cmap-que)#match cos 3 N7K(config-cmap-que)#class-map type queuing match-any 1p7q4t-out-q3 N7K(config-cmap-que)#match cos 2 Real-time traffic is mapped to ingress Q1. Signaling is mapped to ingress Q2. Transactional data is mapped to ingress Q3 Real-time traffic is mapped to egress Q1. Signaling is mapped to egress Q2. Transactional data is mapped to egress Q3 So this configures our ingress and egress queuing class maps. Enterprise Engineering Solutions 7
  • 8. N7K(config-cmap-que)#policy-map type queuing 4Q2T-Ingress N7K(config-cmap-que)#class type queuing 8q2t-in-q1 N7K(config-cmap-que)#bandwidth percent 25 N7K(config-cmap-que)#class type queuing 8q2t-in-q2 N7K(config-cmap-que)#bandwidth percent 25 N7K(config-cmap-que)#class type queuing 8q2t-in-q3 N7K(config-cmap-que)#bandwidth 25 N7K(config-cmap-que)#policy-map type queuing 1P3Q4T-EGRESS N7K(config-cmap-que)#class type queuing 1p7q4t-out-pq1 N7K(config-cmap-que)#priority N7K(config-cmap-que)#class type queuing 1p7q4t-out-q2 N7K(config-cmap-que)#bandwidth remaining percent 35 N7K(config-cmap-que)#class type queuing 1p7q4t-out-q3 N7K(config-cmap-que)#bandwidth remaining percent 30 Now after creating all the egress class-maps, we have Brought all of them inside a policy-map type queuing with name 4Q2T-Ingress for egress traffic. Under every class map we have allotted a particular bandwidth to Utilized. Now after creating all the ingress class-maps, we have Brought all of them inside a policy-map type queuing with name 4Q2T-Ingress for ingress traffic. Under every class map we have allotted a particular bandwidth to Utilized. So till now, our policy maps along with their respective class maps are ready to be used on the interfaces. Enterprise Engineering Solutions 8
  • 9. Applying queuing policies on the interfaces. N7K(config)#interface Ethernet 1/1 N7K(config)#service-policy type queuing input 4Q2T-Ingress N7K(config)#service-policy type queuing output 1P3Q4T-EGRESS When we are applying the policy map on an interface, we use the “service-policy” command with same name as for the policy- maps to include their ingress/egress rules on the configured interface. Enterprise Engineering Solutions 9
  • 10. Configuration verification: Using the below commands, we can verify the QoS configuration on the desired interfaces: 1. Show class-map type queuing 2. Show policy-map type queuing 3. Show policy-map interface Enterprise Engineering Solutions 10
  • 11. Bandwidth allocation: To allocate a minimum percentage of the interface’s bandwidth to a queue and configure the bandwidth on both ingress and egress queues, we use the bandwidth command. We can use the system-defined ingress or egress queue class for the type of module to which we want to apply the policy map. 1Gig Module CoS class map names Enterprise Engineering Solutions 11
  • 12. 10Gig Module Ingress/Egress CoS class maps Enterprise Engineering Solutions 12
  • 13. Bandwidth configuration example: Switch(config):policy-map type queuing my-policy Switch(config-pmap-que)#class type queuing 1p7q4t-out-pq1 Switch(config-pmap-c-que)#bandwidth 1 gbps Switch(config-pmap-c-que)#exit Switch(config-pmap-que)#class type queuing 8q2t-in-q1 Switch(config-pmap-c-que)#bandwidth 1 gbps Enterprise Engineering Solutions 13
  • 14. Bandwidth remaining: To configure the percentage of the bandwidth remaining on the interface after other allocations are configured on both the ingress and egress queues, we use the bandwidth remaining command. For this again, we can use the system-defined ingress or egress class map of the type of module being used to apply the policy map to. EXAMPLE: (config)#policy-map type queuing my-policy1 (config-pmap-que)#class type queing 1p7q4t-out-pq1 (config-pmap-c-que)#bandwidth remaining percent 10 Enterprise Engineering Solutions 14
  • 15. Application CoS Queuing Queue-limit Queue Best Effort 0 BW remaining 40% 40% 8q2t-in-q- default/1p7q4t-out- q-default Low priority 1 BW remaining 10% 10% 8q2t-in-q7/1p7q4t- out-q7 vMotion/Live migration 2 BW remaining 20% 10% 8q2t-in-q6/1p7q4t- out-q6 Multimedia 4 BW remaining 30% 29% 8q2t-in-q2/1p7q4t- out-q2 Strict priority 5 - 10% 8q2t-in-q1/1p7q4t- out-pq1 CoS to Queue mapping – M2 IO Module: Enterprise Engineering Solutions 15
  • 16. Continued… While configuring CoS to Queue mapping, we have the following options Among these, the M2 module 10G/40G/100G mappings are: Ingress: 8q2t-in-q-default 8q2t-in-q1 8q2t-in-q2 8q2t-in-q3 8q2t-in-q4 8q2t-in-q5 8q2t-in-q6 8q2t-in-q7 Egress: 1p7q4t-out-pq1 1p7q4t-out-q-default 1p7q4t-out-q2 1p7q4t-out-q3 1p7q4t-out-q4 1p7q4t-out-q5 1p7q4t-out-q6 1p7q4t-out-q7 Enterprise Engineering Solutions 16
  • 17. Use cases: I want to limit the maximum bandwidth from any particular VLAN/SVI to say 1Gbps when there is congestion Let’s assume the below situation: VLAN-20 -> CoS value of 5 to 7 -> Most important application VLAN -> Needs maximum bandwidth of 1 gbps VLAN-10 -> CoS value of 0 -> Data backup application -> Needs to use the 10% of the remaining bandwidth of the interface. VLAN-5 -> CoS value of 0 -> Replication application -> Needs to use 10% of the remaining bandwidth of the interface. So not let’s see how configuration can be done to achieve this. Enterprise Engineering Solutions 17
  • 18. Ingress class-map: #class-map type queuing match-any 8q2t-in-q1 #match cos 5-7 #class-map type queuing match-any 8q2t-in-q-default #match cos 0-4 Egress class-map: #class-map type queuing match-any 1p7q4y-out-pq1 #match cos 5-7 #class-map type queuing match-any 1p7q4t-out-q-default #match cos 0-4 While configuring the ingress class maps, we have broadly classified the traffic into two categories: 1- All traffic with CoS values between 5 -7 2- All other traffic with CoS values between 0-4 A similar classification of the egress traffic has been configured in these four commands as above for ingress traffic. Enterprise Engineering Solutions 18
  • 19. Continued… Ingress policy-map: #policy-map type queuing my-ingress-policy #class type queuing 8q2t-in-q1 #bandwidth 1 gbps #class type queuing 8q2t-in-q-default #bandwidth remaining percent 10 Egress policy-map: #policy-map type queuing my-egress-policy #class type queuing 1p7q4y-out-pq1 #bandwidth 1 gbps #priority level1 #class type queuing 1p7q4t-out-q-default #bandwidth remaining percent 10 Now we have defined the previously configured ingress class- maps for two different traffics classified under the policy map my-ingress-policy Now we have defined the previously configured egress class- maps for two different traffics classified under the policy map my-egress-policy Enterprise Engineering Solutions 19
  • 20. Now it’s time to implement the configured queuing policies on the interface or vlan database: #interface Ethernet 1/1 #service-policy type queuing input my-ingress-policy #service-policy type queuing output my-egress-policy Continued… Enterprise Engineering Solutions 20
  • 21. Some important points to remember: • Class maps are defined separately for QoS and queuing. • Policy map, similary, are configured separately for QoS and queuing. • System QoS is configured system wide. • Service policy is the way to map the policy map on an interface or a vlan database. • A separate policy map is required for ingress and egress traffic. • Ingress policy maps will have ingress class maps and egress policy maps would have egress class maps. • The service policy would not apply on an interface if the auto-negotiation is on. • There are default class-maps and policy-maps configured and applied on all interfaces by default. • The N7K assigns traffic to queues based on CoS even if the egress interface does not carry CoS in the frame. • Interface based QoS takes precedence over VLAN based QoS. • VLAN based QoS policy is configured in the vlan database, no SVI is required. Enterprise Engineering Solutions 21
  • 22. Where can I configure the class and policy maps? • Class map for queue selection are done in the admin/default VDC and apply to all interfaces across all VDCs. • Policy map are configured on per VDC and are assigned on a per-port or per-vlan basis. Enterprise Engineering Solutions 22