The segment-routing ipv6 best-effort command enables a device to perform private network route iteration to an SRv6 BE based on SIDs carried in routes.
The segment-routing ipv6 traffic-engineer command enables a device to perform private network route iteration to an SRv6 TE Policy based on SIDs carried in routes.
The segment-routing ipv6 traffic-engineer best-effort command enables a device to recurse routes preferentially to an SRv6 TE Policy. If the SRv6 TE Policy tunnel fails, routes recurse to an SRv6 BE tunnel as the best-effort path.
The undo segment-routing ipv6 best-effort command, the undo segment-routing ipv6 traffic-engineer command and the undo segment-routing ipv6 traffic-engineer best-effort command restore the default configuration.
By default, this function is disabled.
Usage Scenario
In a SRv6 VPN scenario, the segment-routing ipv6 { best-effort | traffic-engineer } * command enables private network routes to recurse to an SRv6 BE or TE policy based on SIDs carried in routes.
When the BE and TE parameters both exists, if the SRv6 TE policy becomes faulty, services can use the SRv6 BE tunnel as a best-effort path.<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpn1 [*HUAWEI-vpn-instance-vpn1] ipv4-family [*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpn1-af-ipv4] vpn-target 100:1 both [*HUAWEI-vpn-instance-vpn1-af-ipv4] quit [*HUAWEI-vpn-instance-vpn1] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv4-family vpn-instance vpn1 [*HUAWEI-bgp-vpn1] segment-routing ipv6 best-effort