The sr-te-policy threshold-alarm command is used to set the threshold for the number of the SR-MPLS TE policy and the segment list.
The undo sr-te-policy threshold-alarm command is used to restore the default threshold for the number of the SR-MPLS TE policy and the segment list.
By default, the upper limit of the threshold is 80% and the lower limit is 75%.
sr-te-policy policy-number threshold-alarm upper-limit upperLimitValue lower-limit lowerLimitValue
sr-te-policy segment-list-number threshold-alarm upper-limit upperLimitValue lower-limit lowerLimitValue
undo sr-te-policy policy-number threshold-alarm
undo sr-te-policy segment-list-number threshold-alarm
Parameter | Description | Value |
---|---|---|
lower-limit lowerLimitValue |
Set the upper-limit value (the default value is 75). |
The value is an integer that ranges from 1 to 99, in percentage. |
segment-list-number |
Specifies to set the threshold number of Segment List. |
- |
upper-limit upperLimitValue |
Set the upper-limit value (the default value is 80). |
The value is an integer that ranges from 2 to 100, in percentage. |
policy-number |
Specifies to set the threshold number of SR-MPLS TE Policy. |
- |
<HUAWEI> system-view [~HUAWEI] segment-routing [*HUAWEI-segment-routing] undo sr-te-policy segment-list-number threshold-alarm
<HUAWEI> system-view [~HUAWEI] segment-routing [*HUAWEI-segment-routing] undo sr-te-policy policy-number threshold-alarm
<HUAWEI> system-view [~HUAWEI] segment-routing [*HUAWEI-segment-routing] sr-te-policy segment-list-number threshold-alarm upper-limit 90 lower-limit 70
<HUAWEI> system-view [~HUAWEI] segment-routing [*HUAWEI-segment-routing] sr-te-policy policy-number threshold-alarm upper-limit 90 lower-limit 70