peer upe (BGP-EVPN address family view)

Function

The peer upe command configures a BGP EVPN peer as the UPE.

The undo peer upe command restores the default configuration.

By default, no BGP EVPN peer is specified as the UPE.

Format

peer peerIpv4Addr upe

peer peerIpv6Addr upe

undo peer peerIpv4Addr upe

undo peer peerIpv6Addr upe

Parameters

Parameter Description Value
peerIpv4Addr

Specifies the IPv4 address of a peer.

It is in dotted decimal notation.

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-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In an EVPN HoVPN scenario, run the peer upe command to specify a device as a UPE. After a UPE is specified on the SPE using the peer upe command, the SPE does not send a specific route to the UPE. If the peer route-policy export command is run on the SPE to configure routing policies for the UPE and certain specific routes can pass the filtration of routing policies, these specific routes can be sent to the UPE.

After you run the peer upe command on an SPE to specify a device as a UPE, the SPE can change the next hops of routes received from the UPE to itself and reflect these routes to the NPE.

Prerequisites

A BGP EVPN peer has been created and the BGP-EVPN address family view has been enabled.

Example

# Specify the peer 2001:DB8:1::1 as UPE.
<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 upe
# Specify the peer 10.1.1.2 as UPE.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 10.1.1.2 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer 10.1.1.2 enable
[*HUAWEI-bgp-af-evpn] peer 10.1.1.2 upe
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >