local-route redirect ipv6 recursive-lookup tunnel (BGP-IPv6-flow address family view)

Function

The local-route redirect ipv6 recursive-lookup tunnel command enables local static BGP IPv6 Flow Specification routes to recurse to a tunnel.

The undo local-route redirect ipv6 recursive-lookup tunnel command restores the default configuration.

By default, a local static BGP IPv6 Flow Specification route cannot recurse to a tunnel.

Format

local-route redirect ipv6 recursive-lookup tunnel tunnel-selector tunnel-selector-name

undo local-route redirect ipv6 recursive-lookup tunnel

undo local-route redirect ipv6 recursive-lookup tunnel tunnel-selector tunnel-selector-name

Parameters

Parameter Description Value
tunnel-selector tunnel-selector-name

Specifies the name of the tunnel policy selector.

The value is a string of 1 to 40 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed with double quotation marks (").

Views

BGP-IPv6-flow address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In a static BGP IPv6 Flow Specification scenario, both the local-route redirect ipv6 recursive-lookup tunnel and apply redirect ipv6 color prefix-sid commands must be run so that routes can recurse to tunnels.

Example

# Enable local static BGP IPv6 Flow Specification routes to recurse to a tunnel.
<HUAWEI> system-view
[~HUAWEI] tunnel-selector ts1 permit node 1
[*HUAWEI-tunnel-selector] commit
[~HUAWEI-tunnel-selector] quit
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv6-family flow
[*HUAWEI-bgp-af-ipv6-flow] local-route redirect ipv6 recursive-lookup tunnel tunnel-selector ts1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >