The peer redirect ip command enables a device to process the BGP Flow Specification route or BGP VPN Flow Specification route's redirected next hop attribute configured using the apply redirect ip command run on a peer device.
The undo peer redirect ip command restores the default configuration.
By default, a device cannot process the BGP Flow Specification route or BGP VPN Flow Specification route's redirected next hop attribute configured using the apply redirect ip command run on a peer device.
Usage Scenario
To enable a local device to process the BGP Flow Specification route or BGP VPN Flow Specification route's redirected next hop attribute configured using the apply redirect ip command run on a peer device, run the peer redirect ip command.
Precautions
The device can process the BGP Flow Specification route or BGP VPN Flow Specification route's redirected next hop attribute locally configured using the apply redirect ip command.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance vpna [~HUAWEI-vpn-instance-vpna] ipv4-family [~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 100 [*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