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

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 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 VPNv6 peer group.

Format

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

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

Parameters

Parameter Description Value
peerGroupName

Specifies the name of a 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-ipv6

Re-encapsulates IRBv6 routes in received EVPN routes.

-

ipv6

Re-encapsulates IPv6 prefix routes in received EVPN routes.

-

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 group 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 re-originated IPv6 prefix routes to a VPNv6 peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2.2.2.2 as-number 100
[*HUAWEI-bgp] group gp1
[*HUAWEI-bgp] ipv6-family vpnv6
[*HUAWEI-bgp-af-vpnv6] peer gp1 enable
[*HUAWEI-bgp-af-vpnv6] peer 2.2.2.2 group gp1
[*HUAWEI-bgp-af-vpnv6] peer gp1 advertise route-reoriginated evpn ipv6
# Configure a DCI-PE to advertise re-originated IRBv6 routes to a VPNv6 peer group.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp] group gp1
[*HUAWEI-bgp] ipv6-family vpnv6
[*HUAWEI-bgp-af-vpnv6] peer gp1 enable
[*HUAWEI-bgp-af-vpnv6] peer 1.1.1.1 group gp1
[*HUAWEI-bgp-af-vpnv6] peer gp1 advertise route-reoriginated evpn mac-ipv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >