Describes PBR asynchronous hardware acknowledgment over SL-API and explains its role in providing deterministic, aggregated acknowledgments for NHG programming in Cisco 8000 Series routers.
Policy Based Routing (PBR) asynchronous INUSE-ACK is an acknowledgement model for PBR over Service Layer API (SL-API) that
-
changes how PBR policy programming reports in-use status for Next-Hop Groups (NHG)
-
enables the system to send an INUSE-ACK only after the NHG is confirmed in hardware, and
-
provides external controllers with accurate feedback for traffic.
| Feature Name |
Release Information |
Feature Description |
|---|---|---|
| PBR asynchronous INUSE-ACK over SL-API |
Release 26.2.1 |
Introduced in this release on: Fixed Systems (8200 [ASIC: Q200, P100], 8700 [ASIC: P100]); Centralized Systems (8600 [ASIC:Q200]) ; Modular Systems (8800 [LC ASIC: Q200, P100]) This feature improves the reliability of PBR readiness signaling over SL-API. The router now returns a fast Sync-Ack for request acceptance and a separate asynchronous INUSE-ACK after it programs the NHG in hardware. This change helps the controller send traffic only after the NHG is ready. The enhancement allows PBR policies to be programmed in the background without blocking the controller. |
Policy Based Routing policies direct traffic based on user-defined criteria, redirecting matched traffic to specified Next-Hop Groups (NHGs). Previously, Cisco IOS XR with SL-API would acknowledge PBR programming before actual hardware programming was complete, which could result in external controllers sending traffic to NHGs not yet viable, causing packet loss.
In previous implementations, PBR sent an early acknowledgment to the controller when it initial programmed a policy on an interface. Actual NHG programming in hardware occurred asynchronously, which could lead to the controller directing traffic to an NHG before hardware resources were ready and cause potential traffic loss.
Starting with Cisco IOS XR Release 26.2.1, with this feature, the router
-
separates request acceptance from final hardware readiness
-
returns a Sync-Ack after it validates the request, and
-
sends the final INUSE-ACK or INUSE-NACK from RIB to SL-API and then from SL-API to controller once the NHG is successfully created in the system.
The final acknowledgment is a reliable indication that the router completed NHG programming in hardware and NHG is ready for traffic.
Benefits of PBR asynchronous INUSE-ACK
This feature provides the following benefits:
-
Prevents the controller from treating request acceptance as programming completion.
-
Gives the controller a reliable signal for when traffic can use the NHG.
-
Aligns PBR more closely with the asynchronous programming model used by other SL-API verticals.
-
Improves visibility into request completion and acknowledgment state.
-
Improves performance and addresses the ability to scale to 8,000 rules per PBR policy, meeting P200 platform scale requirements.