Configuring CoS Classification for FEX
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
class-map [type qos] [match-any | match-all] class-name
Example:
switch(config)# class-map class_cos
Step 3
match [not] cos cos-list
Example:
switch(config-cmap-qos)# match cos 4,5-6
Step 4
exit
Example:
switch(config-cmap-qos)# exit
switch(config)#
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Example
This example shows how to display the CoS class-map configuration:
switch# show class-map class_cos
Configuring CoS Classification for FEX
Note
The CoS Classification for FEX feature is not supported on the Cisco Nexus 9508 switch (NX-OS 7.0(3)F3(3)).
You can classify traffic based on the class of service (CoS) for a FEX.
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
68
Purpose
Enters global configuration mode.
Creates or accesses the class map named class-name and
then enters class-map mode. The class-map name can
contain alphabetic, hyphen, or underscore characters, and
can be up to 40 characters.
Configures the traffic class by matching packets based on
the list of CoS values. Values can range from 0 to 7. Use
the not keyword to match on values that do not match the
specified range.
Note
When a Cisco Nexus Fabric Extender (FEX) is
connected and in use, data traffic should not be
marked with a CoS value of 7. CoS 7 is reserved
for control traffic transiting the Fabric Extender.
Exits global class-map queuing mode and enters global
configuration mode.
(Optional) Saves the running configuration to the startup
configuration.
Configuring Classification