segment-routing ipv6 traffic-engineer

Function

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.

Format

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

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

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

BD EVPN view, VPWS-EVPN instance view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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.

Example

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