The peer upe command specifies a BGP peer group as UPE of HoVPN.
The undo peer upe command cancels the configuration.
By default, no BGP peer or peer group is specified as UPE of HoVPN.
Usage Scenario
In an 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
Before you run the peer upe command, the peer as-number command should be used to create a peer group.
Precautions
After you run the peer upe command on an SPE to specify a device as a UPE, run the ip route-static vpn-instance command to configure a default route on the SPE and run the network or import-route static command in the BGP VPN instance IPv4 address family view to import the default route to the IPv4 VPN instance routing table, so that the SPE can advertise the default route 0.0.0.0 to the UPE.
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.