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

Function

The peer redirect ipv6 recursive-lookup tunnel command enables a device to recurse the BGP IPv6 Flow Specification routes received from a peer to a tunnel.

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

By default, a device cannot recurse the BGP IPv6 Flow Specification route received from a peer to a tunnel.

Format

peer { ipv4-address | ipv6-address } redirect ipv6 recursive-lookup tunnel tunnel-selector tunnel-selector-name

undo peer { ipv4-address | ipv6-address } redirect ipv6 recursive-lookup tunnel

undo peer { ipv4-address | ipv6-address } redirect ipv6 recursive-lookup tunnel tunnel-selector tunnel-selector-name

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a BGP peer.

The value is in dotted decimal notation.

ipv6-address

Specifies the IPv6 address of a BGP peer.

The value is in the format of X:X:X:X:X:X:X:X.

tunnel-selector tunnel-selector-name

Specifies the name of a 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 dynamic BGP IPv6 Flow Specification scenario, to trigger recursion to a tunnel, run the peer redirect ipv6 recursive-lookup tunnel command.

Example

# Configure the device to recurse BGP IPv6 Flow Specification routes to tunnels.
<HUAWEI> system-view
[~HUAWEI] tunnel-selector ts1 permit node 1
[*HUAWEI-tunnel-selector] commit
[~HUAWEI-tunnel-selector] quit
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:DB8:1::1 as-number 200
[*HUAWEI-bgp] ipv6-family flow
[*HUAWEI-bgp-af-ipv6-flow] peer 2001:DB8:1::1 redirect ipv6 recursive-lookup tunnel tunnel-selector ts1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >