background image

Procedure

Purpose

Command or Action

Enters global configuration mode.

switch#

configure terminal

Step 1

Creates or accesses the policy map named

policy-map-name

and enters policy-map mode.

switch(config) #

policy-map

[

type

network-qos

]

policy-map name

Step 2

The policy-map name can contain alphabetic, hyphen, or
underscore characters, is case sensitive, and can be up to
40 characters.

Creates a reference to the

class-map-name

and enters

policy-map class configuration mode.

switch(config-pmap-nq) #

class

[

type

network-qos

] {

class-map name

|

class-default

}

Step 3

Use the

class-default

keyword to select all traffic that is

not currently matched by classes in the policy map.

Specifies the CoS value to cos-value.

switch(config-pmap-c-nq) #

set cos

cos-value

Step 4

The

cos-value

can range from 0 to 7.

This command is supported only for egress
policies.

Note

Required CoS Marking Configuration in a Layer 3 Topology

In Layer 3 topologies, you must configure each QoS group in the network-qos policy with a unique cos value.

Procedure

Purpose

Command or Action

Displays the already configured policy maps and CoS values.

switch#

show policy-map system

Step 1

In Layer 3 topologies, each qosgroup must have a unique CoS
value. Use the

show policy-map system

command to view

CoS values that have been used and that are unavailable for
QoS groups.

Enters global configuration mode.

switch#

configure terminal

Step 2

Creates or accesses the policy map named

policy-map-name

and enters policy-map mode.

switch(config) #

policy-map

[

type network-qos

]

policy-map

name

Step 3

The policy-map name can contain alphabetic, hyphen, or
underscore characters, is case sensitive, and can be up to 40
characters.

Creates a reference to the class-map-name and enters
policy-map class configuration mode.

switch(config-pmap-nq) #

class

[

type network-qos

] {

class-map

name

|

class-default

}

Step 4

Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)    

   OL-26657-01

31

Configuring Marking

Required CoS Marking Configuration in a Layer 3 Topology

Содержание Nexus 5000 NX-OS

Страница 1: ...lease 5 1 3 N2 1 First Published March 13 2012 Last Modified February 12 2013 Americas Headquarters Cisco Systems Inc 170 West Tasman Drive San Jose CA 95134 1706 USA http www cisco com Tel 408 526 4000 800 553 NETS 6387 Fax 408 527 0883 Text Part Number OL 26657 01 ...

Страница 2: ...MPLIED INCLUDING WITHOUT LIMITATION THOSE OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING USAGE OR TRADE PRACTICE IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT SPECIAL CONSEQUENTIAL OR INCIDENTAL DAMAGES INCLUDING WITHOUT LIMITATION LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THI...

Страница 3: ...CPU 5 C H A P T E R 3 Configuring Classification 7 Information About Classification 7 Ingress Classification Policies 8 Licensing Requirements for Classification 8 Configuring Classification 8 Configuring Class Maps 8 Configuring CoS Classification 9 Configuring Precedence Classification 10 Configuring DSCP Classification 12 Configuring Protocol Classification 13 Configuring IP RTP Classification ...

Страница 4: ...iguration in a Layer 3 Topology 31 Verifying the Marking Configuration 32 C H A P T E R 6 Configuring QoS on the System 35 Information About System Classes 35 System Classes 35 Default System Classes 35 MTU 36 Configuring System QoS 37 Attaching the System Service Policy 37 Restoring the Default System Service Policies 38 Configuring the Queue Limit for a Specified Fabric Extender 39 Enabling the ...

Страница 5: ...r VLAN QoS 52 Guidelines and Limitations for VLAN QoS 52 Configuring VLAN QoS 53 Configuring or Changing the Interface QoS TCAM Limit 53 Removing the Interface QoS Limit from the TCAM 54 Configuring a Service Policy on a VLAN 54 Removing a Service Policy from a VLAN 55 Verifying the VLAN QoS Configuration 56 Feature History for VLAN QoS 56 C H A P T E R 9 Configuring Queuing and Flow Control 57 In...

