233
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…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter BGP-VPNv4 subaddress
family view
ipv4-family vpnv4
Required
Enable the exchange of
BGP-VPNv4 routing information
with a peer
peer
{
group-name
|
ip-address
}
enable
Required
Specify a BGP peer or peer group
as the UPE
peer
{
group-name
|
ip-address
}
upe
Required
Advertise a default route destined
for a VPN instance to a UPE
peer
{
group-name
|
ip-address
}
default-route-advertise
vpn-instance
vpn-instance-name
Required
Configure either command.
By default, BGP does not
advertise default routes to a
VPNv4 peer.
Advertise routes permitted by a
specific routing policy to a UPE
peer
{
group-name
|
ip-address
}
upe
route-policy
route-policy-name
export
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.