slow-peer detection (BGP-MVPN address family view)

Function

The slow-peer detection threshold command enables slow peer detection.

The undo slow-peer detection threshold command disables slow peer detection.

The slow-peer detection disable command disables slow peer detection.

The undo slow-peer detection disable command enables slow peer detection.

By default, slow peer detection is enabled, and the slow peer detection threshold is 300s.

Format

slow-peer detection threshold threshold-value

slow-peer detection disable

undo slow-peer detection [ threshold threshold-value ]

undo slow-peer detection disable

Parameters

Parameter Description Value
threshold threshold-value

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 120 to 3600, in seconds. The default value is 300.

Views

BGP-MVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

An update peer-group may consist of multiple BGP peers. If a network problem (congestion for example) occurs and slows down the speed at which the local device advertises routes to a BGP peer in the update peer-group, the speed at which the local device advertises routes to other BGP peers in the update peer-group is affected. To address this problem, run the slow-peer detection command to enable slow peer detection.

After slow peer detection is enabled, the local device calculates the difference between the time taken to send packets to each BGP peer and the shortest time taken to send packets to a BGP peer in the group. If the difference between the time taken to send packets to BGP peer 1 and the shortest time is greater than the threshold, the local device considers BGP peer 1 as a slow peer and removes it from the update peer-group, which prevents this slow peer from affecting route advertisement to other peers in the group.

Configuration Impact

If the command is run more than once, the latest configuration overrides the previous one.

Example

# Enable slow peer detection and set the slow peer detection threshold to 200s.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family mvpn
[*HUAWEI-bgp-af-mvpn] slow-peer detection threshold 200
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >