peer advertise (BGP-EVPN address family view) (IPv6)

Function

The peer advertise command enables a device to advertise ND, IRBv6, ARP or IRB routes to a BGP EVPN peer.

The undo peer advertise command restores the default configuration.

By default, a device does not advertise ND, IRBv6, ARP or IRB routes to a BGP EVPN peer.

Format

peer peerIpv6Addr advertise { irb | arp }

peer peerIpv6Addr advertise { irbv6 | nd }

undo peer peerIpv6Addr advertise { irb | arp }

undo peer peerIpv6Addr advertise { irbv6 | nd }

Parameters

Parameter Description Value
peerIpv6Addr

Specifies the IPv6 address of a BGP EVPN peer.

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

irb

Configures a device to advertise IRB routes to its BGP EVPN peers.

-

arp

Configures a device to advertise ARP routes to its BGP EVPN peers.

-

irbv6

Configures a device to advertise IRBv6 routes to its BGP EVPN peers.

-

nd

Configures a device to advertise ND routes to its BGP EVPN peers.

-

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To allow a device to advertise ARP or IRB routes to its BGP EVPN peers, run the peer advertise command. This command allows VTEPs to establish VXLAN tunnels and implements ARP broadcast suppression on networks. If you specify irb, VTEPs can also transmit host routes.

If you specify nd or irbv6, the local device can advertise ND or IRBv6 routes to a BGP EVPN peer. After receiving the routes, the BGP EVPN peer generates a proxy table locally. After the BGP EVPN peer receives NS packets, it searches the local proxy table. If an entry is hit, the VXLAN gateway directly performs proxy ND or multicast-to-unicast processing.

Precautions

You cannot specify both arp and irb in the same BGP-EVPN address family view.

You cannot specify both nd and irbv6 in the same BGP-EVPN address family view.

Example

# Configure the advertisement of ND routes to an IPv6 BGP EVPN 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 nd
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >