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] bgp 100 [*HUAWEI-bgp] peer 1.1.1.1 as-number 100 [*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