bgp community loggin/export

lego12239 at yandex.ru lego12239 at yandex.ru
Thu Mar 8 07:37:34 CET 2012


On Thu, Mar 08, 2012 at 01:46:36AM +0200, Tapio Haapala wrote:
> 7.3.2012 13:10, Oleg kirjoitti:
> >On Wed, Mar 07, 2012 at 12:46:03PM +0200, Tapio Haapala wrote:
> >>Hello,
> >   Hello.
> >
> >>What is easiest or efficent way to get bgp commynity info out from
> >>bird? Our need is make some iptables forward rules for traffic
> >>accounting based by bgp communities. Can we get communities to
> >>syslog when advertisement comes or can we read current status of
> >>them with birdc?
> >   You can use print bgp_community in filters to print bgp_community
> >content into syslog.
> >
> 
> Can you give sample? I try and I get only commynity values but not
> prefixes where they affects.

  May be this is what you want:

  filter print_comm {
    print net,bgp_community;
  }




More information about the Bird-users mailing list