Overview
Describes how BGP groups neighbors into update groups to optimize update generation and explains mechanisms to mitigate the impact of slow peers on update throughput.
BGP slow peer management is a Border Gateway Protocol (BGP) mechanism that
-
groups neighbors into update groups based on address-family configuration and shared update content
-
formats updates once per group, transmits them to all members, and retains updates until all members acknowledge receipt, and
-
mitigates the impact of slow peers to prevent group-wide backlogs and maintain update throughput.
How update groups work
| Feature Name |
Release |
Description |
|---|---|---|
| BGP Slow Peer |
Release 7.9.1 | BGP neighbors are grouped together to optimize update generation. BGP peers process the incoming BGP update messages at different rates. A slow peer is a peer that is processing incoming BGP update messages very slowly over a long period of time compared to other peers in the update sub-group. BGP slow peer handling is necessary to reduce the impact of the slow peer on the remaining members of the group. This feature introduces the following commands: This feature modifies the following commands:
|
-
BGP neighbors are grouped using common criteria, such as the neighbor address-family configuration and processing of the same update messages, to optimize update generation.
-
For each group, messages are formatted once and transmitted to all members; messages are deleted only after all members acknowledge receipt.
-
Update generation operates per address family. A peer refers to a neighbor address family, and peers in a sub-group are neighbors for the same address family.
-
Processor is busy handling other tasks and cannot process updates on time.
-
Peers are connected over slow bandwidth links.
-
Temporary network congestion affects timely processing.
-
BGP enforces limits on update messages per process, per address family, and per sub-group. The default sub-group message limit is 32 Mbytes.
-
If one or more peers are extremely slow to process messages, those messages remain queued until acknowledged by all peers in the sub-group.
-
When the sub-group message limit is reached, all neighbors in the sub-group must wait for the slowest peer to catch up, which slows every member of the sub-group.
Slow peer management reduces these impacts by isolating or otherwise mitigating the effects of slow processing peers.
BGP distinguishes configuration types from runtime states for peers that process updates slowly. Understanding both helps you choose the right mitigation and verify behavior in operation.
Slow peer types-
Static slow peer: Moves the peer to its own update group and requires no additional slow‑peer handling.
-
Dynamic slow peer: Keeps the peer in the original group; when detected as slow, processing occurs in a refresh sub‑group.
-
Static slow peer: The neighbor address family is in the static slow peer state.
-
Dynamic detected slow peer: The neighbor address family is detected as slow and is being processed.
-
Not slow peer: The neighbor address family is not currently slow.
| Type |
Typical runtime state |
Operational behavior |
|---|---|---|
| Static | Static slow peer | Isolated in its own update group; no additional slow‑peer handling. |
| Dynamic | Dynamic detected slow peer or Not slow peer | Remains grouped; when detected slow, updates are handled in a refresh sub‑group. |
| None | Not slow peer | No slow‑peer handling. |