Страница 6: ...iguring Flow Control 65 Link Level Flow Control 65 Configuring Priority Flow Control 65 Configuring Link Level Flow Control 66 Disabling Slow Port Pruning on Multicast Traffic on the Cisco Nexus 5500 Series Device 66 Verifying the Queue and Flow Control Configurations 67 C H A P T E R 1 0 QoS Configuration Examples 69 QoS Example 1 69 QoS Example 2 70 QoS Example 3 72 Cisco Nexus 5000 NX OS Qualit...

Страница 7: ...ns use the following conventions Description Convention Bold text indicates the commands and keywords that you enter literally as shown bold Italic text indicates arguments for which the user supplies the values Italic Square brackets enclose an optional element keyword or argument x Square brackets enclosing keywords or arguments separated by a vertical bar indicate an optional choice x y Braces ...

Страница 8: ...ents for which you supply values are in italic screen font italic screen font Nonprinting characters such as passwords are in angle brackets Default responses to system prompts are in square brackets An exclamation point or a pound sign at the beginning of a line of code indicates a comment line This document uses the following conventions Means reader take note Notes contain helpful suggestions o...

Страница 9: ...ww cisco com c en us td docs general whatsnew whatsnew html Subscribe to What s New in Cisco Product Documentation which lists all new and revised Cisco technical documentation as an RSS feed and delivers content directly to your desktop using a reader application The RSS feeds are a free service Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 OL 26657 01 ix Prefac...

Страница 10: ...Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 x OL 26657 01 Preface Obtaining Documentation and Submitting a Service Request ...

Страница 11: ...des an overview of the significant changes to this guide for this current release The table does not provide an exhaustive list of all changes made to the configuration guide or of the new features in this release Where Documented Description Feature Configuring QoS on VLANs on page 49 Support for QoS VLANs VLAN QoS Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 O...

Страница 12: ...Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 2 OL 26657 01 New and Changed Information New and Changed Information for this Release ...

Страница 13: ... packets The higher level protocols detect the missing data and retransmit the dropped packets Fibre Channel requires a reliable transport system that guarantees the delivery of every packet To properly support FCoE Ethernet has been enhanced with a priority flow control PFC mechanism to prevent congestion The FCoE QoS must be configured either if native FC or FCoE or FC and FCoE are in use The FC...

Страница 14: ... or dropping packets You define the following class map and policy map object types when you create them network qos Defines MQC objects that you can use for system level related actions qos Defines MQC objects that you can use for classification queuing Defines MQC objects that you can use for queuing and scheduling The qos type is the default for the class map and policy map commands but not for...

Страница 15: ...d to the CPU to ensure that the CPU is not flooded with packets Control traffic such as bridge protocol data units BPDU frames is given higher priority to ensure delivery Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 OL 26657 01 5 Overview QoS for Traffic Directed to the CPU ...

Страница 16: ...Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 6 OL 26657 01 Overview QoS for Traffic Directed to the CPU ...

Страница 17: ...c such as policing or marking down or other actions You can create class maps to represent each traffic class by matching packet characteristics with classification criteria Table 1 Classification Criteria Description Classification Criteria Criteria specified in a named class map object Class map Precedence value within the Type of Service ToS byte of the IP Header Precedence DSCP value within th...

Страница 18: ...ssigned to a default class of traffic called class default Licensing Requirements for Classification This feature does not require a license Any feature not included in a license package is bundled with the Cisco NX OS system images and is provided at no extra charge to you For a complete explanation of the Cisco NX OS licensing scheme see the Cisco NX OS Licensing Guide Configuring Classification...

Страница 19: ...map for example if both the defined CoS and the ACL criteria match match any Classifies traffic if packets match any criteria that is defined for a specified class map for example if either the CoS or the ACL criteria matches Class map names can contain alphabetic hyphen or underscore characters are case sensitive and can be up to 40 characters Optional Deletes the specified class map switch confi...

Страница 20: ...in the range of 0 to 7 switch config cmap qos match cos cos value Step 3 When a Cisco Nexus 2148T Fabric Extender is connected and in use data traffic should never be marked with a CoS value of 7 CoS 7 is reserved for control traffic transiting the Fabric Extender Note Optional Removes the match from the traffic class switch config cmap qos no match cos cos value Step 4 This example shows how to c...

Страница 21: ...ased on precedence values For a list of precedence values see the Precedence Values table switch config cmap qos match precedence precedence values Step 3 Optional Removes the match from the traffic class For a list of precedence values see the Precedence Values table switch config cmap qos no match precedence precedence values Step 4 This example shows how to classify traffic by matching packets ...

Страница 22: ...value 22 af23 AF31 dscp 011010 decimal value 26 af31 AF32 dscp 011100 decimal value 28 af32 AF33 dscp 011110 decimal value 30 af33 AF41 dscp 100010 decimal value 34 af41 AF42 dscp 100100 decimal value 36 af42 AF43 dscp 100110 decimal value 38 af43 CS1 precedence 1 dscp 001000 decimal value 8 cs1 CS2 precedence 2 dscp 010000 decimal value 16 cs2 CS3 precedence 3 dscp 011000 decimal value 24 cs3 CS4...

Страница 23: ...cmap qos match dscp dscp list Step 3 Optional Removes the match from the traffic class For a list of DSCP values see the Standard DSCP Values table switch config cmap qos no match dscp dscp list Step 4 This example shows how to classify traffic by matching packets based on the DSCP value in the DiffServ field of the IP header switch configure terminal switch config class map type qos match any cla...

Страница 24: ...ocol arp clns_es clns_is dhcp ldp netbios Step 3 Optional Removes the match from the traffic class switch config cmap qos no match protocol arp clns_es clns_is dhcp ldp netbios Step 4 This example shows how to classify traffic by matching packets based on the protocol field switch configure terminal switch config class map type qos class_protocol switch config cmap qos match protocol arp Use the s...

Страница 25: ...ow to classify traffic by matching packets based on UDP port ranges that are typically used by RTP applications switch configure terminal switch config class map type qos match any class_rtp switch config cmap qos match ip rtp 2000 2100 4000 4100 Use the show class map command to display the RTP class map configuration switch show class map class_rtp Configuring ACL Classification You can classify...

Страница 26: ...p type qos class_acl switch config cmap qos match access group name acl 01 Use the show class map command to display the ACL class map configuration switch show class map class_acl Verifying the Classification Configuration Use one of the following commands to verify the configuration Purpose Command Displays the class maps defined on the switch show class map Displays the policy maps defined on t...

Страница 27: ... type qos policy maps command and applying at least one FCoE QoS policy under system QoS The following QoS parameters can be specified for each type of class Type network qos A network qos policy is used to instantiate system classes and associate parameters with those classes that are of system wide scope Classification The traffic that matches this class are as follows QoS Group A class map of t...

Страница 28: ...ith system classes Some configuration parameters when applied to an EtherChannel are not reflected on the configuration of the member ports Note Classification The traffic that matches this class are as follows QoS Group A class map of type queuing identifies a system class and is matched by its associated QoS group Policy The actions that are performed on the matching traffic are as follows These...

Страница 29: ...t are performed on the matching traffic are as follows This policy can be attached to the system or to any interface It applies to input traffic only Note QoS Group Sets the QoS group that corresponds to the system class this traffic flow is mapped to Configuring Policy Maps Creating Policy Maps The policy map command is used to create a named object that represents a set of policies that are to b...

Страница 30: ...s Policy map names can switch config policy map type network qos qos queuing policy name Step 2 contain alphabetic hyphen or underscore characters are case sensitive and can be up to 40 characters The three policy map configuration modes are as follows network qos Network wide global mode CLI prompt switch config pmap nq qos Classification mode this is the default mode CLI prompt switch config pma...

Страница 31: ...onfig policy map type qos policy name Step 2 can contain alphabetic hyphen or underscore characters are case sensitive and can be up to 40 characters Associates a class map with the policy map and enters configuration mode for the specified system class switch config pmap qos class class default type qos class name Step 3 The associated class map must be the same type as the policy map type Note C...

Страница 32: ...witch config pmap c nq no mtu Step 5 Configures a no drop class switch config pmap c nq pause no drop Step 6 Enables multicast optimization Multicast traffic in this class will be served by all available multicast queues switch config pmap c nq multicast optimize Step 7 Only one class in a policy map can be configured for multicast optimization Note For the Cisco Nexus device multicast optimizatio...

Страница 33: ...ce The value range is from 0 to 7 switch config pmap c nq set cos cos value Step 13 Optional Disables the marking operation in this class switch config pmap c nq no set cos cos value Step 14 This example shows how to define a type network qos policy map switch configure terminal switch config policy map type network qos policy que1 switch config pmap nq class type network qos class que1 switch con...

Страница 34: ...ssfully allocate bandwidth to the class you must first reduce the default bandwidth configuration on class default and class fcoe Note Optional Removes the bandwidth specification from this class switch config pmap c que no bandwidth percent percentage Step 7 Verifying the Policy Map Configuration Purpose Command Displays the policy maps defined on the switch Optionally you can display the named p...

Страница 35: ...formation about the startup configuration for QoS startup config ipqos Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 OL 26657 01 25 Configuring Policy Maps Verifying the Policy Map Configuration ...

Страница 36: ...Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 26 OL 26657 01 Configuring Policy Maps Verifying the Policy Map Configuration ...

Страница 37: ...e marking features that you can configure are listed below DSCP IP precedence CoS Configuring Marking Configuring DSCP Marking For Cisco Nexus devices you can set the DSCP value in the six most significant bits of the DiffServ field of the IP header to a specified value You can enter numeric values from 0 to 63 in addition to the standard DSCP values shown in the table below You can set DSCP or IP...

Страница 38: ...mal value 34 af41 AF42 dscp 100100 decimal value 36 af42 AF43 dscp 100110 decimal value 38 af43 CS1 precedence 1 dscp 001000 decimal value 8 cs1 CS2 precedence 2 dscp 010000 decimal value 16 cs2 CS3 precedence 3 dscp 011000 decimal value 24 cs3 CS4 precedence 4 dscp 100000 decimal value 32 cs4 CS5 precedence 5 dscp 101000 decimal value 40 cs5 CS6 precedence 6 dscp 110000 decimal value 48 cs6 CS7 p...

Страница 39: ... 4 Specifies the qos group The group value can be from 1 to 5 set qos group y Step 5 Traffic in the class default system class qos group 0 cannot be marked with DSCP Note This example shows how to set the DSCP value to 10 and specify the qos group to 2 policy map type qos test bulkdata class type qos bulkdata set dscp 10 set qos group 2 Configuring IP Precedence Marking You can set the value of th...

Страница 40: ...Creates a reference to class map name and enters policy map class configuration mode Use the class default keyword to class type qos class map name class default Step 3 select all traffic that is not currently matched by classes in the policy map Sets the IP precedence value to precedence value You can enter one of the values shown in the Precedence Values table set precedence precedence value Ste...

Страница 41: ...yer 3 topologies you must configure each QoS group in the network qos policy with a unique cos value Procedure Purpose Command or Action Displays the already configured policy maps and CoS values switch show policy map system Step 1 In Layer 3 topologies each qosgroup must have a unique CoS value Use the show policy map system command to view CoS values that have been used and that are unavailable...

Страница 42: ...000 set cos 6 class type network qos cn 04 match qos group 4 mtu 8750 set cos 7 class type network qos cn ip multicast match qos group 5 set cos 5 mtu 7500 class type network qos class default match qos group 0 mtu 1500 multicast optimize set cos 1 switch configure terminal switch config policy map type network qos pn 01 switch config pmap nq class type network qos cn 05 switch config pmap c nq se...

Страница 43: ... informationa bout the startup configuration for QoS startup config ipqos Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 OL 26657 01 33 Configuring Marking Verifying the Marking Configuration ...

Страница 44: ...Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 34 OL 26657 01 Configuring Marking Verifying the Marking Configuration ...

Страница 45: ...stributes the system class parameter values to all its attached network adapters using the Data Center Bridging Exchange DCBX protocol If service policies are configured at the interface level the interface level policy always takes precedence over system class configuration or defaults On the Cisco Nexus device a system class is uniquely identified by a qos group value A total of six system class...

Страница 46: ...cy maps type network qos policy map attached to system qos type queuing policy map class fcoe must be configured with a non zero bandwidth percentage for input queuing policy maps When class fcoe is not included in the qos policies vFC interfaces do not come up and increased drops occur The Cisco Nexus 5500 Series device supports five user defined classes and one default drop system class Note MTU...

Страница 47: ...ion mode switch configure terminal Step 1 Enters system class configuration mode switch config system qos Step 2 Specifies the policy map to use as the service policy for the system There are three policy map configuration modes switch config sys qos service policy type Step 3 network qos qos queuing input output policy name network qos Network wide system qos mode qos Classification mode system q...

Страница 48: ...oS4 switch config pmap c nq pause no drop switch config pmap c nq exit switch config pmap nq exit switch config system qos switch config sys qos service policy type network qos ethNoDrop Restoring the Default System Service Policies If you have created and attached new policies to the system QoS configuration enter the no form of the command to reapply the default policies Procedure Purpose Comman...

Страница 49: ...head of line blocking protection You can use the no form of this command to allow the Fabric Extender to use all available hardware space At the system level you can set the queue limit for Fabric Extenders by using the fex queue limit command However configuring the queue limit for a specific Fabric Extender will override the queue limit configuration set at the system level for that Fabric Exten...

Страница 50: ...erface If you enable the jumbo MTU on the subinterface before you enable it on the base interface then the following error will be displayed on the console switch config int po 502 4 switch config subif mtu 9216 ERROR Incompatible MTU values For Layer 3 routing on Cisco Nexus devices you need to configure the MTU on the Layer 3 interfaces SVIs and physical interfaces with IP addresses in addition ...

Страница 51: ...show queuing interface ethernet1 19 Ethernet1 19 queuing information TX Queuing qos group sched type oper bandwidth 0 WRR 50 1 WRR 50 RX Queuing qos group 0 q size 243200 HW MTU 9280 9216 configured drop type drop xon 0 xoff 1520 Statistics Pkts received over the port 2119963420 Ucast pkts sent to the cross bar 2115648336 Mcast pkts sent to the cross bar 4315084 Ucast pkts received from the cross ...

Страница 52: ...licy map name Displays the class maps defined on the switch show class map Displays information about the running configuration for QoS running config ipqos Displays information a bout the startup configuration for QoS startup config ipqos Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 42 OL 26657 01 Configuring QoS on the System Verifying the System QoS Configura...

Страница 53: ...pping You can define and apply a policy to create these mappings By default without a user defined policy all traffic is assigned to the default queue Any packet that is not tagged with an 802 1p CoS value is classified into the default drop system class If the untagged packet is sent over a trunk it is tagged with the default untagged CoS value which is zero You can override the default untagged ...

Страница 54: ...stem provides two predefined class maps for matching broadcast or multicast traffic These class maps are convenient for creating separate policy maps for unicast and multicast traffic The predefined class maps are as follows class all flood The class all flood class map matches all broadcast multicast and unknown unicast traffic across all CoS values If you configure a policy map with the class al...

Страница 55: ...frames received on an interface switch configure terminal switch config interface ethernet 1 2 switch config if untagged cos 4 Configuring an Interface Service Policy An input qos policy is a service policy applied to incoming traffic on an Ethernet interface for classification For type queuing the output policy is applied to all outgoing traffic that matches the specified class When you configure...

Страница 56: ...only apply both input and output to a queuing policy Note Applies the policy map to the interface switch config if service policy input policy name Step 4 There is a restriction that system type qos policy cannot be the same as any the type qos policy applied to an interface or EtherChannel Note This example shows how to apply a policy to an Ethernet interface switch configure terminal switch conf...

Страница 57: ...switch config if The following example shows how to attach an input qos policy map to a Layer 3 interface switch configure terminal switch config interface ethernet 1 5 switch config if no switchport switch config if service policy type qos input my_input_qos_policy switch config if Verifying the Interface QoS Configuration Use one of the following commands to verify the configuration Purpose Comm...

Страница 58: ...or all interfaces show interface untagged cos module number Displays information about the running configuration for QoS running config ipqos Displays information about the startup configuration for QoS startup config ipqos Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 48 OL 26657 01 Configuring QoS on Interfaces Verifying the Interface QoS Configuration ...

Страница 59: ...lity of service QoS policies for classification and marking on VLANs The policies that you apply to a VLAN are applied to the traffic on the VLAN s Layer 2 and switch virtual interface SVI ports Precedence of QoS Policies The marking requirements in a QoS policy determine its precedence Interface QoS policies take the highest precedence the VLAN QoS policies are next and the System QoS policies ha...

Страница 60: ...ystem QoS Policy Precedence This example shows a configuration where the traffic on interface 1 1 with CoS 5 goes to qos group 3 Traffic on the other interfaces with CoS 5 go to qos group 5 class map type qos match all cm1 match cos 5 policy map type qos pm ifc class cm1 set qos group 3 class class default policy map type qos pm sys class cm1 set qos group 5 class class default system qos service ...

Страница 61: ...ther packets with VLAN 10 and CoS 5 go to qos group 4 ip access list al1 10 permit ip 10 10 10 1 24 any vlan access map v am1 match ip address al1 action drop vlan filter v am1 vlan list 10 class map type qos match all cm1 match cos 5 policy map type qos pm vlan class cm1 set qos group 4 class class default vlan configuration 10 service policy type qos input pm vlan Cisco Nexus 5000 NX OS Quality ...

Страница 62: ...olicy on it the configuration is accepted however the TCAM is not programmed If a VLAN is removed with the no vlan number command the service policy that is configured on that VLAN is still present but it is not active The TCAM must have enough free entries to configure the service policy on the VLAN A rollback might fail if the interface QoS limit is different in the running configuration than in...

Страница 63: ... mode switch configure terminal Step 1 Configures the interface QoS TCAM limit The tcam size range is from 7 to 446 entries switch config hardware profile tcam feature interface qos limit tcam size Step 2 Displays the limits of the QoS TCAMs switch config show hardware profile tcam feature qos Step 3 Optional Saves the change persistently through reboots and restarts by copying the running configu...

Страница 64: ...ration switch config copy running config startup config Step 4 This example shows how to remove the interface QoS TCAM limit switch config configure terminal switch config show hardware profile tcam feature qos Feature Limit number of tcam entries interface qos 20 vlan qos global qos 428 switch config no hardware profile tcam feature interface qos limit 20 switch config copy running config startup...

Страница 65: ...ass cm1 switch config pmap c qos set qos group 4 switch config pmap c qos exit switch config pmap qos exit switch config vlan configuration 10 switch config vlan config service policy type qos input pm vlan switch config vlan config Removing a Service Policy from a VLAN Procedure Purpose Command or Action Enters global configuration mode switch configure terminal Step 1 Enters VLAN configuration m...

Страница 66: ...LAN show policy map vlan vlan number Displays the policy maps defined on the switch Optionally you can display the named policy only show policy map name Displays information about the running configuration for QoS running config ipqos Displays information about the startup configuration for QoS startup config ipqos Feature History for VLAN QoS Table 8 Feature History for VLAN QoS Feature Informat...

Страница 67: ...the switch sends the configuration data to the adapter If the adapter does not support the DCBX protocol or the ingress policy type length value TLV the ingress policy configuration is ignored Egress Queuing Policies You can associate an egress policy map with an Ethernet interface to guarantee the bandwidth for the specified traffic class or to configure the egress queues The bandwidth allocation...

Страница 68: ...ns Per Port Ingress Buffer KB Traffic Class 76 8 Class fcoe 76 8 User defined no drop class of service with an MTU less than 2240 81 9 User defined no drop class of service with an MTU greater than 2240 20 48 Tail drop class of service All of the remaining buffer 243 2KB with the default QoS configuration Class default The default buffer allocation varies depending on the type of class For example...

Страница 69: ...r example if you create a regular tail drop traffic class the default allocation is 22 7KB unless you specify a larger size using the queue limit command To increase the ingress buffer space available to a user created qos group from a network qos policy map use the queue limit command In addition to ingress buffer allocated for each user created qos group there is an additional 29 76KB buffer req...

Страница 70: ...ply the pause Ethernet interfaces use PFC to provide lossless service to no drop system classes PFC implements pause frames on a per class basis and uses the IEEE 802 1p CoS value to identify the classes that require lossless service In the switch each system class has an associated IEEE 802 1p CoS value that is assigned by default or configured on the system class If you enable PFC the switch sen...

Страница 71: ...der 48x1G 4x10G SFP Module Cisco Nexus 2224TP Fabric Extender 24x1G 2x10G SFP Module Cisco Nexus 2232P Fabric Extender 32x10G SFP 8x10G SFP Module Cisco Nexus 2248T Fabric Extender 48x1G 4x10G SFP Module Cisco Nexus N2248TP E Fabric Extender 48x1G 4x10G Module Cisco Nexus N2348UPQ Fabric Extender 48x10G SFP 6x40G QSFP Module Procedure Purpose Command or Action Enters global configuration mode swit...

Страница 72: ... a policy map and enters class mode switch config pmap nq class type network qos class map name Step 3 Specifies the buffer threshold settings for pause and resume for 3000m lossless Ethernet switch config pmap nq c pause no drop buffer size buffer size Step 4 pause threshold xoff size resume threshold xon size buffer size Buffer size for ingress traffic in bytes Valid values are from 10240 to 490...

Страница 73: ...ap nq policy map type network qos nqos_policy switch config pmap nq class type network qos nqos_class switch config pmap nq c pause no drop buffer size 152000 pause threshold 103360 resume threshold 83520 switch config pmap nq c exit switch config pmap nq exit switch config exit switch Configuring the Buffer Threshold for the Cisco Nexus 2148T Fabric Extender In the Fabric Extender configuration m...

Страница 74: ...T buffer threshold Enabling Virtual Output Queuing Limits for Unicast Traffic on the Cisco Nexus Device You can enable the Virtual Output Queuing VOQ limit for unicast traffic To alleviate congestion and blocking use VOQ to prevent one blocked receiver from affecting traffic that is sent to other noncongested blocking receivers Procedure Purpose Command or Action Enters configuration mode switch c...

Страница 75: ...ter using the DCBX protocol When PFC is enabled PFC is applied to traffic that matches the CoS value configured for the no drop class You can override the negotiation result by forcing the interface to enable PFC Procedure Purpose Command or Action Enters global configuration mode switch configure terminal Step 1 Specifies the interface to be changed switch config interface type slot port Step 2 S...

Страница 76: ...ning on multicast packets An interface on the Cisco Nexus 5500 Series device can become congested when it receives excessive multicast traffic or when the mixed unicast and multicast traffic rate exceeds the port bandwidth When multiple interfaces receive the same multicast flow and one or more ports experience congestion the slow port prunning feature allows the switch to drop only the multicast ...

Страница 77: ...g of the flow control settings on all interfaces show interface flowcontrol module numbef Displays the priority flow control details for a specified interface show interface interface slot port priority flow control module number show wrr queue cos map var Displays information about the running configuration for QoS running config ipqos Displays informationa bout the startup configuration for QoS ...

Страница 78: ...Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 68 OL 26657 01 Configuring Queuing and Flow Control Verifying the Queue and Flow Control Configurations ...

Страница 79: ... 69 QoS Example 2 page 70 QoS Example 3 page 72 QoS Example 1 This example shows how to configure traffic in the entire system matching an access control list to have the frame CoS fields rewritten to the value 5 Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 OL 26657 01 69 ...

Страница 80: ...ch qos group 4 config cmap nq exit config policy map type network qos pmap nq acl config pmap nq class type network qos cmap nq acl config pmap c nq set cos 5 config pmap c nq exit config pmap nq exit Set up the system class allocation and rewrite policy Allocate the system class for qos group 4 and define the rewrite action Step 3 config system qos config sys qos service policy type network qos p...

Страница 81: ...it Set up the system wide definition of the qos group first Step 3 Before you can successfully allocate bandwidth to the user defined class cmap que bandwidth you must first reduce the default bandwidth configuration on class default and class fcoe Note config policy map type queuing pmap que eth1 2 config pmap que class type queuing class default config pmap c que bandwidth percent 10 config pmap...

Страница 82: ...cy Step 7 config system qos config sys qos service policy type network qos pmap nq bandwidth config sys qos exit Attach the network qos policy to the system Step 8 QoS Example 3 This example shows how to attach a 802 1p tag with a CoS value of 3 to incoming untagged packets and force priority flow control negotiation on Ethernet interface 1 15 Procedure Purpose Command or Action config interface E...

Страница 83: ...ring type queuing policies 23 configuring untagged CoS 45 CoS marking 30 31 configuring 30 layer 3 31 CPU traffic 5 QoS 5 D default system service policies 38 restoring 38 DSCP classification 12 configuring 12 E enabling 40 jumbo MTU 40 F feature history 56 VLAN QoS 56 Fibre Channel interfaces 44 policy 44 flow control 67 verifying 67 G guidelines and limitations 52 VLAN QoS 52 I information about...

Страница 84: ...nterface QoS policies 50 system QoS policies 50 VACL and VLAN QoS policies 51 VLAN QoS and VACL policies 51 VLAN QoS policies 50 precedence classification 10 configuring 10 Q Qos 5 44 CPU traffic 5 multicast traffic 44 QoS 10 12 DSCP classification 12 configuring 12 precedence classification 10 configuring 10 quality of service 3 overview 3 Quality of Service See QoS queuq configuration 67 verifyi...

Страница 85: ...guration 32 policy map configuration 24 queue configuration 67 system QoS configuration 41 VLAN QoS configuration 56 virtual output queuing limits 64 unicast traffic 64 VLAN QoS 52 56 feature history 56 guidelines and limitations 52 TCAM carving 52 VLAN QoS configuration 56 verifying 56 VLAN QoS policies 50 51 precedence of 50 51 VLANs 49 55 QoS 49 removing a service policy from 55 Cisco Nexus 500...

Страница 86: ...Cisco Nexus 5000 NX OS Quality of Service Configuration Guide Release 5 1 3 N2 1 IN 4 OL 26657 01 Index ...

Отзывы: