Configuring System Classes; Configuring Class Maps - Cisco Nexus 5000 Series Configuration Manual

Nx-os quality of service
Hide thumbs Also See for Nexus 5000 Series:
Table of Contents

Advertisement

Configuring QoS

Configuring System Classes

Configuring Class Maps

You can create or modify a class map with the class-map command. The class map is a named object that
represents a class of traffic. In the class map, you specify a set of match criteria for classifying the packets.
You can then reference class maps in policy maps.
The class map type default is type qos and its match criteria default is match-all.
Note
SUMMARY STEPS
1. switch# configure terminal
2. switch(config)# class-map [type {network-qos | qos | queuing}] class-map name
3. (Optional) switch(config)# class-map [type qos] [match-all | match-any] class-map name
4. (Optional) switch(config)# no class-map [type {network-qos | qos | queuing}] class-name
DETAILED STEPS
Command or Action
Step 1
switch# configure terminal
Step 2
switch(config)# class-map [type
{network-qos | qos | queuing}]
class-map name
Step 3
switch(config)# class-map [type qos]
[match-all | match-any] class-map
name
OL-20921-01
Purpose
Enters configuration mode.
Creates or accesses a named object that represents the specified class of traffic.
Class-map names can contain alphabetic, hyphen, or underscore characters, are
case sensitive, and can be up to 40 characters.
The three class-map configuration modes are as follows:
• network-qos—Network-wide (global) mode. CLI prompt:
switch(config-cmap-nq)#
• qos—Classification mode; this is the default mode. CLI prompt:
switch(config-cmap-qos)#
• queuing—Queuing mode. CLI prompt: switch(config-cmap-que)#
(Optional)
Specifies that packets must match any or all criteria that is defined for a class
map. The default is match-all.
• match-all—Classifies traffic if packets match all criteria that is defined
for a specified class map.(for example, if the defined CoS and the ACL
criteria matches)
• match-any—Classifies traffic if packets match any criteria that is defined
for a specified class map. (for example, if the CoS or the ACL criteria
matches).
Cisco Nexus 5000 Series NX-OS Quality of Service Configuration Guide
Configuring System Classes
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents