Configuring Discard Class Classification; Configuring Layer 3 Packet Length 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 Classification

Configuring Discard Class Classification

You can classify traffic based on the value of the discard class internal label, which is not part of the packet
payload or any packet header. You can set the value of the discard class within a policy map using the set
discard-class command as described in the "Configuring Discard Class Marking" section.
You match on the discard class only in egress policies because its value is undefined until you set it in an
ingress policy.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Example
This example shows how to display the discard the class-map configuration:
switch# show class-map class_discard_class

Configuring Layer 3 Packet Length Classification

You can classify Layer 3 traffic based on various packet lengths.
Note
This feature is designed for IP packets only.
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]
discard-class multi-range-discard-class-values
switch(config-cmap-qos)# exit
(Optional) switch(config)# copy
running-config startup-config
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Configuring Discard Class Classification
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 list of discard-class values. Values
can range from 0 to 63. The default discard class
value is 0. 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.
39

Advertisement

Table of Contents
loading

Table of Contents