Configuring Conditions That Trigger LDP Resource Threshold-Reaching Alarms

Conditions that trigger LDP resource threshold-reaching alarms can be configured. If the number of remote LDP adjacencies or the number of outsegment entries reaches a specified upper alarm threshold, the device can report an alarm to an NMS.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls

    The MPLS view is displayed.

  3. Run one or more of the following commands:
    • Run mpls remote-adjacency-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

      Conditions that trigger the threshold-reaching alarm and its clear alarm for remote LDP adjacencies are configured.

    • Run mpls outsegment-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

      Conditions that trigger the threshold-reaching alarm and its clear alarm for outsegment entries are configured.

    • Run mpls mldp-tree-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

      The upper and lower alarm thresholds for the number of mLDP LSPs are set.

    • Run mpls mldp-branch-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

      The upper and lower alarm thresholds for the number of mLDP sub-LSPs are set.

    Configure the following parameters in the preceding command:

    • upper-limit-value: specifies the upper alarm threshold of the proportion of used LDP resources to all LDP resources supported by a device.
    • lower-limit-value: specifies the lower alarm threshold for the proportion of used LDP resources to all LDP resources supported by a device.
    • upper-limit-value must be greater than lower-limit-value.

    By default, the upper threshold for alarms is 80% and the lower threshold for clear alarms is 75%.

    • Each command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcethresholdexceed | hwmplsresourcethresholdexceedclear } command is run to enable the device to generate an LDP resource insufficiency alarm and its clear alarm.

    • After the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcetotalcountexceed | hwmplsresourcetotalcountexceedclear } command is run to enable the device to generate an LDP resource insufficiency alarm and its clear alarm, note the following issues:

      • If the number of used LDP resources reaches the maximum number of LDP resources supported by a device, a maximum number-reaching alarm is generated.

      • If the number of used LDP resources falls to 95% or below of the maximum number of LDP resources supported by a device, a clear alarm is generated.

  4. Run commit

    The configuration is committed.

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