Hi@Jarek,
I have done it, however when i applied this rule it mark all prefix from /20 to /32 as local-preference 750, in case i belive that i should create a rule blocking /25 like "nlri any/25;" comming into ASN 56789 and so, apply another policy setting up local-preference, because i'm looking that Prefix Range doesn't work as should.
So, i applied the rule like below to work as i wish.
entry bgp_filter-0 {
if match any {
nlri any/25 ;
as-path "^56789$";
}
then {
deny;
}
}
entry bgp_filter-3 {
if match any {
as-path "^56789$";
}
then {
local-preference 750;
}
}
and the next rule are the same.
Is prefix range working as hope? It is my doubts.