default bgp_med not working

Ondrej Zajicek santiago at
Thu Nov 19 10:32:50 CET 2009

On Thu, Nov 19, 2009 at 08:40:44AM +0100, Wolfgang Hennerbichler wrote:
> Hi Birdies, 

> I've got a good reason to belive that the option 'default bgp_med' is
> not working (at all), at least in my setup. I do something like this in
> a filter: 
> => those void's are disturbing, aren't they?

> Even adding the option default bg_med 10 doesn't change the bgp
> metric. So I guess I found a bug? I could only work around it by setting
> the bgp_med in the import filter. 

default bgp_med works, but in a slightly different way that you expect.
It does not mean that it sets bgp_med attribute to that value, it just
means that if two BGP routes are compared according to bgp_med than
this value is used if one route does not have a bgp_med atrribute.

(void) value just means that the route does not have bgp_med attribute.

Usual way to set bgp_med attribute is to set it in the export filter.

Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3,
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <>

More information about the Bird-users mailing list