The mpls forward-resource threshold-alarm command configures the conditions that trigger the threshold-reaching alarm and its clear alarm for MPLS forwarding resources.
The undo mpls forward-resource threshold-alarm command restores the default settings.
By default, the upper alarm threshold is 85%, and the lower alarm threshold is 75%.
mpls forward-resource threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value
undo mpls forward-resource threshold-alarm
Parameter | Description | Value |
---|---|---|
upper-limit upper-limit-value | Sets the upper alarm threshold. |
The value is an integer ranging from 2 to 100, represented in percentage. |
lower-limit lower-limit-value | Sets the lower alarm threshold. |
The value is an integer ranging from 1 to (upper-limit-value-1), represented in percentage. |
Usage Scenario
If the number of MPLS forwarding resources reaches a specified upper limit, new MPLS forwarding entries 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 MPLS forwarding resources reaches a specified upper alarm threshold. The following parameters can be configured in the mpls forward-resource threshold-alarm command:
Precautions
If the mpls forward-resource threshold-alarm command is run more than once, the latest configuration overrides the previous one.
The mpls forward-resource 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 trap-name { hwboardmplsfwdreslack | hwboardmplsfwdreslackresume } command is run to enable the device to generate MPLS forwarding resources insufficiency alarm and its clear alarm.