srv6-te-policy threshold-alarm

Function

The srv6-te-policy threshold-alarm command configures upper and lower thresholds for the number of SRv6 TE Policy-related resources.

The undo srv6-te-policy threshold-alarm command restores the default upper and lower thresholds for the number of SRv6 TE Policy-related resources.

By default, the upper limit is 80% and the lower limit is 75%.

Format

srv6-te-policy segment-list-number threshold-alarm upper-limit upperLimitValue lower-limit lowerLimitValue

srv6-te-policy policy-number threshold-alarm upper-limit upperLimitValue lower-limit lowerLimitValue

undo srv6-te-policy segment-list-number threshold-alarm [ upper-limit upperLimitValue lower-limit lowerLimitValue ]

undo srv6-te-policy policy-number threshold-alarm [ upper-limit upperLimitValue lower-limit lowerLimitValue ]

Parameters

Parameter Description Value
lower-limit lowerLimitValue

Specifies the lower limit. The default value is 75.

The value is an integer that ranges from 1 to 99, in percentage.

policy-number

Specifies a threshold for the number of SRv6 TE Policies.

-

upper-limit upperLimitValue

Specifies the upper limit. The default value is 80.

The value is an integer that ranges from 2 to 100, in percentage.

segment-list-number

Specifies a threshold for the number of segment lists.

-

Views

Segment routing IPv6 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

You can run this command to configure upper and lower thresholds for the number of SRv6 TE Policy-related resources. By default, the upper limit is 80% and the lower limit is 75%.

Example

# Restore the default threshold for the number of SRv6 TE Policies.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] undo srv6-te-policy policy-number threshold-alarm
# Set the upper and lower thresholds for the number of SRv6 TE Policies.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] srv6-te-policy policy-number threshold-alarm upper-limit 90 lower-limit 70
# Restore the default threshold for the number of segment lists.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] undo srv6-te-policy segment-list-number threshold-alarm
# Set the upper and lower thresholds for the number of segment lists.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] srv6-te-policy segment-list-number threshold-alarm upper-limit 90 lower-limit 70
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >