bypass (SRv6 locator End-AS view)

Function

The bypass sid command is used to configure the protection path used when an SF service fails.

The undo bypass sid command is used to cancel the configuration of the protection path when the SF service is faulty.

By default, no bypass path is configured.

Format

bypass [ sid ipv6-address ]

undo bypass [ sid ipv6-address ]

Parameters

Parameter Description Value
sid ipv6-address

Valid End.AS SID of other protection devices in the SF group.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

SRv6 locator End-AS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
segr write

Usage Guidelines

Usage Scenario

When the SF service is faulty, the bypass path is degraded to the original SRv6 forwarding. If a backup SF is configured, you can configure the bypass path to be configured as the backup SF. The application scenarios are as follows:

  1. When the SF service is faulty, the traffic is discarded by default.
  2. If the bypass keyword is configured but the bypass SID value is not carried, the SF is skipped and the original SRv6 forwarding is degraded.
  3. If the bypass keyword is configured and the bypass SID value is SF2, the SF2 protection SF is considered and the traffic is forwarded to the SF2 for service processing.

Example

# Configure the bypass path without bypass SID.
<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] opcode ::12 end-as
[*HUAWEI-segment-routing-ipv6-locator-endas-::12] bypass
# Configure the bypass path, where bypass SID is 7::8.
<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] opcode ::12 end-as
[*HUAWEI-segment-routing-ipv6-locator-endas-::12] bypass sid 7::8
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >