The segment-routing ipv6 traffic-engineer command enables EVPN VPWS/VPLS services to recurse to an SRv6 TE Policy.
The undo segment-routing ipv6 traffic-engineer command restores the default configuration.
By default, EVPN VPWS/VPLS services do not recurse to an SRv6 TE Policy.
Usage Scenario
In an EVPN VPWS scenario, if you want to use an SRv6 TE Policy to carry service traffic, run the segment-routing ipv6 traffic-engineer command in a specified VPWS EVPN instance. In this way, EVPN routes recurse to the SRv6 TE Policy, and service traffic is forwarded over the SRv6 TE Policy.
In an EVPN VPLS scenario, if you want to use an Policy to carry service traffic, run the segment-routing ipv6 traffic-engineer command in a specified BD EVPN instance. In this way, EVPN routes recurse to the SRv6 TE Policy, and service traffic is forwarded over the SRv6 TE Policy. To improve reliability, you can configure the best-effort parameter when an SRv6 BE tunnel exists on the network. With this parameter configured, if the SRv6 TE Policy becomes faulty, services can use the SRv6 BE tunnel as a best-effort path.Prerequisites
An RD has been configured for an EVPN instance.
Configuration Impact
If both the segment-routing ipv6 traffic-engineer command and the segment-routing ipv6 best-effort command are run, a later configuration overrides a previous one.
<HUAWEI> system-view [~HUAWEI] evpn vpn-instance v1 bd-mode [*HUAWEI-evpn-instance-v1] route-distinguisher 2:2 [*HUAWEI-evpn-instance-v1] segment-routing ipv6 traffic-engineer
<HUAWEI> system-view [~HUAWEI] evpn vpn-instance v1 vpws [*HUAWEI-vpws-evpn-instance-v1] route-distinguisher 2:2 [*HUAWEI-vpws-evpn-instance-v1] segment-routing ipv6 traffic-engineer