peer upe

Function

The peer upe command specifies a BGP peer or peer group as underlayer provider edge (UPE) of hierarchy of VPN (HoVPN).

The undo peer upe command cancels the configuration.

By default, this function is disabled.

Format

peer { group-name | ipv4-address } upe

undo peer { group-name | ipv4-address } upe

Parameters

Parameter Description Value
group-name Specifies the name of the peer group. The name is a string of 1 to 47 characters without any space. It is case-sensitive.
ipv4-address Specifies the IPv4 address of a peer. -

Views

BGP-VPNv4 address family view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a UPE is specified on the SPE through 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 or peer group.

Precautions

After the peer upe command is configured, to send the default route 0.0.0.0 to the UPE, you need to run the peer default-originate vpn-instance command on the SPE.

Example

# Specify the peer 1.1.1.2 as UPE.

<sysname> system-view
[sysname] bgp 100
[sysname-bgp] peer 1.1.1.2 as-number 100
[sysname-bgp] ipv4-family vpnv4
[sysname-bgp-af-vpnv4] peer 1.1.1.2 enable
[sysname-bgp-af-vpnv4] peer 1.1.1.2 upe
Related Topics
peer route-policy
peer default-originate vpn-instance

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.