redirect tunnelv6 tunnel-selector

Function

The redirect tunnelv6 tunnel-selector command enables a device to recurse routes carrying the redirection IPv6 next-hop address, color, and prefix SID attributes to tunnels.

The undo redirect tunnelv6 tunnel-selector command restores the default configuration.

By default, routes carrying the redirection IPv6 next-hop address, color, and prefix SID attributes cannot recurse to tunnels.

Format

redirect tunnelv6 tunnel-selector tunnel-selector-name

undo redirect tunnelv6 tunnel-selector [ tunnel-selector-name ]

Parameters

Parameter Description Value
tunnel-selector-name

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-Flow address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

When configuring dynamic BGP Flow Specification, you need to run the redirect tunnelv6 tunnel-selector command and the peer redirect tunnelv6 command together. The BGP Flow route can recurse to an SRv6 TE Policy only when both commands are run.

When configuring static BGP Flow Specification, you must run the redirect tunnelv6 tunnel-selector command and the apply redirect ipv6 command together. BGP flow routes can recurse to SRv6 TE Policies only when both commands are run.

Precautions

The SRv6 TE Policy Group of tunnel is not supported in a tunnel selector specified in the command.

Example

# Configure the device to recurse routes carrying the redirection IPv6 next-hop address, color, and prefix SID attributes 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 10.1.1.1 as-number 200
[*HUAWEI-bgp] ipv4-family flow
[*HUAWEI-bgp-af-ipv4-flow] redirect tunnelv6 tunnel-selector ts1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >