default bgp_med not working

Wolfgang Hennerbichler wh at
Thu Nov 19 11:00:39 CET 2009

On Nov 19, 2009, at 10:32 , Ondrej Zajicek wrote:

> 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.

ah, allright, got it, thanks a lot for the quick answer. 

> -- 
> 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."

-- |
wh at | WH844-RIPE
Vienna University Computer Center

More information about the Bird-users mailing list