peer upe (BGP-VPNv4 address family view) (IPv6)

Function

The peer upe command specifies a BGP peer as UPE of HoVPN.

The undo peer upe command cancels the configuration.

By default, no BGP peer is specified as UPE of HoVPN.

Format

peer peerIpv6Addr upe

undo peer peerIpv6Addr upe

Parameters

Parameter Description Value
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-VPNv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

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

Before you run the peer upe command, the peer as-number command should be used to create a peer.

Precautions

You can configure the SPE to send the default route to the UPE in either of the following modes:

  • Route filtering mode: You can configure the default static route and routing policy to enable the SPE to send the default route to the UPE.
  • Command control mode: You can run the peer default-originate vpn-instance command to enable the SPE to automatically generate the default route and send it to the UPE.

Example

# Specify the peer 2001:db8::1 as UPE.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] peer 2001:db8::1 as-number 100
[*HUAWEI-bgp] ipv4-family vpnv4
[*HUAWEI-bgp-af-vpnv4] peer 2001:db8::1 enable
[*HUAWEI-bgp-af-vpnv4] peer 2001:db8::1 upe
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >