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.
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.
<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
<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