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.
peer { ipv4-address | group-name } import reoriginate
undo peer { ipv4-address | group-name } import reoriginate
Parameter | Description | Value |
---|---|---|
ipv4-address | Specifies the IPv4 address of a BGP EVPN peer. | The value is in dotted decimal notation. |
group-name | Specifies the name of a BGP EVPN 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. |
Usage Scenario
In a three-segment VXLAN scenario, by default, an edge node that connects to a carrier network does not re-encapsulate the routes received from BGP EVPN peers, causing the EVPN routes to be terminated on the edge node. As a result, the EVPN routes from one DC cannot be advertised to the BGP EVPN peers of another DC. To address this problem, run the peer import reoriginate command to enable the edge node to add a regeneration flag to the routes received from BGP EVPN peers. The edge node then re-encapsulates the EVPN routes received from one DC before sending them to another DC for inter-DC VM communication.
Prerequisites
A device has been enabled to exchange routes with a specified peer or peer group using the peer { group-name | ipv4-address } enable command.