default bgp_med not working

Ondrej Zajicek santiago at crfreenet.org
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 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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20091119/f6338b05/attachment-0001.asc>


More information about the Bird-users mailing list