Header Only - DO NOT REMOVE - Extreme Networks

BGP policy match no communities


In a BGP routing policy, I need to match NLRIs that explicitly have no community attribute(s).

none of these seem to work, the latter two generating syntax errors:

community "^$";
community "";
community ;

3 replies

Userlevel 3
Hi Dave,

It looks to be a bug. Can you please check the below article?

https://gtacknowledge.extremenetworks.com/articles/Solution/BGP-route-policy-performs-improper-commu...

https://gtacknowledge.extremenetworks.com/articles/Solution/policy-does-not-allow-regular-expression...

Which version are you in?

Regards,
Karthikeyan
16.1.4.2 patch 1-10

I've also discovered community ".+" doesn't seem to work either.
Also not working in 16.2.3.5 patch 1-13

In this case the policy checks and refreshes, it just doesn't actually work.

rtr.wmtn.24 # ch pol x Policy file check successful. rtr.wmtn.25 # ref pol x Policy x refresh done! rtr.wmtn.26 # sho bgp nei x.x.x.x accepted-routes al output not consistent with the policy is shown.[/code]

Reply