print and bgp_large_community

Robert Sander r.sander at heinlein-support.de
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.
80.241.56.0/21     via 10.25.17.251 on br0.17 [ospf1 23:01:29] * E2 (1000/1000/10000) [80.241.60.13]
	Type: OSPF-E2 unicast univ
	OSPF.metric1: 1000
	OSPF.metric2: 10000
	OSPF.tag: 0x00000000
	OSPF.router_id: 80.241.60.13
                   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 80.241.60.13,
which propagates this via OSPF.

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

http://www.heinlein-support.de

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: <http://trubka.network.cz/pipermail/bird-users/attachments/20170124/ec94721a/attachment.asc>


More information about the Bird-users mailing list