The segment-routing ipv6 traffic-engineer evpn command enables SRv6 EVPN L3VPN, enables EVPN L3VPN services to recurse to an SRv6 TE policy.
The undo segment-routing ipv6 traffic-engineer evpn command restores the default configuration.
By default, SRv6 EVPN L3VPN is not enabled, EVPN L3VPN services do not recurse to an SRv6 TE policy.
Usage Scenario
In an EVPN L3VPN scenario, if you want to use an SRv6 TE policy to carry service traffic, run the segment-routing ipv6 traffic-engineer evpn command in a specified EVPN L3VPN 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 L3VPN instance has been created.
Configuration Impact
If both the segment-routing ipv6 traffic-engineer evpn command and the segment-routing ipv6 best-effort evpn command are run, a later configuration overrides a previous one.
<HUAWEI> system-view [~HUAWEI] ip vpn-instatnce vpn1 [*HUAWEI-vpn-instance-vpn1] ipv4-family [*HUAWEI-vpn-instance-vpn1-af-ipv4] route-distinguisher 100:2 [*HUAWEI-vpn-instance-vpn1-af-ipv4] vpn-target 100:2 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 traffic-engineer evpn
<HUAWEI> system-view [~HUAWEI] ip vpn-instatnce vpn1 [*HUAWEI-vpn-instance-vpn1] ipv6-family [*HUAWEI-vpn-instance-vpn1-af-ipv6] route-distinguisher 100:1 [*HUAWEI-vpn-instance-vpn1-af-ipv6] vpn-target 100:1 both [*HUAWEI-vpn-instance-vpn1-af-ipv6] quit [*HUAWEI-vpn-instance-vpn1] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] ipv6-family vpn-instance vpn1 [*HUAWEI-bgp-6-vpn1] segment-routing ipv6 traffic-engineer evpn