Step 1 | switch#
configure
terminal
|
Enters global
configuration mode.
|
Step 2 | switch(config)# class-map type {network-qos} class-name
| Creates a named object that represents a class of traffic. Class-map names can contain alphabetic, hyphen, or underscore characters, are case sensitive, and can be up to 40 characters.
|
Step 3 | switch(config-cmap-nq)# match qos-group qos-group-value
| Configures the traffic class by matching packets based on a list of QoS group values. Values can range from 0 to 5. QoS group 0 is equivalent to class-default and QoS group 1 is equivalent to class-fcoe.Note
| qos-groups 0 and 1 are reserved for default classes and cannot be configured.
|
|
Step 4 | switch(config-cmap-nq)# exit
| Exits class-map mode and enters global configuration mode.
|
Step 5 | switch(config)# class-map type {network-qos} class-name
| Creates a named object that represents a class of traffic. Class-map names can contain alphabetic, hyphen, or underscore characters, are case sensitive, and can be up to 40 characters.
|
Step 6 | switch(config-cmap-nq)# match qos-group qos-group-value
| Configures the traffic class by matching packets based on a list of QoS group values. Values can range from 0 to 5. QoS group 0 is equivalent to class-default and QoS group 1 is equivalent to class-fcoe.Note
| qos-groups 0 and 1 are reserved for default classes and cannot be configured.
|
|
Step 7 | switch(config-cmap-nq)# exit
| Exits class-map mode and enters global configuration mode.
|
Step 8 | switch(config)# policy-map type network-qos policy-name
| Creates a named object that represents a set of policies that are to be applied to a set of traffic classes. Policy-map names can contain alphabetic, hyphen, or underscore characters, are case sensitive, and can be up to 40 characters.
|
Step 9 | switch(config-pmap-nq)# class type network-qos class-name
| Associates a class map with the policy map, and enters configuration mode for the specified system class.Note
| The associated class map must be the same type as the policy map type.
|
|
Step 10 | switch(config-pmap-c-nq)# pause no-drop [pfc-cos pfc-cos-value]
| Configures a no-drop class. If you do not specify this command, the default policy is drop.Note
| The operation for the drop policy is a simple tail drop, where arriving packets will be dropped if the queue increases to its allocated size.
The pfc-cos-value range is from 0 to 7. This option is supported only for a ACL-based system class (which filters traffic using criteria other than cos-based matches).Caution
| The list of CoS values can potentially include the CoS value that is used for FCoE traffic in class-fcoe. You must determine if this is desired behavior for your topology.
|
|
|
Step 11 | switch(config-pmap-nq)# class type network-qos class-name
| Associates a class map with the policy map, and enters configuration mode for the specified system class.Note
| The associated class map must be the same type as the policy map type.
|
|
Step 12 | switch(config-pmap-c-nq)# mtu 2158
| Sets the MTU to 2158 bytes in the policy map for class-fcoe.
|
Step 13 | switch(config-pmap-c-nq)# pause no-drop [pfc-cos pfc-cos-value]
| Configures a no-drop class. If you do not specify this command, the default policy is drop.Note
| The operation for the drop policy is a simple tail drop, where arriving packets will be dropped if the queue increases to its allocated size.
The pfc-cos-value range is from 0 to 7. This option is supported only for a ACL-based system class (which filters traffic using criteria other than cos-based matches).Caution
| The list of CoS values can potentially include the CoS value that is used for FCoE traffic in class-fcoe. You must determine if this is desired behavior for your topology.
|
|
|
Step 14 | switch(config-pmap-nq)# class type network-qos class-name
| Associates the default system class (class-default) with the policy map, and enters configuration mode for the specified system class.Note
| The associated class map must be the same type as the policy map type.
|
|
Step 15 | switch(config-pmap-c-nq)# mtu 9216
| Enables the jumbo MTU for the whole switch by setting the MTU to its maximum size (9216 bytes) in the policy map for the default system class (class-default).
|