mpls { interface at-0/0/1.2; } bgp { local-address 192.168.30.1; group rr-client { type internal; local-address 192.168.30.1; family inet-vpn { any; } cluster 192.168.30.1; neighbor 192.168.10.1; neighbor 192.168.20.1; neighbor 192.168.40.1; neighbor 192.168.50.1; neighbor 192.168.60.1; } } isis { level 2 wide-metrics-only; interface at-0/0/1.2; interface lo0.0; } ldp { interface at-0/0/1.2; interface lo0.0; } } policy-options { policy-statement vpn_a-import { term a { from community [ vpn_a vpn_a-im ]; then accept; } term b { then reject; } } policy-statement vpn_a-export { term a { from protocol direct; then { community add vpn_a; accept; } } term b { then reject; } } policy-statement vpn_b-import { term a { from community [ vpn_b-province-to-city vpn_b-r4-site1 vpn_a ]; then accept; } term b { then reject; } } policy-statement vpn_b-export { term a { from protocol direct; then { community add vpn_b-site1-to-province; community add vpn_a-im; accept; } } term b { then reject; } } community vpn_a members target:111:1; community vpn_a-im members target:111:2; community vpn_b members target:111:2; community vpn_b-province-to-city members target:222:1; community vpn_b-r4-site1 members target:222:304; community vpn_b-site1-to-province members target:222:3; } routing-instances {