sr-te-policy threshold-alarm

Function

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%.

Format

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

Parameters

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.

-

Views

Segment routing view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

The command is used to set the threshold for the number of the SR-MPLS TE policy and Segment List. By default, the upper limit of the threshold is 80% and the lower limit is 75%.

Example

# Restore the default value of the Segment List threshold.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] undo sr-te-policy segment-list-number threshold-alarm
# Restore the default value of the number threshold of the SR-MPLS TE Policy.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] undo sr-te-policy policy-number threshold-alarm
# Set the upper and lower thresholds for the number of Segment Lists.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] sr-te-policy segment-list-number threshold-alarm upper-limit 90 lower-limit 70
# Set the upper and lower thresholds for the number of SR-MPLS TE policies.
<HUAWEI> system-view
[~HUAWEI] segment-routing
[*HUAWEI-segment-routing] sr-te-policy policy-number threshold-alarm upper-limit 90 lower-limit 70
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >