Disabling the PAF Restriction for the Feature Indicating Whether the Number of Received BGP Routes Exceeds the Upper Limit

You can disable the PAF restriction for the feature indicating whether the number of routes received from all peers in a BGP address family exceeds the upper limit. This configuration allows a device to continue to receive routes even after the number exceeds the upper limit.

Usage Scenario

By default, the PAF restriction is enabled for the feature indicating whether the number of routes received from all peers in a BGP address family exceeds the upper limit. With the PAF restriction, if the number of received routes exceeds 80% of the upper limit, a threshold alarm is generated. If the number exceeds the upper limit, a threshold-crossing alarm is generated, and the excess routes are discarded. To enable the local device to continue to receive routes even after the number exceeds the upper limit, run the bgp paf feature off command to disable the PAF restriction for this feature.

Currently, disabling the PAF restriction is supported only for the feature indicating whether the number of routes received from all peers in a BGP address family exceeds the upper limit. If the PAF restriction is disabled on a BGP device, the device can still learn routes when the upper limit is exceeded, but this may consume excessive memory and affect other services. In addition, the device may be forced to restart if the memory is depleted. Therefore, disabling the PAF restriction is not recommended.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp paf feature featureName off

    The PAF restriction is disabled for the feature indicating whether the number of routes received from all peers in a BGP address family exceeds the upper limit.

  3. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >