match dei
To specify a drop eligible indicator (DEI) value as a match criteria in a class map, use the
match dei
command
in class map configuration mode. To remove a specified DEI value from the matching criteria for a class map,
use the
no
form of this command.
match dei value
no match dei
Syntax Description
Value of the DEI bit. Can be 0 or 1.
value
Command Default
There is no default DEI value; it must be specified.
Command Modes
Class map configuration
Command History
Modification
Release
This command was introduced.
Release
6.1.2
Usage Guidelines
The
match dei
command specifies a DEI value that is used as the match criteria against which packets are
checked to determine if they belong to the class specified by the class map.
Task ID
Operation
Task
ID
read,
write
qos
Examples
In this example, DEI value is specified as the matching criteria in a class map.
RP/0/RP0/CPU0:router(config)#
class-map match-any match-dei
RP/0/RP0/CPU0:router(config-cmap)#
match dei 0
RP/0/RP0/CPU0:router(config-cmap)#
exit
RP/0/RP0/CPU0:router(config)#
policy-map p1
RP/0/RP0/CPU0:router(config-pmap)#
class match-dei
RP/0/RP0/CPU0:router(config-pmap)#
set dei 1
RP/0/RP0/CPU0:router(config-pmap-c)#
exit
RP/0/RP0/CPU0:router(config)#
interface HundredGigE 0/5/0/0.0 l2transport
RP/0/RP0/CPU0:router(config-subif)#
encapsulation dot1q 1
RP/0/RP0/CPU0:router(config-subif)#
rewrite ingress tag push dot1ad 5 symmetric
RP/0/RP0/CPU0:router(config-subif)#
service-policy input p1
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
15
QoS Classification Commands
match dei