segment-routing ipv6 (BGP-VPN instance IPv4 address family view)

Function

The segment-routing ipv6 best-effort command enables a device to perform private network route iteration to an SRv6 BE based on SIDs carried in routes.

The segment-routing ipv6 traffic-engineer command enables a device to perform private network route iteration to an SRv6 TE Policy based on SIDs carried in routes.

The segment-routing ipv6 traffic-engineer best-effort command enables a device to recurse routes preferentially to an SRv6 TE Policy. If the SRv6 TE Policy tunnel fails, routes recurse to an SRv6 BE tunnel as the best-effort path.

The undo segment-routing ipv6 best-effort command, the undo segment-routing ipv6 traffic-engineer command and the undo segment-routing ipv6 traffic-engineer best-effort command restore the default configuration.

By default, this function is disabled.

Format

segment-routing ipv6 { best-effort | traffic-engineer } *

undo segment-routing ipv6 { best-effort | traffic-engineer } *

Parameters

Parameter Description Value
best-effort

Set the iteration mode to SRv6 BE.

-

traffic-engineer

Set the iteration mode to SRv6 TE Policy.

-

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 a SRv6 VPN scenario, the segment-routing ipv6 { best-effort | traffic-engineer } * command enables private network routes to recurse to an SRv6 BE or TE policy based on SIDs carried in routes.

When the BE and TE parameters both exists, if the SRv6 TE policy becomes faulty, services can use the SRv6 BE tunnel as a best-effort path.

Example

# Enable the device to perform private network route iteration based on the SIDs carried in routes.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >