path verification (SRv6 TE Policy view)

Function

The path verification enable command enables fault detection for a specified SRv6 TE Policy.

The path verification specified-sid enable command enables fault detection enhancement for a specified SRv6 TE Policy.

The path verification disable command disables fault detection enhancement for a specified SRv6 TE Policy.

The undo path verification command deletes the fault detection configuration of a specified SRv6 TE Policy, enabling the device to inherit the srv6-te-policy path verification command configuration in the SRv6 view.

By default, fault detection is not enabled for an SRv6 TE Policy.

Format

path verification { enable | disable }

path verification specified-sid enable

undo path verification [ { enable | disable } ]

undo path verification specified-sid enable

Parameters

Parameter Description Value
specified-sid

Specifies the SID of a segment list.

-

Views

SRv6 TE policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
srpolicy write

Usage Guidelines

Usage Scenario

To enable fault detection for a specified SRv6 TE Policy, run the path verification enable command. To disable fault detection for a specified SRv6 TE Policy, run the path verification disable command.

If the SRv6 TE Policy view does not have fault detection configuration or the undo path verification command has been run, the srv6-te-policy path verification command configuration in the SRv6 view is inherited.

After fault detection is enabled, The SRPOLICY component check the reachability of the SIDs in the segment list referenced by the SRv6 TE Policy. If they are reachable, the fault detection check of the segment list is up, and vice versa.

Example

# Enable fault detection for an SRv6 TE Policy.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] srv6-te policy p1 endpoint 2001:DB8:1::1 color 100
[*HUAWEI-segment-routing-ipv6-policy-p1] path verification enable
# Enable fault detection enhancement for an SRv6 TE Policy.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] srv6-te policy p1 endpoint 2001:DB8:1::1 color 100
[*HUAWEI-segment-routing-ipv6-policy-p1] path verification specified-sid enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >