peer import reoriginate (BGP-VPNv4 address family view)

Function

The peer import reoriginate command enables the function to add the regeneration flag to the routes received from the peer.

The undo peer import reoriginate command restores the default configuration.

By default, the local device does not add the regeneration flag to the routes received from the peer.

Format

peer peerIpv4Addr import reoriginate

undo peer peerIpv4Addr import reoriginate

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IPv4 address of a BGP peer.

The value is in dotted decimal notation.

Views

BGP-VPNv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In the data center interconnect (DCI) solution, DCI-PE adds the regeneration flag to the received VPNv4 routes before sending the routes to the peer. By default, the function to add the regeneration flag to the routes received from the peer is disabled. Specifically, DCI-PE does not re-encapsulate the routes received from the peer. Therefore, to allow DCI-PE to re-encapsulate the VPNv4 routes, run the peer import reoriginate command to enable the function to add the regeneration flag to the routes received from the peer.

Prerequisites

Route exchange with a specified peer has been enabled using the peer peer-address enable command.

Example

# Configure the device to add the regeneration flag to the routes to be received from a BGP VPNv4 peer in the BGP-VPNv4 address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.2.2.2 as-number 100
[*HUAWEI-bgp] ipv4-family vpnv4
[*HUAWEI-bgp-af-vpnv4] peer 10.2.2.2 enable
[*HUAWEI-bgp-af-vpnv4] peer 10.2.2.2 import reoriginate
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >