Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
31-11
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 31 Configuring QoS
Configuring System Classes
Note Policy maps can also be configured for interface service policies. However, different parameters are
supported in these policy maps. See the “Configuring QoS on Interfaces” section on page 31-13.
The following example shows how to enable optimized multicast for the default Ethernet class:
switch(config)# policy-map s1
switch(config-pmap)# class class-default
switch(config-pmap-c)# multicast-optimize
The following example shows how to create a policy map with a no-drop Ethernet class:
switch(config)# class-map ethCoS4
switch(config-cmap)# match cos 4
switch(config-cmap)# exit
switch(config)# policy-map ethNoDrop
switch(config-pmap)# class ethCoS4
switch(config-pmap-c)# pause no-drop
Creating the System Service Policy
The service-policy command is used to associate the system class policy-map as the service policy for
the system.
The following example sets a no-drop Ethernet policy map as the system class:
switch(config)# class-map ethCoS4
switch(config-cmap)# match cos 4
switch(config-cmap)# exit
switch(config)# policy-map ethNoDrop
switch(config-pmap)# class ethCoS4
switch(config-pmap-c)# pause no-drop
switch(config)# system qos
switch(config-system)# service-policy ethNoDrop
System Class Example
In the following example, a new Ethernet no-drop system class is created, and the CoS values of the
default system classes are changed from their default values:
switch(config)# class-map trading-data-no-drop
switch(config-cmap)# match cos 5
switch(config)# class-map class-fcoe
switch(config-cmap)# match cos 2
switch(config)# policy-map system-policy
switch(config-pmap)# class trading-data-no-drop
Command Purpose
Step 1
switch# configure terminal
Enters configuration mode.
Step 2
switch(config)# system qos
Enters system class configuration mode.
Step 3
switch(config-sys-qos)# service-policy
name
Specifies the policy-map to use as the service policy
for the system.