You can configure a private network static route on a PE, specifying the egress of another private network
or public network as the egress of the static route. Thus, packets from the multi-role host for accessing a
certain VPN can return based on the routing table that does not belong to the VPN.
Configuring HoVPN
For hierarchical VPNs, you can adopt HoVPN to reduce the performance requirements for PEs.
Configuration prerequisites
Before configuring HoVPN, complete the basic MPLS L3VPN configuration on UPE and SPE and use the
undo vpn l2vpn mix command to disable the MPLS L2VPN mix function.
Configuring HoVPNs
To configure HoVPN:
To do...
Enter system view
Enter BGP view
Enter BGP-VPNv4 subaddress
family view
Enable the exchange of
BGP-VPNv4 routing information
with a peer
Specify a BGP peer or peer group
as the UPE
Advertise a default route destined
for a VPN instance to a UPE
Advertise routes permitted by a
specific routing policy to a UPE
With the peer default-route-advertise vpn-instance command configured, the SPE always advertises a
default route using the local address as the next hop address to the UPE, regardless of whether the default
route is present in the local routing table or not.
NOTE:
The default routes of a VPN instance can be advertised to only a BGP peer or peer group that is UPE.
•
Do not configure both the peer default-route-advertise vpn-instance command and the peer upe
•
route-policy command.
HP does not recommend connecting an SPE to a CE directly. If an SPE must be directly connected to a
•
CE, the VPN instance on the SPE and that on the UPE must be configured with different RDs.
Use the command...
system-view
bgp as-number
ipv4-family vpnv4
peer { group-name | ip-address } enable
peer { group-name | ip-address } upe
peer { group-name | ip-address }
default-route-advertise vpn-instance
vpn-instance-name
peer { group-name | ip-address } upe
route-policy route-policy-name export
233
Remarks
—
—
Required
Required
Required
Required
Configure either command.
By default, BGP does not
advertise default routes to a
VPNv4 peer.