< Home

peer upe

Function

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

The undo peer upe command cancels the configuration.

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 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
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.

Prerequisites

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

Precautions

The BGP peer relationship is interrupted after you run the peer upe command. So, confirm the action before you use the command.

Follow-up Procedure

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.

<HUAWEI> system-view
[HUAWEI] bgp 100
[HUAWEI-bgp] peer 1.1.1.2 as-number 100
[HUAWEI-bgp] ipv4-family vpnv4
[HUAWEI-bgp-af-vpnv4] peer 1.1.1.2 enable
[HUAWEI-bgp-af-vpnv4] peer 1.1.1.2 upe
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >