Configuring Class Map Classification - 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

Configuring Class Map Classification

Step 4
Step 5
Example
This example shows how to display the RTP class-map configuration:
switch# show class-map class_rtp
Configuring Class Map Classification
You must create a referenced class map prior to its reference. You can configure only one level of nesting of
class maps. You cannot reference a class map that references another class map.
Before you delete a referenced class map, you should delete all references to that class map.
You can classify traffic based on the match criteria in another class map. You can reference the same class
map in multiple policies.
Follow these guidelines while configuring the class-map classification:
• To perform a logical OR with the class map specified in the match class-map command, use the
• To perform a logical AND with the class map specified in the match class-map command, use the
Procedure
Step 1
Step 2
Step 3
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
42
Command or Action
switch(config-cmap-qos)# exit
(Optional) switch(config)# copy
running-config startup-config
match-any keyword. The match-any or match-all specification of the matched class map is ignored.
match-all keyword. The match-any or match-all specification of the matched class map is ignored.
Command or Action
switch# configure terminal
switch(config)# class-map [type qos]
[match-any | match-all] class-map-name
switch(config-cmap-qos)# match [not]
class-map class-map-name
Configuring Classification
Purpose
Use the not keyword to match on values that
do not match the specified range.
Exits global class-map queuing mode, and
enters configuration mode.
Saves this configuration change.
Purpose
Enters global configuration mode.
Creates or accesses the class map named
class-map-name and enters class-map mode.
The class map name can contain alphabetic,
hyphen, or underscore characters, is case
sensitive, and can be up to 40 characters.
Configures the traffic class by matching packets
based on the match criteria in another class map.
Because match-all is the default for the
class-map command, the match criteria
specified in class_map3 are ANDed with the
match criteria in class_class_map.

Advertisement

Table of Contents
loading

Table of Contents