segment-routing ipv6 best-effort evpn

Function

The segment-routing ipv6 best-effort evpn command enables SRv6 EVPN L3VPN, enables a device to recurse routes based on the SID attribute carried in EVPN routes.

The undo segment-routing ipv6 best-effort evpn command disables SRv6 EVPN L3VPN, disables a device from recursing routes based on the SID attribute carried in EVPN routes.

By default, SRv6 EVPN L3VPN is not enabled, route recursion based on the SID attribute carried in EVPN routes is not enabled.

Format

segment-routing ipv6 best-effort evpn

undo segment-routing ipv6 best-effort evpn

Parameters

None

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

To enable route recursion over an SRv6 BE tunnel based on the SID attribute in EVPN routes, run the segment-routing ipv6 best-effort evpn command.

Example

# Enable route recursion based on the SID attribute carried in EVPN routes.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instatnce 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 evpn
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >