< Home

mpls bfd-te-number threshold-alarm

Function

The mpls bfd-te-number threshold-alarm command configures the conditions that trigger the threshold-reaching alarm and its clear alarm for dynamic BFD sessions for TE.

The undo mpls bfd-te-number threshold-alarm command restores the default settings.

By default, the upper alarm threshold is 80%, and the lower alarm threshold is 75%.

Format

mpls bfd-te-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

undo mpls bfd-te-number threshold-alarm

Parameters

Parameter Description Value
upper-limit upper-limit-value

Sets the upper alarm threshold for the proportion of established dynamic BFD sessions for TE to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. Using a value larger than 95 is not recommended. Using the default value 80 is recommended.
lower-limit lower-limit-value

Sets the lower alarm threshold for the proportion of established dynamic BFD sessions for TE to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. The value must be smaller than the value of upper-limit-value. Using the default value 75 is recommended.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the number of dynamic BFD sessions for TE reaches a specified upper limit, new dynamic BFD sessions for TE cannot be configured due to insufficient resources. To alert the administrator in operation and maintenance, enable a device to generate an alarm when the proportion of established dynamic BFD sessions for TE to all supported ones reaches a specified upper alarm threshold. The following parameters can be configured in the mpls bfd-te-number threshold-alarm command:

  • upper-limit-value: upper alarm threshold. If the proportion of established dynamic BFD sessions for TE to all supported ones reaches the upper alarm threshold, an alarm can be generated.
  • lower-limit-value: lower alarm threshold. If the proportion of established dynamic BFD sessions for TE to all supported ones falls below the lower alarm threshold, a clear alarm can be generated.

Precautions

  • If the mpls bfd-te-number threshold-alarm command is run more than once, the latest configuration overrides the previous one.

  • The mpls bfd-te-number threshold-alarm 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 MPLS resource insufficiency alarm and its clear alarm.

Example

# Configure conditions that trigger the threshold-reaching alarm and its clear alarm for dynamic BFD sessions for TE.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls bfd-te-number threshold-alarm upper-limit 90 lower-limit 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >