peer advertise route-reoriginated (BGP-EVPN address family view) (group)

Function

The peer advertise route-reoriginated command configures a device to send the routes that are regenerated in the EVPN or VPNv4/v6 address family to a BGP EVPN 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 or VPNv4/v6 address family to a BGP EVPN peer group.

Format

peer peerGroupName advertise route-reoriginated { evpn { mac-ip | mac } | vpnv4 }

peer peerGroupName advertise route-reoriginated evpn ip

peer peerGroupName advertise route-reoriginated { evpn { mac-ipv6 | ipv6 } | vpnv6 }

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

undo peer peerGroupName advertise route-reoriginated evpn ip

undo peer peerGroupName advertise route-reoriginated { evpn { mac-ipv6 | ipv6 } | vpnv6 }

Parameters

Parameter Description Value
peerGroupName

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.

evpn

Re-encapsulates received EVPN routes.

-

mac-ip

Re-encapsulates the IRB or ARP routes in received EVPN routes.

-

mac

Re-encapsulates MAC routes in received EVPN routes.

-

vpnv4

Re-encapsulates received VPNv4 routes.

-

ip

Re-encapsulates received prefix routes.

-

mac-ipv6

Re-encapsulates the IRBv6 or ND routes in received EVPN routes.

-

ipv6

Re-encapsulates received IPv6 prefix routes.

-

vpnv6

Re-encapsulates received VPNv6 routes.

-

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

Data Center Interconnection (DCI) provides solutions used to interconnect data centers. In DCI solutions, each DCI-PE re-encapsulates received EVPN or VPNv4/v6 routes before sending them to its peers.

  • 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 EVPN routes that carry the MPLS encapsulation attribute to the BGP EVPN peer on the DCI backbone network.
  • After the EVPN/VPNv4/VPNv6 routes that are received from the BGP EVPN/VPNv4/VPNv6 peer on the DCI backbone network and carry the MPLS encapsulation attribute are regenerated on the local DCI-PE, the local DCI-PE advertises EVPN routes that carry the VXLAN encapsulation attribute to the DC side.

Prerequisites

Route information exchange has been enabled between the local device and a specified peer group using the peer enable command.

Example

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