< Home

peer advertise

Function

The peer advertise command configures a device to advertise ARP, integrated routing and bridging (IRB), ND, or IRBv6 routes to its BGP EVPN peers.

The undo peer advertise command restores the default configurations.

By default, a device cannot advertise ARP, IRB, ND, or IRBv6 routes to its BGP EVPN peers.

Format

peer { ipv4-address | group-name } advertise { arp | irb }

undo peer { ipv4-address | group-name } advertise { arp | irb }

peer { ipv4-address | group-name } advertise { nd | irbv6 }

undo peer { ipv4-address | group-name } advertise { nd | irbv6 }

Parameters

Parameter Description Value

ipv4-address

Specifies the IPv4 address of a peer.

The value is in dotted decimal notation.

group-name

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

arp

Specifies the ARP routes to be advertised.

-

irb

Specifies the IRB routes to be advertised.

-

nd

Specifies the ND routes to be advertised.

-

irbv6

Specifies the IRBv6 routes to be advertised.

-

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the overlay network is an IPv4 network, 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 implements ARP broadcast suppression on networks. If you specify irb, VTEPs can also transmit host routes.

When the overlay network is an IPv6 network, to allow a device to advertise ND or IRBv6 routes to its BGP EVPN peers, run the peer advertise command. This command allows VTEPs to implements NS broadcast suppression on networks. If you specify irbv6, VTEPs can also transmit host routes.

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 a device to advertise ARP routes to its BGP EVPN peers.

<HUAWEI> system-view
[HUAWEI] bgp 100 
[HUAWEI-bgp] l2vpn-family evpn
[HUAWEI-bgp-af-evpn] peer 1.1.1.1 advertise arp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >