peer redirect tunnelv6

Function

The peer redirect tunnelv6 command enables a device to process the redirection next hop IPv6, color, and prefix SID attributes carried in BGP Flow Specification routes received from a peer.

The undo peer redirect tunnelv6 command restores the default configuration.

By default, a device cannot process the redirection next hop IPv6, color, and prefix SID attributes carried in BGP Flow Specification routes received from a peer.

Format

peer ipv4-address redirect tunnelv6

undo peer ipv4-address redirect tunnelv6

Parameters

Parameter Description Value
ipv4-address

Specify an IPv4 peer address.

The value is in dotted decimal notation.

Views

BGP-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 Flow Specification scenario, you can run the peer redirect tunnelv6 command to enable a device to process the redirection next hop IPv6, color, and prefix SID attributes carried in BGP Flow Specification routes received from a peer. To trigger traffic redirection to an SRv6 TE Policy tunnel, ensure that the redirect tunnelv6 tunnel-selector command and the peer redirect tunnelv6 command are both run.

Precautions

If a device with the peer redirect ip command configured receives messages carrying the redirection next hop attribute from the specified peer, the device redirects traffic to the IP address of the redirection next hop regardless of whether the peer redirect tunnelv6 command is run.

If a device with the peer redirect tunnelv6 command configured receives messages carrying only the redirection next hop IPv6 attribute from the specified peer, the device redirects traffic to the specified IPv6 tunnel.

Example

# Enable a device to process the redirection next hop IPv6, color, and prefix SID attributes carried in BGP Flow Specification routes received from a peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.1.1.1 as-number 200
[*HUAWEI-bgp] ipv4-family flow
[*HUAWEI-bgp-af-ipv4-flow] peer 10.1.1.1 enable
[*HUAWEI-bgp-af-ipv4-flow] peer 10.1.1.1 redirect tunnelv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >