print and bgp_large_community

Robert Sander r.sander at
Tue Jan 24 14:27:11 CET 2017

On 24.01.2017 14:19, Ondrej Zajicek wrote:
> On Tue, Jan 24, 2017 at 02:02:39PM +0100, Robert Sander wrote:
>> Hi,
>> I need to print the bgp_large_community for debugging purposes but all I
>> get is the output "(lclist )".
> How are you using it?

In a function in a filter like this:

print bgp_community;
print bgp_large_community;

Self defined variables like "lc set test" can be printed with

print test;

without issues.

Wait a minute. If I only get "(lclist )" does that mean the
community list is empty?
When I have a look at the route from the CLI I get this:

BIRD 1.6.3 ready.     via on br0.17 [ospf1 23:01:29] * E2 (1000/1000/10000) []
	Type: OSPF-E2 unicast univ
	OSPF.metric1: 1000
	OSPF.metric2: 10000
	OSPF.tag: 0x00000000
                   unreachable [static_bgp 23:15:16] (10)
	Type: static unicast univ
	BGP.large_community: (199118, 1, 0)

The route is in a static protocol on this router and on,
which propagates this via OSPF.

Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG: 
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the Bird-users mailing list