peer redirect ip validation-disable

Function

The peer redirect ip 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 redirect ip validation-disable

undo peer ipv4-address redirect ip validation-disable

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a peer.

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

By default, a device validates the routes that carry a redirection extended community attribute and are received from EBGP peers. To disable such route validation, run the peer redirect ip validation-disable command.

To verify the next hop address for redirection, check whether the redirection next hop received from the BGP Flow Specification peer exists in the routes received by the IPv4 address family peer. If the next hop exists in the routes and the IPv4 address family peer is the same as the BGP Flow Specification peer, the next hop address is verified.

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 1.1.1.1 as-number 200
[*HUAWEI-bgp] ipv4-family flow
[*HUAWEI-af-ipv4-flow] peer 1.1.1.1 enable
[*HUAWEI-af-ipv4-flow] peer 1.1.1.1 redirect ip validation-disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >