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.
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.<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [~HUAWEI-vpn-instance-vpna] ipv4-family [~HUAWEI-vpn-instance-vpna] route-distinguisher 160:1 [*HUAWEI-vpn-instance-vpna-af-ipv4] quit [*HUAWEI-vpn-instance-vpna] quit [*HUAWEI] bgp 100 [*HUAWEI-bgp] vpn-instance vpna [*HUAWEI-bgp-instance-vpna] peer 1.1.1.1 as-number 200 [*HUAWEI-bgp-instance-vpna] quit [*HUAWEI-bgp] ipv4-flow vpn-instance vpna [*HUAWEI-bgp-flow-vpna] peer 1.1.1.1 enable [*HUAWEI-bgp-flow-vpna] peer 1.1.1.1 redirect ip validation-disable