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

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.

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.

Format

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

peer peerIpv4Addr advertise route-reoriginated evpn ip

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

peer peerIpv6Addr advertise route-reoriginated vpnv4

peer peerIpv6Addr advertise route-reoriginated vpnv6

peer peerIpv6Addr advertise route-reoriginated evpn ip

peer peerIpv6Addr advertise route-reoriginated evpn ipv6

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

undo peer peerIpv4Addr advertise route-reoriginated evpn ip

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

undo peer peerIpv6Addr advertise route-reoriginated vpnv4

undo peer peerIpv6Addr advertise route-reoriginated vpnv6

undo peer peerIpv6Addr advertise route-reoriginated evpn ipv6

undo peer peerIpv6Addr advertise route-reoriginated evpn ip

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IPv4 address of a peer.

It is in dotted decimal notation.

evpn

Re-encapsulates the 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.

-

peerIpv6Addr

Specifies the IPv6 address of a peer.

The prefix 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

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.

    In a scenario where an EVPN L3VPN over SRv6 interworks with a common L3VPN over MPLS, border leaves must be configured with the function to re-originate SRv6-encapsulated EVPN routes and advertise these EVPN routes to a BGP EVPN IPv6 peer upon receipt of VPNv4/VPNv6 routes carrying the MPLS encapsulation attribute.

Prerequisites

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

Example

# Configure the border leaf to send the EVPN IPv6 routes that are re-originated to the BGP EVPN IPv6 peer.
<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 advertise route-reoriginated evpn ipv6
# Configure the border leaf to send the VPNv4 routes that are re-originated to the BGP EVPN IPv6 peer.
<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 advertise route-reoriginated vpnv4
# Configure the DCI-PE to send the MAC routes that are regenerated to a BGP EVPN peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2.2.2.2 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 2.2.2.2 enable
[*HUAWEI-bgp-af-evpn] peer 2.2.2.2 advertise route-reoriginated evpn mac
# Configure the DCI-PE to send the VPNv6 routes that are regenerated to a BGP EVPN peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 3.3.3.3 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 3.3.3.3 enable
[*HUAWEI-bgp-af-evpn] peer 3.3.3.3 advertise route-reoriginated vpnv6
# Configure the DCI-PE to send the VPNv4 routes that are regenerated to a BGP EVPN peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 3.3.3.3 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 3.3.3.3 enable
[*HUAWEI-bgp-af-evpn] peer 3.3.3.3 advertise route-reoriginated vpnv4
# Configure the border leaf to send the EVPN IP routes that are re-originated to the BGP EVPN IPv6 peer.
<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 advertise route-reoriginated evpn ip
# Configure the DCI-PE to send the ARP routes that are regenerated to a BGP EVPN peer.
<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 advertise route-reoriginated evpn mac-ip
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >