Руководство По Проектированию для Cisco Cisco Nexus 5010 Switch

Скачать
Страница из 119
 
 
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 107 of 119 
class-map type queuing queueCriticalData 
  match qos-group 3 
class-map type queuing queueScavenger 
  match qos-group 4 
class-map type queuing queueVoice 
  match qos-group 5 
 
policy-map type queuing globalqueuingpolicy  
  class type queuing  queueCriticalData 
    bandwidth percent 6 
  class type queuing queueScavenger 
    bandwidth percent 1 
  class type queuing queueVoice 
    bandwidth percent 20 
  class type queuing class-default 
    bandwidth percent 10 
Note:   Do not forget to change the default bandwidth allocation for class-default, which is set to 100 percent. 
Finally, apply the queuing policy globally. The policy applied in the ingress direction prioritizes traffic from the 
fabric extender toward the Cisco Nexus 5000 Series Switch. 
system qos 
  service-policy type queuing output globalqueuingpolicy 
  service-policy type queuing input globalqueuingpolicy 
Sample Configurations 
The following configurations illustrate how to configure the Cisco Nexus 5000 Series for vPC with a fabric extender 
straight-through topology, with MST as the Spanning Tree Protocol, with the multicast optimize feature, and with a 
generic QoS policy based on four traffic classes (CriticalDataScavengerVoice, and class-default) that needs 
to be customized. 
Cisco Nexus 5500 Platform Switch 1 
! if you plan to use FCoE uncomment 
! feature fcoe 
feature interface-vlan 
feature lacp 
feature vpc 
feature lldp 
feature fex 
hostname nexus5500-1 
service unsupported-transceiver 
! QoS Configuration == Start ===