Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
5-5
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 5 Quality of Service Commands
match cos
match cos
To define a traffic class based on the Class of Service (CoS) value in the 802.1Q, use the match cos
command. To remove the match cos configuration, use the no form of this command.
match cos multi-range-cos-values
no match cos multi-range-cos-values
Syntax Description
Command Default None
Command Modes Class-map configuration.
Command History
Usage Guidelines You can create a traffic class based on CoS values in the 802.1Q or ISL header.
Examples This example shows how to create a match on CoS:
switch(config)# class-map class_cos
switch(config-cmap)# match cos 2, 5-6
This example shows how to remove the match on CoS:
switch(config)# class-map class_cos
switch(config-cmap)# no match cos 2, 5-6
Related Commands
multi-range-cos-values Specifies a list of multiple ranges of Class of Service (CoS) values. Values
can range from 1 to 7.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
class-map Creates or modifies a class map.
show class-map Displays class maps.