Please find configuration :
ip vpn-instance vpn_main
route-distinguisher 100:1
vpn-target 100:1 1002:1 export-extcommunity
vpn-target 100:1 1002:1 import-extcommunity
#
ip vpn-instance vpn_CustomerA
route-distinguisher 1002:1
vpn-target 1002:1 100:1 export-extcommunity
vpn-target 1002:1 100:1 import-extcommunity
acl number 3012 name ACL-PBR
step 10
rule 20 permit icmp vpn-instance vpn_main source 10.3.224.0 0.0.15.255
rule 30 permit ip vpn-instance vpn_main source 10.3.224.0 0.0.15.255
policy-based-route PBR permit node 5
if-match acl 3012
apply ip-address next-hop 10.0.5.27
interface Vlan-interface100
ip binding vpn-instance vpn_main
ip address 10.0.0.252 255.255.255.0
ip policy-based-route PBR
interface Vlan-interface1002
ip binding vpn-instance vpn_CustomerA
ip address 10.0.5.25 255.255.255.248
bgp 65001
undo synchronization
#
ipv4-family vpn-instance vpn_main
import-route direct
#
ipv4-family vpn-instance vpn_CustomerA
import-route direct
the ip-routing table for vpn_main :
Routing Tables: vpn_main
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost NextHop Interface
0.0.0.0/0 Static 60 0 10.0.0.254 Vlan100
10.0.0.0/24 Direct 0 0 10.0.0.252 Vlan100
10.0.0.252/32 Direct 0 0 127.0.0.1 InLoop0
10.0.5.24/29 BGP 130 0 10.0.5.25 Vlan1002
10.0.5.25/32 BGP 130 0 127.0.0.1 InLoop0
10.3.0.0/16 BGP 255 10 10.0.0.204 Vlan100
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
the ip-routing table for vpn_CustomerA :
Routing Tables: vpn_CustomerA
Destinations : 30 Routes : 30
Destination/Mask Proto Pre Cost NextHop Interface
10.0.0.0/24 BGP 130 10 10.0.0.252 Vlan100
10.0.0.252/32 BGP 130 10 127.0.0.1 InLoop0
10.0.5.24/29 Direct 0 0 10.0.5.25 Vlan1002
10.0.5.25/32 Direct 0 0 127.0.0.1 InLoop0
10.3.0.0/16 BGP 255 10 10.0.0.204 Vlan100
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0