Configure the following parameters in the preceding command:
By default, the upper threshold for alarms is 80%, and the lower threshold for clear alarms is 75%, which are recommended.
The mpls cspf threshold-alarm command only configures the trigger conditions for alarms and clear alarms. Although trigger conditions are met, an 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.
After the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcetotalcountexceed | hwmplsresourcetotalcountexceedclear } command is run to enable the device to generate maximum number-reaching alarms and their clear alarms, the following situations occur:
If the number of used CSPF resources reaches the maximum number of CSPF resources supported by a device, a maximum number-reaching alarm is generated.
If the number of used CSPF resources falls to 95% or below of the maximum number of CSPF resources supported by a device, a clear alarm is generated.