peer redirect ip validation-disable (BGP-Flow VPN instance IPv4 address family view)

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 VPN instance IPv4 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 VPN peer.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >