Cisco Cisco Nexus 5010 Switch Guida Alla Progettazione

Pagina di 119
 
 
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 33 of 119 
If you need to restore the default MTU, just restore the default QoS policy (cut and paste the following): 
system qos 
  service-policy type qos input default-in-policy 
  service-policy type network-qos default-nq-policy 
  service-policy type queuing output default-out-policy 
  service-policy type queuing input default-in-policy 
 
Note:   When using vPC, make sure to configure jumbo frames on both Cisco Nexus 5000 Series Switches to 
avoid global inconsistencies. 
Per-Interface Jumbo Frames Configuration on Fabric Extender Interfaces 
At the time of this writing, fabric extenders do not have software support to program the hardware to perform ACL-
based classification on the fabric extender itself (ACL classification is performed after the traffic reaches the Cisco 
Nexus 5000 Series Switch). 
Because of this lack of support, you need to use a CoS-based configuration to apply a jumbo frame configuration 
to specific interfaces on the fabric extender. 
For instance, if you specify that QoS group 5 uses a jumbo MTU, you may want to use a particular CoS (for 
simplicity, this chapter uses CoS 5) that is mapped to that QoS group. 
To implement this configuration, you need to do the following: 
● 
Define untagged cos 5 under the fabric extender interface configuration to make sure that a given fabric 
extender interface is mapped to the particular QoS group that enables jumbo frames. 
● 
Globally configure a policy map of type qos to match CoS 5 and assign it to QoS group 5. 
● 
Apply the policy map type qos globally (you cannot apply it under the fabric extender interface). 
● 
Make sure that the network QoS policy that matches the QoS group (for instance, qos-group 5) is also 
applied systemwide. 
An example of this configuration is shown here: 
class-map type qos match-all jumbo-per-port 
  match cos 5 
policy-map type qos jumbo-per-port 
  class jumbo-per-port 
    set qos-group 5 
class-map type network-qos cos-to-jumbo 
  match qos-group 5 
policy-map type network-qos mp-nq-jumbo-per-port 
  class type network-qos cos-to-jumbo 
    mtu 9000 
  class type network-qos class-default 
    multicast-optimize 
system qos 
  service-policy type queuing input fcoe-default-in-policy 
  service-policy type queuing output fcoe-default-out-policy