I have the following to apply to bgp group import policy. In my understanding and tests in the lab, any prefix with the community 456:* should be accepted, otherwise rejected.
set policy-options community com456 invert-match
set policy-options community com456 members 456:*
set policy-options policy-statement FromISP1 term 2 from community com456
set policy-options policy-statement FromISP1 term 2 then reject
The reason I am asking is what I am reading in one demo showing the prefix with the community 456:1234 is rejected. I thought it has some mistakes. But like to confirm with experienced folks.
thanks a lot !!