R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

326
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer test route-policy test-policy import
peer upe
Use peer upe to configure a BGP peer or peer group as an HoVPN UPE for a BGP-VPNv4 subaddress
family.
Use undo peer upe to remove the configuration.
Syntax
peer { group-name | ip-address } upe
undo peer { group-name | ip-address } upe
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: IP address of the peer.
Usage guidelines
UPE is a kind of special VPNv4 peer. It accepts only one default route for each related VPN instance on
an SPE and routes from SPEs that are permitted by the routing policy. An SPE is a common VPN peer.
Examples
# C o n f i g u r e p e e r 1.1.1.1 a s a U P E.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 upe
peer upe route-policy
Use peer upe route-policy to specify to advertise routes permitted by a routing policy to UPEs.
Use undo peer upe route-policy to restore the default.
Syntax
peer { group-name | ip-address } upe route-policy route-policy-name export
undo peer { group-name | ip-address } upe route-policy route-policy-name export
Default
No routes are advertised to peers.
Views
BGP-VPNv4 subaddress family view