<div dir="ltr"><div>Hi Rob,</div><div><br></div><div>Try the attached patch.</div><div><br></div><div>Regards,</div><div>Alexander</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 7, 2025 at 11:29 AM Rob Lister <<a href="mailto:rob@lonap.net" target="_blank">rob@lonap.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hello,<br>
<br>
I've enabled cli "/path/to/socket.ctl" { v2 attributes; } for backward <br>
compatibility, but<br>
it looks like some of the attributes are not displayed in the v2 format:<br>
<br>
(bgp_community and bgp_large_community)<br>
<br>
<br>
91.xxx.xxx.xxx/22 unicast [pb_as65001_vli19999_ipv4 2025-09-06 <br>
22:35:27] * (100) [AS65002i]<br>
via 5.57.82.xx on eth1<br>
Type: BGP univ<br>
BGP.origin: IGP<br>
BGP.as_path: 65001 65002<br>
BGP.next_hop: 5.57.82.xx<br>
BGP.local_pref: 100<br>
bgp_community: (65001,1) (65001,64702)<br>
bgp_large_community: (8330, 1000, 1) (8330, 1001, 1)<br>
<br>
<br>
BIRD 2 shows it as:<br>
<br>
BGP.community:<br>
BGP.large_community:<br>
<br>
<br>
I searched the code and it's in <br>
<a href="https://gitlab.nic.cz/labs/bird/-/blob/v3.1.3/proto/bgp/attrs.c" rel="noreferrer" target="_blank">https://gitlab.nic.cz/labs/bird/-/blob/v3.1.3/proto/bgp/attrs.c</a><br>
<br>
But I don't know any C, and it doesn't look like an "obvious" problem.<br>
<br>
But this file is more than 3000 lines of code. So I ran away and hid.<br>
<br>
<br>
Rob<br>
<br>
<br>
-- <br>
Rob Lister<br>
<a href="mailto:rob@lonap.net" target="_blank">rob@lonap.net</a><br>
+44 20 3137 8330<br>
</blockquote></div>