segment-routing ipv6 traffic-engineer evpn

Function

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.

Format

segment-routing ipv6 traffic-engineer [ best-effort ] evpn

segment-routing ipv6 best-effort traffic-engineer evpn

undo segment-routing ipv6 traffic-engineer [ best-effort ] evpn

undo segment-routing ipv6 best-effort traffic-engineer evpn

Parameters

Parameter Description Value
best-effort

Indicates that services can use an SRv6 BE tunnel as a best-effort path if an SRv6 TE policy is faulty.

-

Views

BGP-VPN instance IPv4 address family view, BGP-VPN instance IPv6 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

# Enable EVPN L3VPNv4 services to recurse to an SRv6 TE policy.
<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
# Enable EVPN L3VPNv6 services to recurse to an SRv6 TE policy.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >