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

Function

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.

Format

peer ipv4-address redirect ip

undo peer ipv4-address redirect ip

Parameters

Parameter Description Value
ipv4-address

Specifies the IPv4 address of a BGP 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

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.

Example

# Enable a device to process the BGP VPN Flow Specification route's redirection next hop attribute configured using the apply redirect ip command on a peer device.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >