peer import reoriginate (BGP-EVPN address family view)

Function

The peer import reoriginate command enables a device to add a regeneration flag to the routes received from BGP EVPN peers.

The undo peer import reoriginate command restores the default configuration.

By default, a device does not add a regeneration flag to the routes received from BGP EVPN peers.

Format

peer peerIpv4Addr import reoriginate

peer peerIpv6Addr import reoriginate

undo peer peerIpv4Addr import reoriginate

undo peer peerIpv6Addr import reoriginate

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IPv4 address of a BGP EVPN peer.

The value is in dotted decimal notation.

peerIpv6Addr

Specifies the IPv6 address of a BGP EVPN peer. This parameter applies only to the BGP-EVPN address family view.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

BGP-EVPN 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 EVPN 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 EVPN routes, run the peer import reoriginate command to enable the function to add the regeneration flag to the routes received from the peer.

In an EVPN L3VPN over SRv6 interworking with common L3VPN over MPLS scenario, border leaves must be configured with the function to re-originate MPLS-encapsulated VPNv4/VPNv6 routes upon receipt of EVPN routes carrying the SRv6 encapsulation attribute. In this case, the function to re-originate the EVPN routes received by the local device from a BGP EVPN IPv6 peer must be enabled.

Prerequisites

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

Example

# Configure the device to re-originate the routes received from a BGP EVPN IPv6 peer in the BGP-EVPN address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:db8:1::1 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 2001:db8:1::1 enable
[*HUAWEI-bgp-af-evpn] peer 2001:db8:1::1 import reoriginate
# Configure the device to add the regeneration flag to the routes to be received from a BGP EVPN peer in the BGP-EVPN address family view.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 1.1.1.1 enable
[*HUAWEI-bgp-af-evpn] peer 1.1.1.1 import reoriginate
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >