sr-te frr enable

Function

The sr-te frr enable command enables protection during SRv6 forwarding. The sr-te frr enable downgrade command enables FRR switching to the BE mode.

The undo sr-te frr enable command disables protection during SRv6 forwarding.

By default, protection during SRv6 forwarding is disabled.

By default, protection during SRv6 forwarding is disabled.

Format

sr-te frr enable [ downgrade ]

undo sr-te frr enable [ downgrade ]

Parameters

Parameter Description Value
downgrade

Switches the FRR mode.

-

Views

Segment routing IPv6 view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
segr write

Usage Guidelines

Usage Scenario

You can run the sr-te frr enable command to enable protection during SRv6 forwarding. With this function enabled, if the value of the SL field in a packet is greater than 0 or the value of the SL field in a packet with an SRH is 0, the device decreases the value by 1 and uses the next-layer SRv6 SID as the destination address to prevent packet forwarding failures in any of the following scenarios:

  • No available route is found due to a FIB-Miss error.
  • The IPv6 DA is the address of a local interface, the outbound interface is down, and TI-LFA FRR does not provide node protection.
  • The local SID is an End.X SID, and the outbound interface is down.
  • The route queried from the involved routing table is a NULL0 route.

    The downgrade parameter switches the protection mode to SRv6 BE and uses the last SID as the destination address for forwarding.

Precautions

  • TE FRR is supported during forwarding as long as the sr-te frr enable command is run in one VS.
  • TE FRR is not supported during forwarding only after the undo sr-te frr enable command is run in all VSs.

Example

# Enable BE mode protection during SRv6 forwarding.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] sr-te frr enable downgrade
# Enable protection during SRv6 forwarding.
<HUAWEI> system-view
[~HUAWEI] segment-routing ipv6
[*HUAWEI-segment-routing-ipv6] sr-te frr enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >