segment-routing ipv6 best-effort (EVPN instance view)

Function

The segment-routing ipv6 best-effort command enables route recursion over a tunnel based on the SID attribute carried in routes.

The undo segment-routing ipv6 best-effort command disables route recursion over a tunnel based on the SID attribute carried in routes.

By default, route recursion over a tunnel based on the SID attribute carried in routes is not enabled.

Format

segment-routing ipv6 best-effort

undo segment-routing ipv6 best-effort

Parameters

None

Views

BD EVPN view, VPWS-EVPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In an EVPN VPWS or EVPN VPLS scenario, if service traffic needs to be carried over an SRv6 tunnel, the segment-routing ipv6 locator command can be run to add the SID attribute to the EVPN routes to be sent. In this case, devices also receive the EVPN routes carrying the SID attribute. To allow route recursion over a tunnel based on the SID attribute carried in routes, run the segment-routing ipv6 best-effort command.

Prerequisites

An RD has been configured for an EVPN instance.

Example

# Enable route recursion to a tunnel based on the SID attribute carried in EVPN routes in the BD-EVPN instance view.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance evrf2 bd-mode
[*HUAWEI-evpn-instance-evrf2] route-distinguisher 100:2
[*HUAWEI-evpn-instance-evrf2] segment-routing ipv6 best-effort
# Enable route recursion to a tunnel based on the SID attribute carried in EVPN routes in the VPWS-EVPN instance view.
<HUAWEI> system-view
[~HUAWEI] evpn vpn-instance evrf1 vpws
[*HUAWEI-vpws-evpn-instance-evrf1] route-distinguisher 100:1
[*HUAWEI-vpws-evpn-instance-evrf1] segment-routing ipv6 best-effort
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >