Chapter 31
Configuring QoS
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Policy maps can also be configured for interface service policies. However, different parameters are
Note
supported in these policy maps. See the
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.
Command
Step 1
switch# configure terminal
Step 2
switch(config)# system qos
Step 3
switch(config-sys-qos)# service-policy
name
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
OL-16597-01
"Configuring QoS on Interfaces" section on page
Purpose
Enters configuration mode.
Enters system class configuration mode.
Specifies the policy-map to use as the service policy
for the system.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
Configuring System Classes
31-13.
31-11