peer advertise route-reoriginated (BGP-VPNv4 address family view)

Function

The peer advertise route-reoriginated command configures a device to send the routes that are regenerated in the EVPN address family to a VPNv4 peer.

The undo peer advertise route-reoriginated command restores the default configuration.

By default, a device does not send the routes that are regenerated in the EVPN address family to a VPNv4 peer.

Format

peer peerIpv4Addr advertise route-reoriginated evpn { mac-ip | ip }

undo peer peerIpv4Addr advertise route-reoriginated evpn { mac-ip | ip }

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IPv4 address of a VPNv4/VPNv6 peer.

The value is in dotted decimal notation.

evpn

Re-encapsulates received EVPN routes.

-

mac-ip

Re-encapsulates IRB routes in received EVPN routes.

-

ip

Re-encapsulates IP prefix routes in received EVPN routes.

-

Views

BGP-VPNv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

A DCI is a solution for communication between DCs. In the DCI solution, after the EVPN routes that are received from the DC side and carry the VXLAN encapsulation attribute are regenerated on the DCI-PE, the DCI-PE advertises VPNv4 routes that carry the MPLS encapsulation attribute to the VPNv4 peer on the DCI backbone network.

Prerequisites

EVPN route regeneration has been enabled using the peer import reoriginate command.

Example

# Configure the DCI-PE to send the IRB routes that are regenerated to a VPNv4 peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp] ipv4-family vpnv4
[*HUAWEI-bgp-af-vpnv4] peer 1.1.1.1 enable
[*HUAWEI-bgp-af-vpnv4] peer 1.1.1.1 advertise route-reoriginated evpn mac-ip
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >