[j-nsp] Matching communities in 'show route receive-protocol bgp' command

Alexander Shikoff minotaur at crete.org.ua
Wed Jul 6 12:33:42 EDT 2011


On Wed, Jul 06, 2011 at 10:28:07AM -0600, Stacy W. Smith wrote:
> OK. Thanks for the additional details. That allows me to replicate the behavior you are seeing.
> 
> It seems the 'community' argument to 'show route' always evaluates post import policy even when 'receive-protocol' is specified.
[...]
> I suspect this is because each argument to 'show route' is evaluated independently. I'm not aware of a way to change this behavior.
Hmmm... Now I'm wondering is that a bug or feature? :)
 
> Would it be acceptable to change your import policies to use 'community add' rather than 'community set'? That would be a potential workaround.
Yes, of course. I guess I'll use that workaround.
Thanks a lot for quick help!

-- 
MINO-RIPE


More information about the juniper-nsp mailing list