List of Precedence Values
Value
Critical precedence (5)
critical
Flash precedence (3)
flash
Flash override precedence (4)
flash-override
Immediate precedence (2)
immediate
Internetwork control precedence
(6)
internet
Network control precedence (7)
network
Priority precedence (1)
priority
Routine precedence (0)
routine
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Creates a named object that represents a class of traffic.
Class-map names can contain alphabetic, hyphen, or
switch(config)#
class-map type qos
match-any class-name
Step 2
underscore characters, are case sensitive, and can be up
to 40 characters.
Configures the traffic class by matching packets based
on precedence values. For a list of precedence values,
see the Precedence Values table.
switch(config-cmap-qos)#
match
precedence precedence-values
Step 3
(Optional)
Removes the match from the traffic class. For a list of
precedence values, see the Precedence Values table.
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 match-any 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
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
OL-26657-01
11
Configuring Classification
Configuring Precedence Classification