2-170
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
match discard-class
match discard-class
To configure the match criteria for a class map based on the drop precedence of a packet during
congestion management, use the match discard-class command in class-map configuration mode. To
remove the match criteria, use the no form of this command.
match discard-class value
no match discard-class value
Syntax Description
Defaults No match criteria are defined.
Command Modes Class-map configuration
Command History
Usage Guidelines The match discard-class command specifies a drop value to use as the match criteria to determine if
packets belong to the class specified by the class map.
Before using the match discard-class command, you must enter the class-map global configuration
command to specify the name of the class whose match criteria you want to establish.
You can use the match discard-class classification only on output policy maps.
You can verify the configuration by entering the show class-map privileged EXEC command.
Examples This example shows how to create a class map called outclass, which uses a drop value of 5 as the match
criterion:
Switch(config)# class-map match-any outclass
Switch(config-cmap)# match discard-class 5
Switch(config-cmap)# exit
Related Commands
value Sets a drop precedence for a packet during congestion management. The
range is from 0 to 7. Matching discard is supported only in output policy
maps.
Release Modification
12.2(52)EY This command was introduced.
Command Description
class-map Creates a class map to be used for matching packets to the class whose name
you specify.
show class-map Displays quality of service (QoS) class maps.