Configuring Or Modifying A Class Map - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Using Modular QoS CLI
For the commands that you can use in the MQC object mode, see the following configuration chapters:
• Configuring Classification
• Configuring Marking
• Configuring Mutation Mapping
• Configuring Policing
• Configuring Queuing and Scheduling

Configuring or Modifying a Class Map

You can create or modify a class map. You can then reference class maps in policy maps.
Note
You cannot create a queuing class map; you must use one of the system-defined queuing class maps listed in
Table 6: System-Defined Type queuing Class Maps, on page 15
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Command or Action
switch# configure terminal
switch(config)# class-map [type qos]
[match-any | match-all] class-map-name
switch(config-cmap-qos)# exit
(Optional) switch(config)# class-map [type
qos] {conform-color-in | conform-color-out
| exceed-color-in | exceed-color-out}
switch(config-color-map)# exit
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Configuring or Modifying a Class Map
Purpose
Enters global configuration mode.
Creates or accesses the class map of type qos,
and then enters class-map qos mode.
Class-map names can contain alphabetic,
hyphen, or underscore characters, are case
sensitive, and can be up to 40 characters.
Note
When you configure match all for
a QoS class map by entering the
class-map type qos match-all
command, the match-all option does
not work. Instead, the match criteria
is always treated as match any.
Exits class-map qos mode and enters global
configuration mode.
Accesses the class map of type qos for one of
the system-defined color maps, and then enters
color-map mode.
This command is only used when
Note
color-aware policing is required.
Exits color-map mode, and then enters global
configuration mode.
19

Advertisement

Table of Contents
loading

Table of Contents