peer advertise route-reoriginated (BGP-VPNv6 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 VPNv6 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 VPNv6 peer.

Format

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

peer peerIpv6Addr advertise route-reoriginated evpn ipv6

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

undo peer peerIpv6Addr advertise route-reoriginated evpn ipv6

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-ipv6

Re-encapsulates IRBv6 routes in received EVPN routes.

-

ipv6

Re-encapsulates IPv6 prefix routes in received EVPN routes.

-

peerIpv6Addr

Specifies the IPv6 address of a peer.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

Views

BGP-VPNv6 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 VPNv6 routes that carry the MPLS encapsulation attribute to the VPNv6 peer on the DCI backbone network.

Prerequisites

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

Example

# Configure a DCI-PE to advertise regenerated IRBv6 routes to a VPNv6 peer.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp] ipv6-family vpnv6
[*HUAWEI-bgp-af-vpnv6] peer 1.1.1.1 enable
[*HUAWEI-bgp-af-vpnv6] peer 1.1.1.1 advertise route-reoriginated evpn mac-ipv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >