On Tue, Dec 23, 2014 at 05:44:01PM -0800, dave seddon wrote:
Greetings,
Sorry for the dumb question, but I'm trying to work out how to set the extended communities. Anybody know how to set the Link Bandwidth Extended communities? ...
Basically, need to set the community to: " This document defines a specific application of the two-octet AS specific extended community. IANA is requested to assign a sub- type value of 0x04 for the link bandwidth extended community.
Name Value ---- ----- non-transitive Link Bandwidth Ext. Community 0x4004 " ... e.g. export filter { bgp_ext_community.add((4, 65300, 999)); accept; }; ( Mostly stolen from this nice example: http://bird.mpls.in/projects/mpls-bird/wiki/Bird_pe/2 )
Hi Don't know if you use plain BIRD or one from bird.mpls.in, but "(4, 65300, 999)" is an invalid syntax. you should use: "(unknown 0x4004, 65300, 999)", which works for me (not tested in tcpdump, but at least i got the same back in show route). -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."