The slow-peer absolute-detection threshold command enables slow peer detection.
The undo slow-peer absolute-detection threshold command disables slow peer detection.
By default, slow peer detection is enabled, and the slow peer detection threshold is 300s.
Parameter | Description | Value |
---|---|---|
threshold threshold |
Specifies a slow peer detection threshold. If the difference between the time taken to send packets to BGP peer 1 and the shortest time taken to send packets to BGP peer 2 is greater than the threshold, BGP peer 1 is considered as a slow peer. |
The value is an integer ranging from 3 to 3600, in seconds. The default value is 300. |
Usage Scenario
After slow peer detection is enabled, the local device calculates the difference between the time taken to send Update messages to each BGP peer and the shortest time taken to send Update messages to a BGP peer in the group. If the difference between the time taken to send Update messages to BGP peer 1 and the shortest time is greater than the specified threshold, the local device considers BGP peer 1 as a slow peer and removes it from the update peer-group. The removal of the slow peer prevents this slow peer from affecting update message advertisement to other peers in the group. If Update messages fail to be advertised, the traditional slow peer detection function cannot be used to detect slow peers. To address this problem, configure an absolute threshold for slow peer detection. If the delay in sending Update messages to a peer is greater than the absolute threshold, the peer is considered a slow peer.
To configure an absolute threshold for slow peer detection, run the slow-peer absolute-detection threshold command.