Configuring QoS
Value
critical
flash
flash-override
immediate
internet
network
priority
routine
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# class-map type qos class-name
3. switch(config-cmap-qos)# match precedence precedence-values
4. (Optional) switch(config-cmap-qos)# no match precedence precedence-values
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# class-map type qos class-name
Step 3
switch(config-cmap-qos)# match precedence
precedence-values
Step 4
switch(config-cmap-qos)# no match precedence
precedence-values
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
OL-20921-01
List of Precedence Values
Critical precedence (5)
Flash precedence (3)
Flash override precedence (4)
Immediate precedence (2)
Internetwork control precedence (6)
Network control precedence (7)
Priority precedence (1)
Routine precedence (0)
Purpose
Enters configuration mode.
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.
Configures the traffic class by matching packets based on
precedence-values . Values are shown in the preceding table.
(Optional)
Removes the match from the traffic class.
Cisco Nexus 5000 Series NX-OS Quality of Service Configuration Guide
Configuring Class Maps
21