ipv6 avoid-microloop segment-routing

Function

The ipv6 avoid-microloop segment-routing command enables the anti-microloop function in SRv6.

The undo ipv6 avoid-microloop segment-routing command disables the anti-microloop function in SRv6.

By default, this function is disabled.

Format

ipv6 avoid-microloop segment-routing

undo ipv6 avoid-microloop segment-routing

Parameters

None

Views

IS-IS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
isis write

Usage Guidelines

Usage Scenario

If a network fault occurs or is rectified, an IGP performs route convergence. A transient forwarding status inconsistency between nodes results in different convergence rates on devices, which poses the risk of micro-loops. After anti-micro loop is enabled for SRv6, the ingress forwards packets strictly along an explicit path during IGP convergence. The forwarding is irrelevant to IGP convergence of devices, which prevents micro-loops.

Follow-up Procedure

Run the ipv6 avoid-microloop segment-routing rib-update-delay command to set a delay time for a route next hop switchback.

Example

# Enable the anti-microloop function in SRv6.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] locator test1 ipv6-prefix 2001:DB8:100:: 64 static 32
[*HUAWEI-segment-routing-ipv6-locator] quit
[*HUAWEI-segment-routing-ipv6] quit
[*HUAWEI] isis 1
[*HUAWEI-isis-1] ipv6 enable
[*HUAWEI-isis-1] cost-style wide
[*HUAWEI-isis-1] segment-routing ipv6 locator test1 auto-sid-disable
[*HUAWEI-isis-1] ipv6 avoid-microloop segment-routing
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >