The mpls ldp-lsp-number threshold-alarm command configures the alarm threshold for LDP label switched path (LSP) usage.
The undo mpls ldp-lsp-number threshold-alarm command restores the default setting.
The default upper limit of the alarm threshold for LDP LSP usage is 80%. The default lower limit of the clear alarm threshold for LDP LSP usage is 75%.
The default upper limit of the alarm threshold for LDP LSP usage is 80%. The default lower limit of the clear alarm threshold for LDP LSP usage is 75%.
Parameter | Description | Value |
---|---|---|
lower-limit lower-limit-value |
Specifies the lower limit of the clear alarm threshold for LDP LSP usage. |
The value is an integer ranging from 1 to 100, represented in percentage. The value must be smaller than the value of upper limit. Using the default value of 75 is recommended. |
upper-limit upper-limit-value |
Specifies the upper limit of the alarm threshold for LDP LSP usage. |
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 of 80 is recommended. |
Usage Scenario
If the number of LDP LSPs in the system reaches a specific limit, establishing additional LDP LSPs may fail because of insufficient resources. To facilitate user operation and maintenance, enable an alarm to be generated when the number of LDP LSPs reaches the specific limit. To configure the alarm threshold for LDP LSP usage, run the mpls ldp-lsp-number threshold-alarm command. The parameters in this command are described as follows:
Precautions