Describes how IPv4 BFD hardware offload improves scale and convergence by moving session processing to hardware and reporting resource exhaustion through syslog messages.
BFD hardware offload is a performance feature that
-
shifts BFD session processing from the CPU to the NPU on line cards
-
increases the number of simultaneous BFD sessions the system supports, and
-
accelerates network convergence after link failures.
With hardware offload, routers detect failures rapidly by handling BFD processing in hardware. The system now generates immediate, rate-limited syslog messages containing the relevant session handle and return code if NPU or SDK resources are depleted (Out of Resources) and the session state transitions immediately to ADMIN DOWN. These syslog notifications improve real-time monitoring, allowing you to diagnose connectivity issues efficiently and provide all required information for TAC support.
Syslog notifications
The system generates rate-limited syslog messages when hardware resources are exhausted, including the session handle and result code for troubleshooting.
-
%PKT_INFRA-BFD_OFFLOAD-4-OOR_SESSION_CREATE
-
%PKT_INFRA-BFD_OFFLOAD-4-OOR_SESSION_UPDATE
Restrictions of BFD hardware offload support for IPv4
-
The router does not support BFD hardware offload for IPv4 over MPLS LDP, VRRP, BVI, or IRB interfaces.
-
The router supports a maximum of 1,000 sessions for BFD session migration.
In Cisco IOS XR Release 26.2.2, show bfd session commands that include the hardware keyword can display this warning:
sysdb_list failed 0x40818800, 'sysdb' detected the 'warning' condition 'An invalid argument was passed to a SysDB function (maybe a NULL pointer?)'The output can be incomplete when hardware-offloaded sessions require multiple result pages. This warning does not affect BFD sessions or packet forwarding.
To avoid the warning, run show bfd session command without the hardware keyword. Check theH/WandNPUcolumns to verify hardware-offload status.