R3303-HP HSR6800 Routers MPLS Configuration Guide

289
Ste
p
Command
2. Create a policy and enter policy routing view.
policy-based-route policy-name { deny | permit }
node node-number
3. Specify the VPN instances for forwarding
packets.
apply access-vpn vpn-instance
vpn-instance-name&<1-6>
4. Return to system view.
quit
5. Enter the view of the interface connecting a CE.
interface interface-type interface-number
6. Apply policy routing to the interface.
ip policy-based-route policy-name
Configuring a static route
For configuration steps, see "Configuring static routing between a PE and a CE"
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.
Before you configure HoVPN, complete basic MPLS L3VPN settings on UPE and SPE.
Do not connect 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.
To configure HoVPN:
Ste
p
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter BGP view.
bgp as-number N/A
3. Enter BGP-VPNv4 subaddress
family view.
ipv4-family vpnv4 N/A
4. Enable the exchange of
BGP-VPNv4 routing
information with a peer or
peer group.
peer { group-name | ip-address }
enable
N/A
5. Specify the BGP peer or peer
group as a UPE.
peer { group-name | ip-address }
upe
The default route of a VPN instance
can be advertised to only a BGP
peer or peer group that is UPE.