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 group.
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 group.
Parameter | Description | Value |
---|---|---|
peerGroupName |
Specifies the name of a VPNv4/VPNv6 peer group. |
The name is a string of 1 to 47 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
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. |
- |
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 group-name import reoriginate command.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 1.1.1.1 as-number 100 [*HUAWEI-bgp] group gp1 [*HUAWEI-bgp] ipv4-family vpnv4 [*HUAWEI-bgp-af-vpnv4] peer gp1 enable [*HUAWEI-bgp-af-vpnv4] peer 1.1.1.1 group gp1 [*HUAWEI-bgp-af-vpnv4] peer gp1 advertise route-reoriginated evpn mac-ip