Configuring Multi-Role Host 1495ConfiguringMulti-Role HostTo allow a CE to access multiple VPNs at the same time, you need to configure themulti-role host feature on the PE.All configurations for the multi-role host feature are on the PE to which the CEsare attached.n For configuration and commands about policy routing, refer to “IP Unicast PolicyRouting Configuration” on page 639.ConfigurationPrerequisitesBefore configuring the multi-role host feature, complete these tasks:■ Creating VPN instances for the VPNs■ Configuring basic MPLS L3VPNConfiguring PolicyRoutingFollow these steps to configure policy routing:Applying Policy Routing Follow these steps to apply policy routing:Configuring a StaticRouteConfigure static routes between PEs and CEs. For detailed configuration steps,refer to “Configuring Route Advertisement between PE and CE” on page 1484.You can configure a private network static route on a PE, specifying the egress ofanother 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 onthe routing table that does not belong to the VPN.Configuring HoVPN For hierarchical VPNs, you can adopt HoVPN to reduce the performancerequirements for PEs.ConfigurationPrerequisitesBefore configuring HoVPN, complete these tasks:■ Configuring basic MPLS L3VPNConfiguring HoVPNs Follow these steps to configure HoVPN:To do... Use the command... RemarksEnter system view system-view -Create a policy node andenter policy routing viewpolicy-based-route policy-name { deny |permit } node node-number-Specify the VPN instances forforwarding packetsapply access-vpn vpn-instancevpn-instance-name&<1-6>RequiredTo do... Use the command... RemarksEnter system view system-view -Enter interface view for theinterface connected with CEsinterface interface-typeinterface-number-Apply policy routing on theinterfaceip policy-based-routepolicy-nameRequired