![H3C S9500 Series Command Manual Download Page 313](http://html.mh-extra.com/html/h3c/s9500-series/s9500-series_command-manual_575036313.webp)
Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-50
Description
Use the
peer upe
command to configure a BGP peer or peer group as an HoVPN UPE
for a BGP-VPNv4 subaddress family.
Use the
undo peer upe
command to remove the configuration.
UPE is a kind of special VPNv4 peer. It accepts only one default route for each related
VPN instance on an SPE, rather than common VPNv4 routes. An SPE is a common
VPN peer.
Examples
# Configure peer 1.1.1.1 as a UPE.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 upe
1.1.42 policy vpn-target
Syntax
policy vpn-target
undo policy vpn-target
View
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address
family view
Default Level
2: System level
Parameters
None
Description
Use the
policy vpn-target
command to enable VPN target filtering for received VPNv4
routes.
Use the
undo policy vpn-target
command to disable the filtering, permitting all VPNv4
routes.
Only VPNv4 routes with export route target attributes matching the local import route
target attributes are added into the routing table.
By default, the VPN target filtering function is enabled for received VPNv4 routes.