[quagga-users 12858] Re: route-maps being ignored

"André Gustavo N. Lopes" andre at ondacorp.com.br
Fri Apr 13 22:29:03 BST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

No one have some clue?
Should I may be post this on Dev List?

- -- 
André Gustavo N. Lopes

On 05/04/2012 11:59, "André Gustavo N. Lopes" wrote:
> Hi all,
> 
> I'm facing some issues dealing with route-maps and bgp. I'm trying
> to redistribute conected networks to ibgp, I have something like
> this:
> 
> router bgp NNNN bgp router-id 123.45.67.1 bgp log-neighbor-changes 
> network xxx.yyy.zzz.www/NN route-map EBGP_DIST ... redistribute
> connected metric 1010 route-map INTERFACES_REDISTRIBUTE_BGP ...
> 
> and the route-map
> 
> route-map INTERFACES_REDISTRIBUTE_BGP permit 10 match interface
> vlan111 ! route-map INTERFACES_REDISTRIBUTE_BGP permit 15 match
> interface vlan112 !
> 
> And the bad surprise...
> 
> # show ip bgp neighbors 123.45.67.2 advertised-routes ... Network
> Next Hop            Metric LocPrf Weight Path ... *>
> 123.45.48.246/32 123.45.67.1           1010    100  32768 ? *>
> 123.45.49.248/29 123.45.67.1           1010    100  32768 ? *>
> 123.45.55.128/28 123.45.67.1           1010    100  32768 ? VL111 
> *> 123.45.55.240/28 123.45.67.1           1010    100  32768 ?
> VL112 ...
> 
> Okay, I can see the networks of my VLAN111 and VLAN112 over
> there... but it seems the route-map is being ignored, since other
> routes are being sent with metric 1010 as well (only this
> redistribution / route-map changes the metric to 1010).
> 
> Another simtom is... if I remove some match interface... let's
> say, vlan112, the given network persists on advertised-routes.
> 
> Am I missing / messing something?
> 
> Thanks in advance,
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPiJqfAAoJED/ohHvKzwrPXI8H/2vbmRJ8TFIPLFFkCD12q3Ou
Me7RdgLwxlT9m7VlZfqGUlwLPN7qTjpIg1JL/AIFcqwWRsmw+oKDFeYAB7aSp6nV
EJ03eMGHeRsh5mAauY+/sMTyGPAQNon+XQVKiPePSt7xfQbCs9ssq0n+6DUNDNVM
J16WNE+h3f6+FMmg5una/M9aX6/RNc5zxiP6GAmG1spouetdbX7V66+TJXf799eJ
e4W/PTh8cBRd5Ds5opzljPkZB80874rZ88Rwp2POBffEke3AbYTeLX0pp1zvX8z7
tvAyqFOa0m5U7xZXZWwQFw1JHLej0t6jWMHtvtLqh/hTja3osjbVZCYJLDKHrmc=
=St/r
-----END PGP SIGNATURE-----


More information about the Quagga-users mailing list