peer redirect ipv6 validation-disable

Function

peer redirect ipv6 validation-disable command disables a device from validating the routes that carry a redirection extended community attribute and are received from a specified EBGP peer.

The undo peer redirect ip validation-disable command restores the default configuration.

By default, a device validates such routes.

Format

peer { ipv4-address | ipv6-address } redirect ipv6 validation-disable

undo peer { ipv4-address | ipv6-address } redirect ipv6 validation-disable

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.

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

After a device receives a route carrying the redirection next hop attribute from an EBGP peer, the device checks the validity of the next hop attribute by default. If you do not need to verify the validity of the next hop, you can run the peer redirect ipv6 validation-disable command to disable the verification function.

The rule for verifying the validity of the IPv6 next hop address for redirection is as follows: The device checks whether the redirected next hop address received from the BGP IPv6 Flow Specification peer exists in the routes received from the IPv6 address family peer. If the peer exists and the IPv6 address family peer is the same as the BGP IPv6 Flow Specification peer, the authentication succeeds.

Example

# Disable a device from validating the routes that carry a redirection extended community attribute and are received from a specified EBGP peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:DB8:1::1 as-number 200
[*HUAWEI-bgp] ipv6-family flow
[*HUAWEI-af-ipv6-flow] peer 2001:DB8:1::1 enable
[*HUAWEI-af-ipv6-flow] peer 2001:DB8:1::1 redirect ipv6 validation-disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >