S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
56-9
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 56 Configuring Fabric Congestion Control and QoS
QoS
Note
Class maps are processed in the order in which they are configured in each policy map.
Specifying Service Policies
To specify a service policy, follow these steps:
About Service Policy Enforcement
When you have configured a QoS data traffic policy, you must enforce the data traffic configuration by
applying that policy to the required VSAN(s). If you do not apply the policy to a VSAN, the data traffic
configuration is not enforced. You can only apply one policy map to a VSAN.
Note
You can apply the same policy to a range of VSANs.
Applying Service Policies
To apply a service policy, follow these steps:
Command
Purpose
Step 1
switch(config)#
qos policy-map MyPolicy
switch(config-pmap)#
Creates a policy map called MyPolicy and places
you in the policy-map submode.
switch(config)#
no
qos policy-map OldPolicy
switch(config)#
Deletes the policy map called OldPolicy and places
you in the policy-map submode.
Step 2
switch(config-pmap)#
class MyClass
switch(config-pmap-c)#
Specifies the name of a predefined class and places
you at the policy-map submode for that class.
switch(config-pmap)#
no
class OldClass
Removes the class map called OldClass from the
policy map.
Step 3
switch(config-pmap-c)#
priority high
Specifies the priority to be given for each frame
matching this class.
switch(config-pmap-c)#
no priority high
Deletes a previously assigned priority and reverts
to the default value of low.
Step 4
switch(config-pmap-c)#
dscp 2
Specifies the DSCP value to mark each frame
matching this class.
switch(config-pmap-c)#
no dscp 60
Deletes a previously assigned DSCP value and
reverts to the factory default of 0.
Command
Purpose
Step 1
switch(config)#
qos service policy MyPolicy
vsan 3
Applies a configured policy to VSAN 3.
switch(config)#
no
qos service policy OldPolicy
vsan 7
Deletes a configured policy that was applied
to VSAN 7.