Белая книга для Cisco Cisco Nexus 2224TP GE Fabric Extender

Скачать
Страница из 70
 
 
© 2014 Cisco | IBM. All rights reserved. 
Page 28 
1.  Define a class map of QoS policies on the first switch to identify the iSCSI traffic (here, iSCSI traffic is 
matched to class-of-service [CoS] 5): 
N5548-Bottom(config)# class-map type qos match-all iSCSI-C1 
N5548-Bottom(config-cmap-qos)# match protocol iscsi 
N5548-Bottom(config-cmap-qos)# match cos 5  
 
2.  Configure the type of QoS policies used to classify the traffic of a specific system class (here, the 
QoS-group value 2 is used):  
 
N5548-Bottom(config)# policy-map type qos iSCSI-C1 
N5548-Bottom(config-pmap-qos) class iSCSI-C1 
N5548-Bottom(config-pmap-c-qos)# set qos-group 2 
N5548-Bottom(config-pmap-c-qos)# exit 
N5548-Bottom(config-pmap-c-qos)# class class-default 
 
3.  Configure the no-drop policy maps: 
 
N5548-Bottom(config)# class-map type network-qos iSCSI-C1 
N5548-Bottom(config-cmap-nq)# match qos-group 2 
N5548-Bottom(config-cmap-nq)# exit 
N5548-Bottom(config)# policy-map type network-qos iSCSI-C1 
N5548-Bottom(config-pmap-nq)# class type network-qos iSCSI-C1 
N5548-Bottom(config-pmap-nq-c)# pause no-drop 
N5548-Bottom(config-pmap-nq-c)# class type network-qos class-default 
N5548-Bottom(config-pmap-nq-c)# mtu 9216 
 
4.  Apply the system service policies: 
 
N5548-Bottom(config-sys-qos)# service-policy type qos input iSCSI-C1 
N5548-Bottom(config-sys-qos)# service-policy type network-qos iSCSI-C1 
 
5.  Identify the iSCSI traffic on the other Cisco Nexus switch using the same process as for the first 
switch by defining a class map for each class of traffic to be used in the QoS policies:  
N5548-Top(config)# class-map type qos match-all iSCSI-C1 
N5548-Top(config-cmap-qos)# match protocol iscsi 
N5548-Top(config-cmap-qos)# match cos 5  
 
6.  Configure the QoS policy type: 
 
N5548-Top(config)# policy-map type qos iSCSI-C1 
N5548-Top(config-pmap-qos) class iSCSI-C1 
N5548-Top(config-pmap-c-qos)# set qos-group 2 
N5548-Top(config-pmap-c-qos)# exit 
N5548-Top(config-pmap-c-qos)# class class-default