< Home

Configuring Alarm and Clear Alarm Thresholds for the Number of BGP Routes

Context

There are a limited number of BGP routes that can be added to a routing table. If the limit is reached, new routes cannot be added, which may interrupt services. To address this problem, configure alarm and clear alarm thresholds for the number of BGP routes as required. With the alarm and clear alarm thresholds, alarms are generated and cleared as expected. The alarms prompt you to check whether an exception occurs and to take preventive measures.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  3. Run routing-table limit threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

    Alarm and clear alarm thresholds are configured for the number of BGP routes.

    • upper-limit-value specifies the alarm threshold. If the ratio of BGP routes to the maximum number that is allowed exceeds the alarm threshold, an alarm is generated.
    • lower-limit-value specifies the clear alarm threshold. If the ratio of BGP routes to the maximum number that is allowed falls below this threshold, the alarm is cleared.
    • upper-limit-value must be greater than lower-limit-value; otherwise, alarms are generated and cleared repeatedly if route flapping occurs.

    By default, upper-limit-value is 80%, and lower-limit-value is 70%.

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