Hi Gosain:
Also, could you also explain what type of RTs are you intending to match with:set policy-options community cloud-customers members "target:^490:...."
Gosain : RT are in range of 490:25xx to 490:35xx specified as vlan ids .
Can you try with a regexp like the following?
[edit policy-options community cloud-customers]
root@cr8# show
members "target:490:[2-3]5.*";
Please make sure that ^ is removed from your regexp, it is originally intended to match the beginning of the complete community attribute, not a particular field. The ":" character is actually your delimiter among fields.
tried to change the community from regexp to single community e.g target:490:2522 ... and accep the polcy only with cloud customer ( without term last reject and without term orgin-in AS )
still does same things . advertising the all the routes to ISP PEER and not the 490:2522 specific routes only .
If I understand correctly, I believe that the issue here is that you have a single accepting term in the eBGP export policy, but still the default BGP policy to advertise routes applies in the end because there is no final reject.
Thanks,
Gonzalo