Early Fast Discard
Feature Name |
Release Information |
Feature Description |
Early Fast Discard |
Release 24.1.1 |
Starting from Cisco IOS XR Release 24.1.1, the early fast discard feature is deprecated and will not be supported in future releases. We recommend not to use this feature starting from Cisco IOS XR Release 24.1.1. |
The early fast discard (EFD) is a congestion protection feature to handle cases when the incoming traffic exceeds the router capacity. While the normal congestion control is handled by the traffic manager (TM) and attached QoS policies, the EFD feature is activated in extreme cases. The EFD feature filters high priority traffic (such as keepalives, control, and BFD) and discards the rest at the very early stage of datapath processing, thus maintaining the important flow of control packets.
To activate the EFD feature, use the early-fast-discard command in configuration mode. The traffic to be discarded is defined by setting IP precedence, MPLS exp, and VLAN cos values.
Configuring Early Fast Discard
Use Case
-
IP precedence=4
-
MPLS exp=3
-
VLAN cos=5
The default value is 6 and ge (greater than or equal to).
Configuration
Router# configure
Router(config)# hw-module early-fast-discard
Router(config-early-fast-discard)# ip-prec 4 ip-op [lt | ge]
Router(config-early-fast-discard)# mpls-exp 3 mpls-op [lt | ge]
Router(config-early-fast-discard)# vlan-cos 5 vlan-op [lt | ge]
Router(config-early-fast-discard)# exit
Note |
Use the no hw-module early-fast-discard command to deactivate EFD. |
Running Configuration
RP/0/RP0/CPU0:ios#show run hw-module early-fast-discard
Thu Jul 16 15:51:34.672 UTC
hw-module early-fast-discard
ip-prec 4 ip-op ge
mpls-exp 3 mpls-op ge
vlan-cos 5 vlan-op lt
!