srv6-te-policy path verification enable

Function

The srv6-te-policy path verification enable command enables fault detection for all SRv6 TE Policies.

The undo srv6-te-policy path verification enable command disables fault detection for all SRv6 TE Policies.

By default, the fault detection function for all SRv6 TE Policies is disabled.

Format

srv6-te-policy path verification enable

srv6-te-policy path verification specified-sid enable

undo srv6-te-policy path verification enable

undo srv6-te-policy path verification specified-sid enable

Parameters

None

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 the srv6-te-policy path verification enable command to enable fault detection for all SRv6 TE Policies. After the fault detection function is enabled, the SRPOLICY module checks the reachability of the SIDs in the segment list referenced by the SRv6 TE Policy. If they are reachable, the status of the segment list is up, and vice versa.

The fault detection function does not apply to inter-domain SIDs or binding SIDs and will cause the segment list to go down. To resolve the problem, you can run the srv6-te-policy path verification specified-sid enable command to enable the fault detection enhancement function for all SRv6 TE Policies.

After the fault detection enhancement function is enabled, only the SIDs with the verification parameter specified can be checked in the segment list. When the index sid ipv6 command is delivered, do not specify the verification parameter for the inter-domain SIDs and binding SIDs so that these SIDs can be ignored when the fault detection enhancement function is enabled.

Example

# Enables fault detection for all SRv6 TE Policies.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] srv6-te-policy path verification enable
# Enable fault detection enhancement for all SRv6 TE Policies.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] srv6-te-policy path verification specified-sid enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >