Cisco Nexus 5000 Series Switch CLI Software Configuration Guide (OL-16597-01, July 2009)

List of Precedence ValuesValue
Priority precedence (1)priority
Routine precedence (0)routine
Procedure
PurposeCommand or Action
Enters configuration mode.switch# configure terminal
Step 1
Creates a named object that represents a class of
traffic. Class-map names can contain alphabetic,
switch(config)# class-map type qos
class-name
Step 2
hyphen, or underscore characters, are case sensitive,
and can be up to 40 characters.
Configures the traffic class by matching packets based
on precedence-values . Values are shown in the
preceding table.
switch(config-cmap-qos)# match
precedence precedence-values
Step 3
(Optional)
Removes the match from the traffic class.
switch(config-cmap-qos)# no match
precedence precedence-values
Step 4
This example shows how to classify traffic by matching packets based on the precedence value in the ToS
byte field of the IP header:
switch# configure terminal
switch(config)# class-map type qos class_precedence
switch(config-cmap-qos)# match precedence 1-2, critical
Use the show class-map command to display the IP precedence value class-map configuration:
switch# show class-map class_precedence
Configuring Protocol Classification
You can classify traffic based on the protocol field in the IP header. The following table shows the protocol
arguments:
Table 58: Protocol Arguments
DescriptionArgument
Address Resolution Protocol (ARP)arp
CLNS End Systemsclns_es
CLNS Intermediate Systemclns_is
Dynamic Host Configuration (DHCP)dhcp
Label Distribution Protocol (LDP)ldp
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01 435
Configuring System Classes
Configuring Protocol Classification