set dei
set dei
To set the drop eligible indicator (DEI) value in a policy map class, use the set dei command in policy map
class configuration mode. To remove a specified DEI value from a policy map class, use the no form of this
command.
set dei value
no set dei
Syntax Description
value
There is no default DEI value; it must be specified.
Command Default
Policy map class configuration
Command Modes
Command History
Release
Release
6.1.2
The set dei command specifies a DEI value in a policy map class. For example, traffic can be policed and
Usage Guidelines
the excess traffic can be marked with DEI value of 1, so that it can be preferentially dropped in the egress
interface or further downstream, when there is congestion.
Task ID
Task
ID
qos
Examples
In this example, 802.1ad CoS plus DEI is derived from the incoming 802.1q CoS. Packets with a
CoS value of 0 are remarked with a DEI value of 1.
RP/0/RP0/CPU0:router(config)# class-map match-any remark-cos
RP/0/RP0/CPU0:router(config-cmap)# match cos 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 remark-cos
RP/0/RP0/CPU0:router(config-pmap-c)# set dei 1
RP/0/RP0/CPU0:router(config-pmap-c)# exit
RP/0/RP0/CPU0:router(config)# interface HundredGigE0/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
30
Value of the DEI bit. Can be 0 or 1.
Modification
This command was introduced.
Operation
read,
write
QoS Classification Commands